7 A Linux/Unix toolset and driver for Nokia mobile phones.
9 Copyright (C) 1999, 2000 Hugh Blemings & Pavel JanÃk ml.
11 Released under the terms of the GNU GPL, see file COPYING for more details.
13 Header file for the various functions, definitions etc. used to implement
14 the handset interface. See gsm-api.c for more details.
17 Revision 1.1.1.1 2001/11/25 21:59:19 short
18 :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
20 Revision 1.14 2001/06/28 00:28:45 pkot
21 Small docs updates (Pawel Kot)
29 /* If gsm-common.h isn't included at this point, little in this file will make
30 sense so we include it here if required. */
32 #ifndef __gsm_common_h
33 #include "gsm-common.h"
36 /* Ditto rlp_common.h... */
37 #ifndef __data_rlp_common_h
38 #include "data/rlp-common.h"
41 #include "gsm-statemachine.h"
43 /* Define these as externs so that app code can pick them up. */
45 extern bool *GSM_LinkOK;
46 extern GSM_Information *GSM_Info;
47 extern GSM_Functions *GSM;
48 extern GSM_Error (*GSM_F)(GSM_Operation op, GSM_Data *data, GSM_Statemachine *state);
50 /* Prototype for the functions actually provided by gsm-api.c. */
52 GSM_Error GSM_Initialise(char *model, char *device, char *initlength, GSM_ConnectionType connection, void (*rlp_handler)(RLP_F96Frame *frame), GSM_Statemachine *sm);
54 /* All the rest of the API functions are contained in the GSM_Function
55 structure which ultimately points into the model specific code. */
57 #endif /* __gsm_api_h */