Wrappers for list structures and functions.
More...
#include "uthash.h"
#include "utlist.h"
Go to the source code of this file.
Wrappers for list structures and functions.
Definition in file t_list.h.
#define LIST_CONCAT |
( |
|
s1, |
|
|
|
s2 |
|
) |
| s1##s2 |
#define LIST_STRUCT |
( |
|
name | ) |
|
Value:
#define LIST_CONCAT(s1, s2)
Definition at line 84 of file t_list.h.
#define LIST_STRUCT_INIT |
( |
|
struct_ptr, |
|
|
|
name |
|
) |
| |
Value:{ \
(struct_ptr)->name = &((struct_ptr)->LIST_CONCAT(name,_list)); \
}
#define LIST_CONCAT(s1, s2)
Definition at line 88 of file t_list.h.
static void list_add |
( |
list_t |
the_list, |
|
|
void * |
item |
|
) |
| |
|
inlinestatic |
static void* list_head |
( |
list_t |
the_list | ) |
|
|
inlinestatic |
static void list_insert |
( |
list_t |
the_list, |
|
|
void * |
previtem, |
|
|
void * |
newitem |
|
) |
| |
|
inlinestatic |
static void* list_item_next |
( |
void * |
item | ) |
|
|
inlinestatic |
static void* list_pop |
( |
list_t |
the_list | ) |
|
|
inlinestatic |
static void list_push |
( |
list_t |
the_list, |
|
|
void * |
item |
|
) |
| |
|
inlinestatic |
static void list_remove |
( |
list_t |
the_list, |
|
|
void * |
item |
|
) |
| |
|
inlinestatic |