PatchworkOS  da8a090
A non-POSIX operating system.
Loading...
Searching...
No Matches
list_entry_t Struct Reference

A entry in a doubly linked list. More...

#include <list.h>

Collaboration diagram for list_entry_t:

Data Fields

struct list_entry * prev
 The previous entry in the list.
 
struct list_entry * next
 The next entry in the list.
 
list_tlist
 The list this entry belongs to.
 

Detailed Description

A entry in a doubly linked list.

This structure should be placed within another structure so that the CONTAINER_OF() macro can then be used to access the other structure.

Definition at line 35 of file list.h.

Field Documentation

◆ prev

struct list_entry* list_entry_t::prev

The previous entry in the list.

Definition at line 37 of file list.h.

◆ next

struct list_entry* list_entry_t::next

The next entry in the list.

Definition at line 38 of file list.h.

◆ list

list_t* list_entry_t::list

The list this entry belongs to.

Definition at line 39 of file list.h.


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