first steps towards supporting the "bye" command
This commit is contained in:
1 parent
a3db7b4cb2
commit
0dde525a46
7 files changed
+33
-25
No files matched your search
+7
-1
@@ -23,9 +23,15 @@
|
||||
|
||||
#define CLIENT_NAME_SIZE 256
|
||||
|
||||
typedef enum _clientstate {
|
||||
NEW,
|
||||
ACTIVE,
|
||||
GONE
|
||||
} ClientState;
|
||||
|
||||
typedef struct Client {
|
||||
char *name;
|
||||
int ack;
|
||||
ClientState state;
|
||||
int sock;
|
||||
int backlight;
|
||||
int heartbeat;
|
||||
|
||||
Reference in new issue
Block a user