Added alloc to ringbuf module.

This commit is contained in:
skarg
2009-12-18 04:20:44 +00:00
parent 11e1c80e38
commit dc2a432a65
3 changed files with 54 additions and 4 deletions
+2
View File
@@ -64,6 +64,8 @@ extern "C" {
bool Ringbuf_Put(
RING_BUFFER * b, /* ring buffer structure */
char *data_element); /* one element to add to the ring */
char * Ringbuf_Alloc(
RING_BUFFER * b);
void Ringbuf_Init(
RING_BUFFER * b, /* ring buffer structure */
char *data, /* data block or array of data */