Removed the (unused) header packet of the queuebuf. Added a function for accessing address attributes in the queuebuf

This commit is contained in:
adamdunkels 2010-04-30 07:29:08 +00:00
parent 3c735fcea4
commit e523c36cdf
2 changed files with 12 additions and 4 deletions

View file

@ -41,7 +41,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: queuebuf.h,v 1.6 2009/03/12 21:58:21 adamdunkels Exp $
* $Id: queuebuf.h,v 1.7 2010/04/30 07:29:08 adamdunkels Exp $
*/
/**
@ -67,6 +67,7 @@ void queuebuf_to_packetbuf(struct queuebuf *b);
void *queuebuf_dataptr(struct queuebuf *b);
int queuebuf_datalen(struct queuebuf *b);
const rimeaddr_t *queuebuf_addr(struct queuebuf *b, uint8_t type);
#endif /* __QUEUEBUF_H__ */