diff options
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_; |