projects
/
reposerve
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
10720db0cddbce62509f20caaeac54955de9b3bf
[reposerve]
/
server
/
src
/
client.h
1
#ifndef CLIENT_H_
2
#define CLIENT_H_
3
4
enum {
5
CLIENT_DOS = 1
6
};
7
8
struct client {
9
int s;
10
unsigned int flags;
11
char buf[16384];
12
int bsz;
13
struct client *next;
14
};
15
16
int handle_client(struct client *c);
17
18
void send_string(struct client *c, const char *s);
19
void send_ok(struct client *c, int resp_sz);
20
void send_err(struct client *c);
21
22
#endif /* CLIENT_H_ */