2016-02-17 12:11:50 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
2016-02-17 16:40:09 -08:00
|
|
|
|
|
|
|
|
struct buf;
|
|
|
|
|
struct packet;
|
2016-02-17 12:11:50 -08:00
|
|
|
|
2016-02-25 23:37:37 -08:00
|
|
|
void raw_init(void);
|
2016-02-26 14:09:37 -08:00
|
|
|
bool __attribute__ ((warn_unused_result)) raw_parse(struct buf *, struct packet *, void *);
|
2016-02-17 20:14:44 -08:00
|
|
|
void raw_serialize(struct packet *, struct buf *);
|