Added functions for accessing the data and length of a queued buffer
This commit is contained in:
parent
a43c213ff2
commit
516f9316ab
2 changed files with 26 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: queuebuf.h,v 1.1 2007/02/28 16:38:51 adamdunkels Exp $
|
||||
* $Id: queuebuf.h,v 1.2 2007/03/20 12:26:23 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -52,4 +52,8 @@ void queuebuf_free(struct queuebuf *b);
|
|||
void queuebuf_from_rimebuf(struct queuebuf *b);
|
||||
void queuebuf_to_rimebuf(struct queuebuf *b);
|
||||
|
||||
void *queuebuf_dataptr(struct queuebuf *b);
|
||||
int queuebuf_datalen(struct queuebuf *b);
|
||||
|
||||
|
||||
#endif /* __QUEUEBUF_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue