aboutsummaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-03-14 11:05:35 +0100
committertomsmeding <tom.smeding@gmail.com>2017-03-14 11:05:35 +0100
commit54064158d84fc4006e651deb314cde156cc383e8 (patch)
treea534f160fe02b593143e03aaaf52f65513352c90 /command.h
Register working
Diffstat (limited to 'command.h')
-rw-r--r--command.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/command.h b/command.h
new file mode 100644
index 0000000..9bfac7f
--- /dev/null
+++ b/command.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include "global.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);