diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-03-14 11:05:35 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-03-14 11:05:35 +0100 |
commit | 54064158d84fc4006e651deb314cde156cc383e8 (patch) | |
tree | a534f160fe02b593143e03aaaf52f65513352c90 /command.h |
Register working
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 8 |
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); |