Home | History | Annotate | Download | only in include

Lines Matching defs:ringbuffer_t

23 typedef struct ringbuffer_t ringbuffer_t;
33 ringbuffer_t* ringbuffer_init(const size_t size);
37 void ringbuffer_free(ringbuffer_t *rb);
40 size_t ringbuffer_available(const ringbuffer_t *rb);
43 size_t ringbuffer_size(const ringbuffer_t *rb);
48 size_t ringbuffer_insert(ringbuffer_t *rb, const uint8_t *p, size_t length);
54 size_t ringbuffer_peek(const ringbuffer_t *rb, off_t offset, uint8_t *p, size_t length);
57 size_t ringbuffer_pop(ringbuffer_t *rb, uint8_t *p, size_t length);
61 size_t ringbuffer_delete(ringbuffer_t *rb, size_t length);