36#ifndef __MODULES_INCLUDE_RINGBUFFER_RINGBUFFER_H
37#define __MODULES_INCLUDE_RINGBUFFER_RINGBUFFER_H
71#define EXTERN extern "C"
ssize_t ringbuf_read(FAR struct ringbuf_s *rb, FAR void *buf, size_t count)
void ringbuf_free(FAR struct ringbuf_s *rb)
size_t ringbuf_bytesused(FAR struct ringbuf_s *rb)
size_t ringbuf_bytesavail(FAR struct ringbuf_s *rb)
FAR struct ringbuf_s * ringbuf_new(size_t size)
size_t ringbuf_buffersize(FAR struct ringbuf_s *rb)
ssize_t ringbuf_write(FAR struct ringbuf_s *rb, FAR void *buf, size_t count)
Definition: ringbuffer.h:62
bool full
Definition: ringbuffer.h:67
FAR uint8_t * head
Definition: ringbuffer.h:64
size_t size
Definition: ringbuffer.h:66
FAR uint8_t * buf
Definition: ringbuffer.h:63
FAR uint8_t * tail
Definition: ringbuffer.h:65