summaryrefslogtreecommitdiff
path: root/shared/mc-protocol.h
blob: 8e62aebe65924bf685861514f7e288f4dcd5f0bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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