Use static greeting buffers.

This commit is contained in:
Ian Gulliver
2016-02-27 16:23:26 -08:00
parent 8d9b40e954
commit 071613d061
9 changed files with 49 additions and 48 deletions

View File

@@ -5,6 +5,8 @@
struct buf;
struct packet;
void proto_init(void);
void proto_cleanup(void);
bool __attribute__ ((warn_unused_result)) proto_parse(struct buf *, struct packet *, void *);
void proto_serialize(struct packet *, struct buf *);
void proto_hello(struct buf **);