axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Functions
Axl Stack: A stack built used across AXL library

Functions

void axl_binary_stack_free (axlBinaryStack *bstack)
 Release the provided binary stack. More...
 
axl_bool axl_binary_stack_is_empty (axlBinaryStack *bstack)
 Check current emptyness status for the provided binary stack. More...
 
axlBinaryStackaxl_binary_stack_new (void)
 Allows to create a compact binary state stack. More...
 
axl_bool axl_binary_stack_peek (axlBinaryStack *bstack)
 Allows to get the current stack head value stored without removing it from the stack. More...
 
axl_bool axl_binary_stack_pop (axlBinaryStack *bstack)
 Allows to pop the next value from the stack. More...
 
void axl_binary_stack_push (axlBinaryStack *bstack, axl_bool status)
 Push a new boolean item into the binary stack. More...
 
void axl_binary_stack_push_the_same (axlBinaryStack *bstack)
 Convenience function that allows to push a new value using the last one pushed in the stack. More...
 
int axl_binary_stack_size (axlBinaryStack *bstack)
 Allows to get current number of items stored. More...
 
axl_bool axl_stack_foreach (axlStack *stack, axlStackForeach2 func, axlPointer user_data, axlPointer user_data2)
 Allows to perform a foreach operation from the head of the stack (the next item to be poped) to the tail of the stack (the very first item pushed). More...
 
axl_bool axl_stack_foreach3 (axlStack *stack, axlStackForeach3 func, axlPointer user_data, axlPointer user_data2, axlPointer user_data3)
 Allows to perform a foreach operation from the head of the stack (the next item to be poped) to the tail of the stack (the very first item pushed). More...
 
void axl_stack_free (axlStack *stack)
 Destroy the given stack. More...
 
axl_bool axl_stack_is_empty (axlStack *stack)
 Allows to check if the given stack is empty. More...
 
axlStackaxl_stack_new (axlDestroyFunc destroy_data)
 Creates a new stack. More...
 
axlPointer axl_stack_peek (axlStack *stack)
 Allows to get current current element at the top of the stack without removing it. More...
 
axlPointer axl_stack_pop (axlStack *stack)
 Pop data from the stack. More...
 
void axl_stack_push (axlStack *stack, axlPointer data)
 Push data on top of the stack. More...
 
int axl_stack_size (axlStack *stack)
 Returns current stack size, that is, elements stored on the stack. More...
 

Detailed Description