ctrump_queue Struct Reference

FIFO. More...

#include <queue.h>


Data Fields

size_t size
size_t elem_size
void * elements
unsigned int head
unsigned int tail
unsigned int rem


Detailed Description

FIFO.

Definition at line 52 of file queue.h.


Field Documentation

size of buffer

Definition at line 53 of file queue.h.

Referenced by ctrump_queue_init(), and ctrump_queue_realloc().

size of a element

Definition at line 54 of file queue.h.

Referenced by ctrump_queue_init(), and ctrump_queue_realloc().

elements buffer

Definition at line 55 of file queue.h.

Referenced by ctrump_queue_destroy(), ctrump_queue_init(), and ctrump_queue_realloc().

unsigned int ctrump_queue::head

head

Definition at line 56 of file queue.h.

Referenced by ctrump_queue_init(), and ctrump_queue_realloc().

unsigned int ctrump_queue::tail

tail

Definition at line 57 of file queue.h.

Referenced by ctrump_queue_init(), and ctrump_queue_realloc().

unsigned int ctrump_queue::rem

残り容量

Definition at line 58 of file queue.h.

Referenced by ctrump_queue_init(), and ctrump_queue_realloc().


The documentation for this struct was generated from the following file:

Generated on Tue Mar 31 20:19:27 2009 for ctrump by  doxygen 1.5.6