summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/options.h b/options.h
index 4be144a..88a786d 100644
--- a/options.h
+++ b/options.h
@@ -32,6 +32,7 @@ enum channel_enum { CHAN_MAIN, CHAN_MUSIC };
typedef enum channel_enum channel_t;
struct options_struct {
+/* common */
char* progname_;
int daemonize_;
char* username_;
@@ -40,12 +41,18 @@ struct options_struct {
char* pid_file_;
string_list_t log_targets_;
+ char* command_sock_;
+
+/* switchctl */
mode_t mode_;
channel_t channel_;
char* conf_file_;
- char* command_sock_;
char* switch_dev_;
key_value_storage_t alias_table_;
+
+/* serialclient */
+ char* serial_dev_;
+ char* type_;
};
typedef struct options_struct options_t;