aboutsummaryrefslogtreecommitdiff
path: root/command.h
blob: 3b01f423e00fa67a158019370c6e89efc2109c43 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include "global.h"
#include "conn_data.h"


// 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);