13 ringbuf_t
*ringbuf_create(size_t size
);
14 void ringbuf_destroy(ringbuf_t
*ringbuf
);
15 size_t ringbuf_read(ringbuf_t
*ringbuf
,void *buf
,size_t size
);
16 size_t ringbuf_write(ringbuf_t
*ringbuf
,const void *buf
,size_t size
);
18 #endif /* _RINGBUF_H_ */