|
nckernel
0.1
|
#include <stddef.h>#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <assert.h>#include "alist.h"
Go to the source code of this file.
Data Structures | |
| struct | alist |
| This alist is called Allocatable Modified Doubly Linked List (inherited from dlist). More... | |
Functions | |
| struct alist * | alist_append (struct alist *list, struct alist *new) |
| int | alist_count (struct alist *l) |
| struct alist * | alist_next (struct alist *l) |
| struct alist * | alist_nth (struct alist *l, int nth) |
| struct alist * | alist_prepend (struct alist *list, struct alist *new) |
| struct alist * | alist_prev (struct alist *l) |
| struct alist * | alist_remove (struct alist *list, struct alist *l) |
Definition at line 28 of file alist.c.
References alist::next, NULL, and alist::prev.
| int alist_count | ( | struct alist * | l) |
Definition at line 104 of file alist.c.
References alist_foreach.
Definition at line 94 of file alist.c.
References alist::next, and NULL.
Definition at line 117 of file alist.c.
References alist::next, and NULL.
Definition at line 45 of file alist.c.
References alist::next, NULL, and alist::prev.
Definition at line 99 of file alist.c.
References NULL, and alist::prev.
If we didn't care about this, the head element(list) can indicates the invalid element.
Definition at line 64 of file alist.c.
References alist::next, NULL, and alist::prev.
1.8.4