Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

circ_buff.c File Reference

This is the implementation of the Circular-Buffer Library. More...

#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)


Detailed Description

This is the implementation of the Circular-Buffer Library.

Author:
Daniel R. Warren
Version:
1.0
Date:
November 2004

Generated on Thu Dec 16 23:07:31 2004 for alsad by doxygen 1.3.6