From f1e708a631d7d5fbe6fc2f74e5f681d6a6786b4e Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 10 Dec 2015 21:06:38 -0500 Subject: kicking --- src/netcosm.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/netcosm.h') diff --git a/src/netcosm.h b/src/netcosm.h index f9f0fc4..16ace01 100644 --- a/src/netcosm.h +++ b/src/netcosm.h @@ -56,12 +56,15 @@ void telnet_echo_off(void); void remove_cruft(char*); -/* child->master commands */ -#define REQ_INVALID 0 +/* child<->master commands */ +/* children might not implement all of these */ +#define REQ_NOP 0 #define REQ_BCASTMSG 1 #define REQ_LISTCLIENTS 2 #define REQ_CHANGESTATE 3 #define REQ_CHANGEUSER 4 +#define REQ_HANG 5 +#define REQ_KICK 6 #define STATE_INIT 0 #define STATE_AUTH 1 -- cgit v1.1