Go to the source code of this file.
Functions | |
FIFO_QUEUE * | FIFO_Create (void) |
int | FIFO_Fill (FIFO_QUEUE *queue) |
int | FIFO_Empty (FIFO_QUEUE *queue) |
static void | FIFO_Expand (FIFO_QUEUE *queue) |
void | FIFO_EnQueue (FIFO_QUEUE *queue, void *elt) |
void | FIFO_EnQueue_Front (FIFO_QUEUE *queue, void *elt) |
void * | FIFO_Peek (FIFO_QUEUE *queue) |
void | FIFO_Pop (FIFO_QUEUE *queue) |
void | FIFO_DeQueue (FIFO_QUEUE *queue, void **element) |
void | FIFO_Enumerate (FIFO_QUEUE *queue, void ***element) |
void | FIFO_Destroy (FIFO_QUEUE *queue) |
FIFO_QUEUE* FIFO_Create | ( | void | ) |
Definition at line 6 of file fifo.C.
References fifo_queue::block, fifo_queue::fill, malloc(), fifo_queue::pull, fifo_queue::push, and fifo_queue::size.
Referenced by Cell::check_queue(), Cell::init_cell(), and Cell::pup().
int FIFO_Fill | ( | FIFO_QUEUE * | queue | ) |
int FIFO_Empty | ( | FIFO_QUEUE * | queue | ) |
Definition at line 24 of file fifo.C.
References fifo_queue::fill.
Referenced by FIFO_Destroy().
static void FIFO_Expand | ( | FIFO_QUEUE * | queue | ) | [static] |
Definition at line 29 of file fifo.C.
References fifo_queue::block, fifo_queue::fill, free(), malloc(), fifo_queue::pull, fifo_queue::push, fifo_queue::size, and size.
Referenced by FIFO_EnQueue(), and FIFO_EnQueue_Front().
void FIFO_EnQueue | ( | FIFO_QUEUE * | queue, | |
void * | elt | |||
) |
Definition at line 49 of file fifo.C.
References fifo_queue::block, FIFO_Expand(), fifo_queue::fill, fifo_queue::push, and fifo_queue::size.
void FIFO_EnQueue_Front | ( | FIFO_QUEUE * | queue, | |
void * | elt | |||
) |
Definition at line 57 of file fifo.C.
References fifo_queue::block, FIFO_Expand(), fifo_queue::fill, fifo_queue::pull, and fifo_queue::size.
void* FIFO_Peek | ( | FIFO_QUEUE * | queue | ) |
Definition at line 65 of file fifo.C.
References fifo_queue::block, fifo_queue::fill, and fifo_queue::pull.
void FIFO_Pop | ( | FIFO_QUEUE * | queue | ) |
Definition at line 71 of file fifo.C.
References fifo_queue::fill, fifo_queue::pull, and fifo_queue::size.
void FIFO_DeQueue | ( | FIFO_QUEUE * | queue, | |
void ** | element | |||
) |
Definition at line 79 of file fifo.C.
References fifo_queue::block, fifo_queue::fill, fifo_queue::pull, and fifo_queue::size.
void FIFO_Enumerate | ( | FIFO_QUEUE * | queue, | |
void *** | element | |||
) |
Definition at line 93 of file fifo.C.
References fifo_queue::block, fifo_queue::fill, malloc(), fifo_queue::pull, and fifo_queue::size.
void FIFO_Destroy | ( | FIFO_QUEUE * | queue | ) |
Definition at line 110 of file fifo.C.
References fifo_queue::block, CmiError(), FIFO_Empty(), and free().