X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fgsm-api.h;h=fefca54024dc4a83e912abee9b384aad42aa75fa;hp=be82e64d5b73b6f3f917a4f850ff650971da4b74;hb=HEAD;hpb=3ffd063073b4fe33d61c74b767c93833dc5bd8e5 diff --git a/include/gsm-api.h b/include/gsm-api.h index be82e64..fefca54 100644 --- a/include/gsm-api.h +++ b/include/gsm-api.h @@ -14,11 +14,8 @@ the handset interface. See gsm-api.c for more details. $Log$ - Revision 1.1.1.2 2001/11/27 22:01:26 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 - - Revision 1.15 2001/11/27 12:19:01 pkot - Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me) + Revision 1.1.1.6 2002/04/03 00:08:17 short + Found in "gnokii-working" directory, some November-patches version Revision 1.14 2001/06/28 00:28:45 pkot Small docs updates (Pawel Kot) @@ -33,12 +30,12 @@ sense so we include it here if required. */ #ifndef __gsm_common_h -# include "gsm-common.h" + #include "gsm-common.h" #endif /* Ditto rlp_common.h... */ #ifndef __data_rlp_common_h -# include "data/rlp-common.h" + #include "data/rlp-common.h" #endif #include "gsm-statemachine.h" @@ -48,11 +45,13 @@ extern bool *GSM_LinkOK; extern GSM_Information *GSM_Info; extern GSM_Functions *GSM; -extern GSM_Error (*GSM_F)(GSM_Operation op, GSM_Data *data, GSM_Statemachine *state); + +/* Ugly compatibility cludge: */ +extern GSM_Error compat_Phone_Functions(GSM_Operation op, GSM_Data *data, GSM_Statemachine *state); /* Prototype for the functions actually provided by gsm-api.c. */ -GSM_Error GSM_Initialise(char *model, char *device, char *initlength, GSM_ConnectionType connection, void (*rlp_handler)(RLP_F96Frame *frame), GSM_Statemachine *sm); +extern GSM_Error GSM_Initialise(char *model, char *device, char *initlength, GSM_ConnectionType connection, void (*rlp_handler)(RLP_F96Frame *frame), GSM_Statemachine *sm); /* All the rest of the API functions are contained in the GSM_Function structure which ultimately points into the model specific code. */