summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2009-11-04 18:27:28 (GMT)
committerChristian Pointner <equinox@helsinki.at>2009-11-04 18:27:28 (GMT)
commit09702cb66d0063b95d8a870a8ce10bc847a80bf6 (patch)
tree32eac6c9163c56ba9075d350ad3bba70c8e7a996 /options.h
parent148eb9ed5edf34b0090f86893b30be5dbb37e05e (diff)
added command for client type and 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_;