Include dependency graph for list.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | link |
Defines | |
#define | true 1 |
#define | false 0 |
#define | LIST_INITIALIZE(name) link_t name = { .prev = &name, .next = &name } |
#define | list_get_instance(link, type, member) (type *)(((char *)(link))-((char *)&(((type *)NULL)->member))) |
Typedefs | |
typedef link | link_t |
Functions | |
static void | link_initialize (link_t *link) |
static void | list_initialize (link_t *head) |
static void | list_prepend (link_t *link, link_t *head) |
static void | list_append (link_t *link, link_t *head) |
static void | list_remove (link_t *link) |
static int | list_empty (link_t *head) |
static void | headless_list_split_or_concat (link_t *part1, link_t *part2) |
static void | headless_list_split (link_t *part1, link_t *part2) |
static void | headless_list_concat (link_t *part1, link_t *part2) |
int | list_member (const link_t *link, const link_t *head) |
void | list_concat (link_t *head1, link_t *head2) |
Definition in file list.h.