summaryrefslogtreecommitdiff
path: root/shared/mc-protocol.h
blob: 8ecc02a938243674ceb115e476114bc395bea868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef foomcprotocolhfoo
#define foomcprotocolhfoo

int mc_is_handshake_complete(const char *buf, size_t len);

bool mc_protocol_parse_status_reply(const char *buf, size_t len,
				    unsigned *online, unsigned *max);

bool mc_protocol_create_status_request(char *buf, size_t len, size_t *rlen,
				       struct saddr *saddr);

#endif