aboutsummaryrefslogtreecommitdiff
path: root/src/netcosm.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-12-10 21:06:38 -0500
committerFranklin Wei <git@fwei.tk>2015-12-10 21:06:38 -0500
commitf1e708a631d7d5fbe6fc2f74e5f681d6a6786b4e (patch)
tree1613192f78bc85489548786f95ceb1c286394beb /src/netcosm.h
parent33e3462fb86a715e6f71e387233e36c7be255038 (diff)
downloadnetcosm-f1e708a631d7d5fbe6fc2f74e5f681d6a6786b4e.zip
netcosm-f1e708a631d7d5fbe6fc2f74e5f681d6a6786b4e.tar.gz
netcosm-f1e708a631d7d5fbe6fc2f74e5f681d6a6786b4e.tar.bz2
netcosm-f1e708a631d7d5fbe6fc2f74e5f681d6a6786b4e.tar.xz
kicking
Diffstat (limited to 'src/netcosm.h')
-rw-r--r--src/netcosm.h7
1 files changed, 5 insertions, 2 deletions
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