41 #ifndef __CHAMELEON_H__
42 #define __CHAMELEON_H__
46 struct chameleon_module {
47 struct channel *(* input)(void);
48 int (* output)(
struct channel *);
49 int (* hdrsize)(
const struct packetbuf_attrlist *);
52 void chameleon_init(
void);
54 int chameleon_hdrsize(
const struct packetbuf_attrlist attrlist[]);
55 struct channel *chameleon_parse(
void);
56 int chameleon_create(
struct channel *c);