axle OS
x86_32 UNIX-like hobby OS
list_node.h
1 #ifndef LIST_NODE_H
2 #define LIST_NODE_H
3 
4 //encapsulates item in linked list
5 typedef struct list_node_s {
6  void* payload; //contents of node
7  struct list_node_s* prev; //back node
8  struct list_node_s* next; //next node
9 } list_node;
10 
11 list_node* list_node_create(void* payload);
12 
13 #endif
Definition: list_node.h:5