clist
A multi-mode C linked list library/implementation
Loading...
Searching...
No Matches
node Struct Reference

A single node element for the list. More...

#include <clist.h>

Data Fields

struct nodeprev
 
void * item
 
struct nodenext
 

Detailed Description

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.

Field Documentation

◆ item

item

A void pointer, which should point to the data the user (you :) provides.

◆ next

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

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.


The documentation for this struct was generated from the following file: