diff options
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ #include "conn_data.h" +#define PROTOCOL_VERSION 1 +#define MIN_SUPPORTED_PROTOCOL_VERSION 1 + + // Returns true if socket should be closed. // Modifies some bytes in `line`, AS WELL AS line[linelen]! bool handle_input_line(struct conn_data *data,char *line,size_t linelen); |