summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/options.h b/options.h
index 1c17809..e8e3930 100644
--- a/options.h
+++ b/options.h
@@ -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_;