Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it).
This commit is contained in:
parent
932fc9f748
commit
65eb5fd4e8
90 changed files with 690 additions and 687 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: channel.h,v 1.1 2008/02/25 02:14:34 adamdunkels Exp $
|
||||
* $Id: channel.h,v 1.2 2009/03/12 21:58:21 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -44,20 +44,20 @@
|
|||
struct channel;
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "net/rime/rimebuf.h"
|
||||
#include "net/rime/packetbuf.h"
|
||||
#include "net/rime/chameleon.h"
|
||||
|
||||
struct channel {
|
||||
struct channel *next;
|
||||
uint16_t channelno;
|
||||
const struct rimebuf_attrlist *attrlist;
|
||||
const struct packetbuf_attrlist *attrlist;
|
||||
uint8_t hdrsize;
|
||||
};
|
||||
|
||||
struct channel *channel_lookup(uint16_t channelno);
|
||||
|
||||
void channel_set_attributes(uint16_t channelno,
|
||||
const struct rimebuf_attrlist attrlist[]);
|
||||
const struct packetbuf_attrlist attrlist[]);
|
||||
void channel_open(struct channel *c, uint16_t channelno);
|
||||
void channel_close(struct channel *c);
|
||||
void channel_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue