blob: 68ec014be73e1063d41bbc82fb1646c8f15d39c0 (
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 3
#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);
|