summaryrefslogtreecommitdiff
path: root/client_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'client_list.h')
-rw-r--r--client_list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/client_list.h b/client_list.h
index c12d2b8..d54a853 100644
--- a/client_list.h
+++ b/client_list.h
@@ -24,8 +24,12 @@
#include "datatypes.h"
+enum client_type_enum { DEFAULT, MASTER, STANDBY };
+typedef enum client_type_enum client_type_t;
+
struct client_struct {
int fd;
+ client_type_t type;
int status_listener;
int error_listener;
int request_listener;