|
PatchworkOS
|
Ring buffer structure. More...
#include <ring.h>
Data Fields | |
| void * | buffer |
| uint64_t | size |
| uint64_t | readIndex |
| uint64_t | writeIndex |
| uint64_t | dataLength |
| void* ring_t::buffer |
Definition at line 20 of file ring.h.
Referenced by ring_get_byte(), ring_init(), ring_read(), ring_read_at(), and ring_write().
| uint64_t ring_t::dataLength |
Definition at line 24 of file ring.h.
Referenced by ring_data_length(), ring_free_length(), ring_get_byte(), ring_init(), ring_move_read_forward(), ring_read(), ring_read_at(), and ring_write().
| uint64_t ring_t::readIndex |
Definition at line 22 of file ring.h.
Referenced by ring_get_byte(), ring_init(), ring_move_read_forward(), ring_read(), ring_read_at(), and ring_write().
| uint64_t ring_t::size |
Definition at line 21 of file ring.h.
Referenced by ring_free_length(), ring_get_byte(), ring_init(), ring_move_read_forward(), ring_read(), ring_read_at(), and ring_write().
| uint64_t ring_t::writeIndex |
Definition at line 23 of file ring.h.
Referenced by ring_init(), and ring_write().