/* Undefined functions in fbus/mbus files */
extern GSM_Error Unimplemented(void);
#define UNIMPLEMENTED (void *) Unimplemented
extern GSM_Error NotSupported(void);
#define NOTSUPPORTED (void *) NotSupported
/* Undefined functions in fbus/mbus files */
extern GSM_Error Unimplemented(void);
#define UNIMPLEMENTED (void *) Unimplemented
extern GSM_Error NotSupported(void);
#define NOTSUPPORTED (void *) NotSupported
/* Define the structure used to hold pointers to the various API functions.
This is in effect the master list of functions provided by the gnokii API.
Modules containing the model specific code each contain one of these
/* Define the structure used to hold pointers to the various API functions.
This is in effect the master list of functions provided by the gnokii API.
Modules containing the model specific code each contain one of these
-unsigned char Current_IMEI[GSM_MAX_IMEI_LENGTH];
-unsigned char Current_Revision[GSM_MAX_REVISION_LENGTH];
-unsigned char Current_Model[GSM_MAX_MODEL_LENGTH];
+extern unsigned char Current_IMEI[GSM_MAX_IMEI_LENGTH];
+extern unsigned char Current_Revision[GSM_MAX_REVISION_LENGTH];
+extern unsigned char Current_Model[GSM_MAX_MODEL_LENGTH];
-GSM_SMSMessage *CurrentSMSMessage;
-GSM_Error CurrentSMSMessageError;
-int CurrentSMSPointer;
+#ifndef UCLINUX
+extern GSM_SMSMessage *CurrentSMSMessage;
+extern GSM_Error CurrentSMSMessageError;
+extern int CurrentSMSPointer;
-GSM_SMSFolders *CurrentSMSFolders;
-GSM_Error CurrentSMSFoldersError;
-int CurrentSMSFoldersCount;
+extern GSM_SMSFolders *CurrentSMSFolders;
+extern GSM_Error CurrentSMSFoldersError;
+extern int CurrentSMSFoldersCount;
-GSM_OneSMSFolder CurrentSMSFolder;
-GSM_Error CurrentSMSFolderError;
-int CurrentSMSFolderID;
+extern GSM_OneSMSFolder CurrentSMSFolder;
+extern GSM_Error CurrentSMSFolderError;
+extern int CurrentSMSFolderID;
+#endif /* UCLINUX */
-int *CurrentSecurityCodeStatus;
-GSM_Error CurrentSecurityCodeError;
-GSM_SecurityCode *CurrentSecurityCode;
+extern int *CurrentSecurityCodeStatus;
+extern GSM_Error CurrentSecurityCodeError;
+extern GSM_SecurityCode *CurrentSecurityCode;
-GSM_NotesInfo CurrentCalendarNotesInfo,*CurrentCalendarNotesInfo2;
-GSM_Error CurrentCalendarNotesInfoError;
+extern GSM_NotesInfo CurrentCalendarNotesInfo,*CurrentCalendarNotesInfo2;
+extern GSM_Error CurrentCalendarNotesInfoError;
-GSM_Error CurrentGetOperatorNameError;
-GSM_Network *CurrentGetOperatorNameNetwork;
-GSM_Error CurrentSetOperatorNameError;
+#ifndef UCLINUX
+extern GSM_Error CurrentGetOperatorNameError;
+extern GSM_Network *CurrentGetOperatorNameNetwork;
+extern GSM_Error CurrentSetOperatorNameError;
+#endif /* UCLINUX */
-GSM_Error CurrentGetWAPBookmarkError;
-GSM_Error CurrentSetWAPBookmarkError;
-GSM_WAPBookmark *WAPBookmark;
+extern GSM_Error CurrentGetWAPBookmarkError;
+extern GSM_Error CurrentSetWAPBookmarkError;
+extern GSM_WAPBookmark *WAPBookmark;
/* Pointer to a callback function used to return changes to a calls status */
/* This saves unreliable polling */
/* Pointer to a callback function used to return changes to a calls status */
/* This saves unreliable polling */
-GSM_Error GSM_Initialise(char *model, char *device, char *initlength, GSM_ConnectionType connection, void (*rlp_callback)(RLP_F96Frame *frame), char* SynchronizeTime);
+extern GSM_Error GSM_Initialise(char *model, char *device, char *initlength, GSM_ConnectionType connection, void (*rlp_callback)(RLP_F96Frame *frame), char* SynchronizeTime);
extern bool AppendLog(u8 *buffer, int length,bool format);
extern bool AppendLogText(u8 *buffer,bool format);
extern bool AppendLog(u8 *buffer, int length,bool format);
extern bool AppendLogText(u8 *buffer,bool format);