|
clist
A multi-mode C linked list library/implementation
|
A single node element for the list. More...
#include <clist.h>
Data Fields | |
| struct node * | prev |
| void * | item |
| struct node * | next |
A single node element for the list.
A node is a single point on a linked list. A node shouldn't have to be accessed in your program by yourself since you should normally handle data access with the functions for the clist and not directly access the data on a node. :) Do you like the Octocat? I like cats in general.
| item |
A void pointer, which should point to the data the user (you :) provides.
| next |
A pointer pointing to a node-typed pointer (recursive type, lol), which is the next node on the linked list. This is set to NULL if the list ends on this node.
| prev |
A pointer pointing to a node-typed pointer (recursive typed), which is the previous node on the linked list. This is set to NULL if the list starts on this node.