Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / include / gsm-api.h
index be82e64..fefca54 100644 (file)
   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)
    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"
 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. */