diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-04 17:59:58 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-04 17:59:58 (GMT) |
commit | 148eb9ed5edf34b0090f86893b30be5dbb37e05e (patch) | |
tree | 55d06cc6859a5afd1d30600a2d6a56ac962f015b /client_list.h | |
parent | 7882d05127816e6885268182a3769bc7a091de94 (diff) |
added client type
Diffstat (limited to 'client_list.h')
-rw-r--r-- | client_list.h | 4 |
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; |