#include "linux_list.h"
Data Structures | |
| struct | stack |
| struct | stack_item |
Functions | |
| struct stack_item * | stack_item_alloc (int type, size_t data_len) |
| void | stack_item_free (struct stack_item *e) |
| void | stack_item_push (struct stack *s, struct stack_item *e) |
| struct stack_item * | stack_item_pop (struct stack *s, int type) |
| struct stack_item* stack_item_alloc | ( | int | type, |
| size_t | data_len | ||
| ) |
References stack_item::data_len, NULL, stack_item::type, and type.
| void stack_item_free | ( | struct stack_item * | e | ) |
| struct stack_item* stack_item_pop | ( | struct stack * | s, |
| int | type | ||
| ) |
References stack_item::head, stack::list, list_for_each_entry_safe, NULL, and stack_item::type.
| void stack_item_push | ( | struct stack * | s, |
| struct stack_item * | e | ||
| ) |
References stack_item::head, and stack::list.