PatchworkOS
Loading...
Searching...
No Matches
ring_t Struct Reference

Ring buffer structure. More...

#include <ring.h>

Data Fields

void * buffer
 
uint64_t size
 
uint64_t readIndex
 
uint64_t writeIndex
 
uint64_t dataLength
 

Detailed Description

Ring buffer structure.

Definition at line 18 of file ring.h.

Field Documentation

◆ buffer

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().

◆ dataLength

◆ readIndex

uint64_t ring_t::readIndex

◆ size

◆ writeIndex

uint64_t ring_t::writeIndex

Definition at line 23 of file ring.h.

Referenced by ring_init(), and ring_write().


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