Gammu internals  1.38.0
gammu-callback.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_callback_h
8 #define __gammu_callback_h
9 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include <gammu-types.h>
20 #include <gammu-message.h>
21 #include <gammu-call.h>
22 
28 typedef void (*IncomingCallCallback) (GSM_StateMachine * s, GSM_Call *call,
29  void *user_data);
30 
37  void *user_data);
38 
45  void *user_data);
46 
53  GSM_USSDMessage *ussd, void *user_data);
54 
60 typedef void (*SendSMSStatusCallback) (GSM_StateMachine * s, int status,
61  int MessageReference, void *user_data);
62 
73  IncomingCallCallback callback,
74  void *user_data);
75 
86  IncomingSMSCallback callback, void *user_data);
87 
98  IncomingCBCallback callback, void *user_data);
99 
110  IncomingUSSDCallback callback,
111  void *user_data);
112 
123  SendSMSStatusCallback callback,
124  void *user_data);
125 #ifdef __cplusplus
126 }
127 #endif
128 #endif
129 
130 /* Editor configuration
131  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
132  */
void GSM_SetIncomingCallCallback(GSM_StateMachine *s, IncomingCallCallback callback, void *user_data)
Definition: gsmstate.c:1647
void GSM_SetIncomingSMSCallback(GSM_StateMachine *s, IncomingSMSCallback callback, void *user_data)
Definition: gsmstate.c:1653
void(* SendSMSStatusCallback)(GSM_StateMachine *s, int status, int MessageReference, void *user_data)
void GSM_SetIncomingUSSDCallback(GSM_StateMachine *s, IncomingUSSDCallback callback, void *user_data)
Definition: gsmstate.c:1665
void(* IncomingUSSDCallback)(GSM_StateMachine *s, GSM_USSDMessage *ussd, void *user_data)
void(* IncomingCallCallback)(GSM_StateMachine *s, GSM_Call *call, void *user_data)
void(* IncomingCBCallback)(GSM_StateMachine *s, GSM_CBMessage *cb, void *user_data)
void GSM_SetIncomingCBCallback(GSM_StateMachine *s, IncomingCBCallback callback, void *user_data)
Definition: gsmstate.c:1659
void GSM_SetSendSMSStatusCallback(GSM_StateMachine *s, SendSMSStatusCallback callback, void *user_data)
Definition: gsmstate.c:1671
void(* IncomingSMSCallback)(GSM_StateMachine *s, GSM_SMSMessage *sms, void *user_data)