The friendly Operating System for the Internet of Things
list.h File Reference

Intrusive linked list. More...

Detailed Description

Lists are represented as element pointing to the first actual list element.

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Víctor Ariño victo.nosp@m.r.ar.nosp@m.ino@z.nosp@m.ii.a.nosp@m.ero

Definition in file list.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  list_node
 List node structure. More...
 

Typedefs

typedef struct list_node list_node_t
 List node structure. More...
 

Functions

static void list_add (list_node_t *node, list_node_t *new_node)
 Insert object into list. More...
 
static list_node_tlist_remove_head (list_node_t *list)
 Removes the head of the list and returns it. More...
 
static list_node_tlist_remove (list_node_t *list, list_node_t *node)
 Removes the node from the list. More...