54 channel_set_attributes(uint16_t channelno,
55 const struct packetbuf_attrlist attrlist[])
58 c = channel_lookup(channelno);
60 c->attrlist = attrlist;
61 c->hdrsize = chameleon_hdrsize(attrlist);
66 channel_open(
struct channel *c, uint16_t channelno)
68 c->channelno = channelno;
73 channel_close(
struct channel *c)
79 channel_lookup(uint16_t channelno)
83 if(c->channelno == channelno) {
Linked list manipulation routines.
Header file for Chameleon, Rime's header processing module
void * list_item_next(void *item)
Get the next item following this item.
#define NULL
The null pointer.
void list_remove(list_t list, void *item)
Remove a specific element from a list.
Header file for the Rime stack
void list_init(list_t list)
Initialize a list.
void * list_head(list_t list)
Get a pointer to the first element of a list.
void list_add(list_t list, void *item)
Add an item at the end of a list.
#define LIST(name)
Declare a linked list.