Gammu internals  1.38.0
gammu-category.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_category_h
8 #define __gammu_category_h
9 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include <gammu-limits.h>
20 #include <gammu-error.h>
21 #include <gammu-statemachine.h>
22 
28 typedef enum {
38 
43 typedef struct {
47  GSM_CategoryType Type;
51  int Location;
55  unsigned char Name[(GSM_MAX_CATEGORY_NAME_LENGTH + 1) * 2];
56 } GSM_Category;
57 
62 typedef struct {
66  GSM_CategoryType Type;
70  int Used;
72 
83 GSM_Error GSM_GetCategory(GSM_StateMachine * s, GSM_Category * Category);
84 
95 GSM_Error GSM_AddCategory(GSM_StateMachine * s, GSM_Category * Category);
96 
108  GSM_CategoryStatus * Status);
109 #ifdef __cplusplus
110 }
111 #endif
112 #endif
113 
114 /* Editor configuration
115  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
116  */
#define GSM_MAX_CATEGORY_NAME_LENGTH
Definition: gammu-limits.h:260
GSM_CategoryType Type
GSM_Error
Definition: gammu-error.h:23
GSM_Error GSM_GetCategory(GSM_StateMachine *s, GSM_Category *Category)
Definition: api.c:463
GSM_CategoryType
GSM_Error GSM_GetCategoryStatus(GSM_StateMachine *s, GSM_CategoryStatus *Status)
Definition: api.c:489
GSM_Error GSM_AddCategory(GSM_StateMachine *s, GSM_Category *Category)
Definition: api.c:476
GSM_CategoryType Type