Unify Framework Lib 1.6.0
|
Go to the source code of this file.
Macros | |
#define | LIST_CONCAT2(s1, s2) s1##s2 |
#define | LIST_CONCAT(s1, s2) LIST_CONCAT2(s1, s2) |
#define | LIST(name) |
#define | LIST_STRUCT(name) |
#define | LIST_STRUCT_INIT(struct_ptr, name) |
Typedefs | |
typedef void ** | list_t |
Functions | |
void | list_init (list_t list) |
void * | list_head (list_t list) |
void * | list_tail (list_t list) |
void * | list_pop (list_t list) |
void | list_push (list_t list, void *item) |
void * | list_chop (list_t list) |
void | list_add (list_t list, void *item) |
void | list_remove (list_t list, void *item) |
int | list_length (list_t list) |
void | list_copy (list_t dest, list_t src) |
void | list_insert (list_t list, void *previtem, void *newitem) |
Insert an item after a specified item on the list. More... | |
void * | list_item_next (void *item) |
Get the next item following this item. More... | |
int | list_contains (list_t list, void *item) |
Linked list manipulation routines.