ringbuffer_t Struct Reference

Ringbuffer. More...

Detailed Description

Ringbuffer.

Non thread-safe FIFO ringbuffer implementation around a char array.

Definition at line 36 of file ringbuffer.h.

#include <ringbuffer.h>

Data Fields

char * buf
 Buffer to operate on.
 
unsigned int size
 Size of buf.
 
unsigned int start
 Current read position in the ring buffer.
 
unsigned int avail
 Number of elements available for reading.
 

The documentation for this struct was generated from the following file: