From 54064158d84fc4006e651deb314cde156cc383e8 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 14 Mar 2017 11:05:35 +0100 Subject: Register working --- command.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 command.h (limited to 'command.h') 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); -- cgit v1.2.3-70-g09d2