netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stack.h File Reference
This graph shows which files directly or indirectly include this file:

Functions

struct stackstack_create (size_t elem_size, int max_elems)
 
void stack_destroy (struct stack *s)
 
int stack_push (struct stack *s, void *data)
 
int stack_pop (struct stack *s, void *data)
 

Function Documentation

struct stack* stack_create ( size_t  elem_size,
int  max_elems 
)
void stack_destroy ( struct stack s)

References stack::data.

int stack_pop ( struct stack s,
void *  data 
)
int stack_push ( struct stack s,
void *  data 
)