summaryrefslogtreecommitdiffabout
path: root/gammu/emb/gammu/gammu.h
Unidiff
Diffstat (limited to 'gammu/emb/gammu/gammu.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/gammu/gammu.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/gammu/emb/gammu/gammu.h b/gammu/emb/gammu/gammu.h
new file mode 100644
index 0000000..d3de31b
--- a/dev/null
+++ b/gammu/emb/gammu/gammu.h
@@ -0,0 +1,74 @@
1/* (c) 2002-2003 by Marcin Wiacek and Michal Cihar */
2
3#include "../common/config.h"
4#include "../common/misc/misc.h"
5#include "../common/gsmstate.h"
6
7typedef enum {
8 H_Call=1,
9 H_SMS,
10 H_Memory,
11 H_Filesystem,
12 H_Logo,
13 H_Ringtone,
14 H_Calendar,
15 H_ToDo,
16 H_Note,
17 H_DateTime,
18 H_Category,
19 H_Tests,
20#ifdef GSM_ENABLE_BACKUP
21 H_Backup,
22#endif
23#if defined(GSM_ENABLE_NOKIA_DCT3) || defined(GSM_ENABLE_NOKIA_DCT4)
24 H_Nokia,
25#endif
26#ifdef GSM_ENABLE_AT
27 H_Siemens,
28#endif
29 H_Network,
30 H_WAP,
31 H_MMS,
32 H_FM,
33 H_Info,
34 H_Settings,
35#ifdef DEBUG
36 H_Decode,
37#endif
38 H_Other
39} HelpCategory;
40
41typedef struct {
42 HelpCategorycategory;
43 char *option;
44 char *description;
45} HelpCategoryDescriptions;
46
47typedef struct {
48 char *parameter;
49 int min_arg;
50 int max_arg;
51 void (*Function) (int argc, char *argv[]);
52 HelpCategoryhelp_cat[10];
53 char *help;
54} GSM_Parameters;
55
56 void Print_Error (GSM_Error error);
57 void GSM_Init (bool checkerror);
58 void GSM_Terminate (void);
59
60 static GSM_StateMachines;
61 static GSM_Phone_Functions*Phone;
62 static GSM_Error error;
63
64 static bool gshutdown;
65
66void interrupt(int sign);
67
68#ifdef GSM_ENABLE_BEEP
69 void GSM_PhoneBeep (void);
70#endif
71
72/* How should editor hadle tabs in this file? Add editor commands here.
73 * vim: noexpandtab sw=8 ts=8 sts=8:
74 */