Gammu internals  1.38.0
gammu-security.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_security_h
8 #define __gammu_security_h
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
19 #include <gammu-limits.h>
20 #include <gammu-error.h>
21 #include <gammu-statemachine.h>
22 
28 typedef enum {
62 
68 typedef struct {
72  GSM_SecurityCodeType Type;
76  char Code[GSM_SECURITY_CODE_LEN + 1];
83  char NewPIN[GSM_SECURITY_CODE_LEN + 1];
85 
92 
99  GSM_SecurityCodeType * Status);
100 
101 #ifdef __cplusplus
102 }
103 #endif
104 #endif
105 
106 /* Editor configuration
107  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
108  */
GSM_Error GSM_GetSecurityStatus(GSM_StateMachine *s, GSM_SecurityCodeType *Status)
Definition: api.c:372
GSM_Error
Definition: gammu-error.h:23
GSM_SecurityCodeType
#define GSM_SECURITY_CODE_LEN
Definition: gammu-limits.h:253
GSM_SecurityCodeType Type
GSM_Error GSM_EnterSecurityCode(GSM_StateMachine *s, GSM_SecurityCode *Code)
Definition: api.c:359