OurOS 0.1
Operating System built by McGill Students
 
Loading...
Searching...
No Matches
list_node Struct Reference

Doubly-linked List Node. More...

#include <list.h>

Data Fields

struct list_node * next
 
struct list_node * prev
 

Detailed Description

Doubly-linked List Node.

Warning
It's actually a circular doubly-linked list. Thus, it is recommended to use methods like list_next or list_prev to access next and previous nodes.
Note
Make sure the node is initialized with list_init_node, and is not already in a list when putting it in another list.

Field Documentation

◆ next

struct list_node* list_node::next

◆ prev

struct list_node* list_node::prev

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