#pragma once #include struct buf; struct packet; void proto_cleanup(); bool proto_parse(struct buf *, struct packet *, void *); void proto_serialize(struct packet *, struct buf *);