aboutsummaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-03-14 13:39:51 +0100
committertomsmeding <tom.smeding@gmail.com>2017-03-14 13:41:02 +0100
commit230e9775f5b61e21aa085825fbbd0232e9a360ef (patch)
tree566ffe84fa4b57e0f77cd40f1de343669750d5ab /command.h
parent54064158d84fc4006e651deb314cde156cc383e8 (diff)
Room listing and creation
Diffstat (limited to 'command.h')
-rw-r--r--command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/command.h b/command.h
index 9bfac7f..3b01f42 100644
--- a/command.h
+++ b/command.h
@@ -1,8 +1,9 @@
#pragma once
#include "global.h"
+#include "conn_data.h"
// Returns true if socket should be closed.
// Modifies some bytes in `line`, AS WELL AS line[linelen]!
-bool handle_input_line(int fd,char *line,size_t linelen);
+bool handle_input_line(struct conn_data *data,char *line,size_t linelen);