#include "circ_buff.h"
Functions | |
int | circ_buff_init (circ_buff_t **new_buff, long buff_size) |
void | circ_buff_destroy (circ_buff_t *new_buff) |
int | circ_buff_init_thread (circ_buff_t *new_buff, long *thread_read_pnt, unsigned long long *thread_byte_id, struct timespec *timeout) |
int | circ_buff_wait_to_start (circ_buff_t *new_buff, unsigned long long thread_byte_id, struct timespec *timeout) |
int | circ_buff_wait_for_read (circ_buff_t *new_buff, struct timespec *timeout) |
int | circ_buff_wait_for_write (circ_buff_t *new_buff, struct timespec *timeout) |
int | circ_buff_resize (circ_buff_t *new_buff, long new_size, struct timespec *timeout) |
long | circ_buff_read (circ_buff_t *new_buff, void *read_data, long bytes_to_read, struct timespec *timeout) |
long | circ_buff_read_thread (circ_buff_t *new_buff, void *read_data, long *thread_read_pnt, unsigned long long *thread_byte_id, long read_size, struct timespec *timeout) |
long | circ_buff_write (circ_buff_t *new_buff, void *write_data, long bytes_to_write, struct timespec *timeout) |