blob: e1226a5b5f26daf95958bb0702e974cc38f90b31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include "global.h"
#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);
|