diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-04 18:27:28 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-04 18:27:28 (GMT) |
commit | 09702cb66d0063b95d8a870a8ce10bc847a80bf6 (patch) | |
tree | 32eac6c9163c56ba9075d350ad3bba70c8e7a996 /options.h | |
parent | 148eb9ed5edf34b0090f86893b30be5dbb37e05e (diff) |
added command for client type and mode
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,9 @@ #include "string_list.h" #include "key_value_storage.h" +enum mode_enum { MODE_MASTER, MODE_STANDBY }; +typedef enum mode_enum mode_t; + struct options_struct { char* progname_; int daemonize_; @@ -34,6 +37,7 @@ struct options_struct { char* pid_file_; string_list_t log_targets_; + mode_t mode_; char* conf_file_; char* command_sock_; char* switch_dev_; |