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
{
32
SEC_SecurityCode
= 0x01,
36
SEC_Pin
,
40
SEC_Pin2
,
44
SEC_Puk
,
48
SEC_Puk2
,
52
SEC_None
,
56
SEC_Phone
,
60
SEC_Network
,
61
}
GSM_SecurityCodeType
;
62
68
typedef
struct
{
72
GSM_SecurityCodeType
Type
;
76
char
Code[
GSM_SECURITY_CODE_LEN
+ 1];
83
char
NewPIN[
GSM_SECURITY_CODE_LEN
+ 1];
84
}
GSM_SecurityCode
;
85
91
GSM_Error
GSM_EnterSecurityCode
(
GSM_StateMachine
* s,
GSM_SecurityCode
* Code);
92
98
GSM_Error
GSM_GetSecurityStatus
(
GSM_StateMachine
* s,
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_GetSecurityStatus
GSM_Error GSM_GetSecurityStatus(GSM_StateMachine *s, GSM_SecurityCodeType *Status)
Definition:
api.c:372
gammu-error.h
SEC_Pin2
Definition:
gammu-security.h:40
SEC_Pin
Definition:
gammu-security.h:36
SEC_Puk2
Definition:
gammu-security.h:48
_GSM_StateMachine
Definition:
gsmstate.h:1401
SEC_SecurityCode
Definition:
gammu-security.h:32
SEC_Phone
Definition:
gammu-security.h:56
SEC_None
Definition:
gammu-security.h:52
GSM_Error
GSM_Error
Definition:
gammu-error.h:23
GSM_SecurityCode
Definition:
gammu-security.h:68
SEC_Puk
Definition:
gammu-security.h:44
gammu-statemachine.h
SEC_Network
Definition:
gammu-security.h:60
GSM_SecurityCodeType
GSM_SecurityCodeType
Definition:
gammu-security.h:28
gammu-limits.h
GSM_SECURITY_CODE_LEN
#define GSM_SECURITY_CODE_LEN
Definition:
gammu-limits.h:253
GSM_SecurityCode::Type
GSM_SecurityCodeType Type
Definition:
gammu-security.h:72
GSM_EnterSecurityCode
GSM_Error GSM_EnterSecurityCode(GSM_StateMachine *s, GSM_SecurityCode *Code)
Definition:
api.c:359
include
gammu-security.h
Generated on Wed Nov 16 2016 13:39:19 for Gammu internals by
1.8.12