summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-04-28 09:57:12 -0500
committerJames Maki <jmaki@multitech.com>2010-04-28 09:57:12 -0500
commit223246228c5224a91147a98dc394ea60efab81ef (patch)
tree657adf4bbf1c59be35a37cadef783d0a8e1d3567 /src/global.h
parenta2848ad713af4d78cf0326dcf44a36bba3e93e40 (diff)
downloadsms-utils-223246228c5224a91147a98dc394ea60efab81ef.tar.gz
sms-utils-223246228c5224a91147a98dc394ea60efab81ef.tar.bz2
sms-utils-223246228c5224a91147a98dc394ea60efab81ef.zip
optional at command init
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h
index ccfb6b4..4a73d9e 100644
--- a/src/global.h
+++ b/src/global.h
@@ -20,6 +20,7 @@ struct global_user {
struct global_core {
speed_t baud_rate;
int read_timeout;
+ int sms_init;
char *device;
int verbose;
int interactive;
@@ -61,6 +62,7 @@ struct global_config Global = {
.core = {
.verbose = false,
.interactive = true,
+ .sms_init = true,
.baud_rate = B115200,
.read_timeout = 5000,
.device = DEFAULT_DEVICE,