#pragma once #include "global.h" #include "conn_data.h" // Protocol version 4 adds the 'sendat' command; if the client reports not to // support sendat, we just disable that command. In this manner, we continue to // support protocol version 3. #define PROTOCOL_VERSION 4 #define MIN_SUPPORTED_PROTOCOL_VERSION 3 // 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);