aboutsummaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
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);