GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > XLX / V10-0-2
Constituent: parser     Tag: linux-gcc
#include "XLX_p.h"
#include "stdlib.h"
#include "string.h"
#include "stdio.h"
Include dependency graph for stack.c:

Functions | |
| int | XLX_initStack (XLX_stack *stack, unsigned int limit) |
| Initialise a stack. | |
| void | XLX_endStack (XLX_stack *stack) |
| Free the memory allocated to a stack. | |
| void | XLX_destroyStack (XLX_stack *stack, XLX_pDelete dFn) |
| Free the memory allocated to a stack and its elements. | |
| int | XLX_push (XLX_stack *stack, void *ptr) |
| Put a new item on the top of a stack. | |
| void * | XLX_pop (XLX_stack *stack) |
| Remove and return the top item on a stack. | |
| void * | XLX_peek (XLX_stack *stack, unsigned int depth) |
| Look at an item on a stack without removing it. | |
| void | XLX_dump (XLX_stack *stack) |
| Print out the stack information. | |
|
||||||||||||
|
Free the memory allocated to a stack and its elements.
|
|
|
Print out the stack information.
|
|
|
Free the memory allocated to a stack.
|
|
||||||||||||
|
Initialise a stack. This routine allocates memory to hold the stack contents and sets the limit and used values.
|
|
||||||||||||
|
Look at an item on a stack without removing it.
|
|
|
Remove and return the top item on a stack.
|
|
||||||||||||
|
Put a new item on the top of a stack. If the stack is already full, its size is doubled.
|
1.4.4