X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fgsm-api.h;h=fefca54024dc4a83e912abee9b384aad42aa75fa;hp=84a828a41a640cb72a2374a5f6a564d09a05b667;hb=49dd905279a8e62936e3713510ab0fd738e20ecb;hpb=4ee1266711b695852ec88f06784fd84400cd70bb diff --git a/include/gsm-api.h b/include/gsm-api.h index 84a828a..fefca54 100644 --- a/include/gsm-api.h +++ b/include/gsm-api.h @@ -14,8 +14,8 @@ the handset interface. See gsm-api.c for more details. $Log$ - Revision 1.1.1.1 2001/11/25 21:59:19 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001 + 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) @@ -45,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. */