Data Fields | |
| void ** | buffer |
| Array of pointers to (void*), each element points to an item of the buffer. | |
| unsigned long | size |
| Maximum number of elements in the buffer. | |
| unsigned long | start |
| Index to the first item in the cyclic buffer. | |
| unsigned long | stop |
| Index to the last item in the cyclic buffer. | |
| unsigned long | current |
| Pointer to the current index. | |
| unsigned long | current_size |
| Current number of element in the buffer (from 0 to 'size'). | |
| unsigned long | n |
| Current number of element extracted (this is used by get_element()). | |
Definition at line 23 of file cyclic_buffer.h.
1.3-rc1