45 struct chameleon_module {
46 struct channel *(* input)(void);
47 int (* output)(
struct channel *);
48 int (* hdrsize)(
const struct packetbuf_attrlist *);
51 void chameleon_init(
void);
53 int chameleon_hdrsize(
const struct packetbuf_attrlist attrlist[]);
54 struct channel *chameleon_parse(
void);
55 int chameleon_create(
struct channel *c);
Header file for Rime's channel abstraction