summaryrefslogtreecommitdiff
path: root/src/cmd_options.h
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-04-23 11:58:20 -0500
committerJames Maki <jmaki@multitech.com>2010-04-23 11:58:20 -0500
commit14fb44b17123b27e562379f51b75ee889982688d (patch)
tree3c2344f5c42396ab839638ee12f7c2f66a2656cb /src/cmd_options.h
downloadsms-utils-14fb44b17123b27e562379f51b75ee889982688d.tar.gz
sms-utils-14fb44b17123b27e562379f51b75ee889982688d.tar.bz2
sms-utils-14fb44b17123b27e562379f51b75ee889982688d.zip
initial commit
Diffstat (limited to 'src/cmd_options.h')
-rw-r--r--src/cmd_options.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/cmd_options.h b/src/cmd_options.h
new file mode 100644
index 0000000..fef1b16
--- /dev/null
+++ b/src/cmd_options.h
@@ -0,0 +1,33 @@
+#ifndef __CMD_OPTIONS_H
+#define __CMD_OPTIONS_H
+
+#define __CMD_OPT_DEVICE "d:"
+#define __CMD_OPT_BAUD_RATE "b:"
+#define __CMD_OPT_INTERACTIVE "i"
+#define __CMD_OPT_NON_INTERACTIVE "n"
+#define __CMD_OPT_VERBOSE "v"
+#define __CMD_OPT_FILE "f:"
+
+#define CMD_OPT_DEVICE 'd'
+#define CMD_OPT_BAUD_RATE 'b'
+#define CMD_OPT_INTERACTIVE 'i'
+#define CMD_OPT_NON_INTERACTIVE 'n'
+#define CMD_OPT_VERBOSE 'v'
+#define CMD_OPT_FILE 'f'
+
+enum cmd_opt_long_only {
+ CMD_OPT_VERSION = 128,
+ CMD_OPT_HELP,
+ CMD_OPT_READ_TIMEOUT,
+ CMD_OPT_ALPHABET,
+ CMD_OPT_SMSC_ADDR,
+ CMD_OPT_CMGW_FIRST,
+ CMD_OPT_MSG_STORE_READ,
+ CMD_OPT_MSG_STORE_SEND,
+ CMD_OPT_MSG_STORE_NEW,
+ CMD_OPT_PHONEBOOK_STORE,
+ CMD_OPT_SUBJECT,
+};
+
+#endif /* ~__CMD_OPTIONS_H */
+