Gammu internals  1.38.0
gammu-settings.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_settings_h
8 #define __gammu_settings_h
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
19 #include <gammu-wap.h>
20 #include <gammu-limits.h>
21 
22 typedef struct {
23  int Location;
27  char Name[(20 + 1) * 2];
28  char PhonebookDataBase[(50 + 1) * 2];
29  char CalendarDataBase[(50 + 1) * 2];
30  char User[(30 + 1) * 2];
31  char Password[(20 + 1) * 2];
32  char Server[(128 + 1) * 2];
35 
36 /* ------------------------------------------------------------------------ */
37 
38 typedef enum {
45 
46 typedef struct {
47  char Name[(50 + 1) * 2];
48  char HomePage[(200 + 1) * 2];
49  char User[(50 + 1) * 2];
50  char Password[(50 + 1) * 2];
51  int Location;
55 
56 typedef enum {
96 
97 typedef enum {
108 
114 
118 typedef struct {
120 
124  int Location;
128  char Name[40 * 2];
135 
137  GSM_Profile_Feat_Value FeatureValue[15];
138  GSM_Profile_Feat_ID FeatureID[15];
139 
140  gboolean CallerGroups[5];
141 } GSM_Profile;
142 
143 typedef struct {
144  int Location;
145  double Frequency;
146  char StationName[(GSM_MAX_FMSTATION_LENGTH + 1) * 2];
147 } GSM_FMStation;
148 
149 typedef struct {
150  int Location;
152  unsigned char Name[(GSM_MAX_GPRS_AP_NAME_LENGTH + 1) * 2];
153  unsigned char URL[(GSM_MAX_GPRS_AP_URL_LENGTH + 1) * 2];
155 
156 typedef enum {
166 
167 typedef struct {
169  GSM_DateFormat DateFormat;
171 } GSM_Locale;
172 
173 typedef struct {
174  GSM_Profile_Feat_ID ID;
175  GSM_Profile_Feat_Value Value;
176  unsigned char PhoneID;
177  unsigned char PhoneValue;
179 
184 
189 
194  GSM_SyncMLSettings * settings);
199  GSM_SyncMLSettings * settings);
204  GSM_ChatSettings * settings);
209  GSM_ChatSettings * settings);
214  GSM_MultiWAPSettings * settings);
219  GSM_MultiWAPSettings * settings);
224 
229 
234  GSM_ResetSettingsType Type);
239 
244 
248 GSM_Error GSM_GetFMStation(GSM_StateMachine * s, GSM_FMStation * FMStation);
249 
253 GSM_Error GSM_SetFMStation(GSM_StateMachine * s, GSM_FMStation * FMStation);
254 
259 
264  GSM_GPRSAccessPoint * point);
269  GSM_GPRSAccessPoint * point);
270 #ifdef __cplusplus
271 }
272 #endif
273 #endif
274 
275 /* Editor configuration
276  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
277  */
GSM_Profile_Feat_Value
GSM_Profile_Feat_Value Value
GSM_Error GSM_GetSyncMLSettings(GSM_StateMachine *s, GSM_SyncMLSettings *settings)
Definition: api.c:1183
gboolean HeadSetProfile
GSM_Error GSM_ClearFMStations(GSM_StateMachine *s)
Definition: api.c:1685
GSM_Error
Definition: gammu-error.h:23
GSM_Error GSM_ResetPhoneSettings(GSM_StateMachine *s, GSM_ResetSettingsType Type)
Definition: api.c:346
GSM_DateFormat DateFormat
GSM_MultiWAPSettings Connection
GSM_Error GSM_SetGPRSAccessPoint(GSM_StateMachine *s, GSM_GPRSAccessPoint *point)
Definition: api.c:1856
GSM_Error GSM_SetLocale(GSM_StateMachine *s, GSM_Locale *locale)
Definition: api.c:294
GSM_Error GSM_GetMMSSettings(GSM_StateMachine *s, GSM_MultiWAPSettings *settings)
Definition: api.c:1235
GSM_DateFormat
int gboolean
Definition: gammu-types.h:23
GSM_Error GSM_SetChatSettings(GSM_StateMachine *s, GSM_ChatSettings *settings)
Definition: api.c:1222
GSM_Error GSM_SetFMStation(GSM_StateMachine *s, GSM_FMStation *FMStation)
Definition: api.c:1672
GSM_Error GSM_GetProfile(GSM_StateMachine *s, GSM_Profile *Profile)
Definition: api.c:1633
GSM_Profile_Feat_ID ID
GSM_Error GSM_GetLocale(GSM_StateMachine *s, GSM_Locale *locale)
Definition: api.c:281
GSM_Error GSM_GetGPRSAccessPoint(GSM_StateMachine *s, GSM_GPRSAccessPoint *point)
Definition: api.c:1843
GSM_Error GSM_GetChatSettings(GSM_StateMachine *s, GSM_ChatSettings *settings)
Definition: api.c:1209
GSM_Error GSM_SetAutoNetworkLogin(GSM_StateMachine *s)
Definition: api.c:398
#define GSM_MAX_GPRS_AP_NAME_LENGTH
Definition: gammu-limits.h:316
GSM_MultiWAPSettings Connection
gboolean CarKitProfile
GSM_Error GSM_SetMMSSettings(GSM_StateMachine *s, GSM_MultiWAPSettings *settings)
Definition: api.c:1248
GSM_Error GSM_GetFMStation(GSM_StateMachine *s, GSM_FMStation *FMStation)
Definition: api.c:1659
#define GSM_MAX_FMSTATION_LENGTH
Definition: gammu-limits.h:239
GSM_Error GSM_SetProfile(GSM_StateMachine *s, GSM_Profile *Profile)
Definition: api.c:1646
GSM_Error GSM_SetSyncMLSettings(GSM_StateMachine *s, GSM_SyncMLSettings *settings)
Definition: api.c:1196
gboolean DefaultName
char DateSeparator
GSM_Error GSM_Reset(GSM_StateMachine *s, gboolean hard)
Definition: api.c:333
#define GSM_MAX_GPRS_AP_URL_LENGTH
Definition: gammu-limits.h:323
GSM_Profile_Feat_ID
gboolean AMPMTime
GSM_ResetSettingsType
gboolean Active