libusual  0.1
Data Fields
List Struct Reference

Structure for both list nodes and heads. More...

Data Fields

struct Listnext
 Pointer to next node or head.
struct Listprev
 Pointer to previous node or head.

Detailed Description

Structure for both list nodes and heads.

It is meant to be embedded in parent structure, which can be acquired with container_of().


Field Documentation

struct List* List::next

Pointer to next node or head.

Referenced by list_append(), list_del(), list_empty(), list_first(), list_init(), list_pop(), and list_prepend().

struct List* List::prev

Pointer to previous node or head.

Referenced by list_append(), list_del(), list_init(), list_last(), and list_prepend().


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