IBNOS
Classes | Macros
list.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  linkedList
 

Macros

#define ll_add_head   ll_add_after
 
#define ll_add_tail   ll_add_before
 
#define LL_INIT(list)   { &(list), &(list) }
 Initializes a linkedList. More...
 
#define LL_ENTRY(element, type, field)   ((type *)((uint8_t *)(element) - offsetof(type, field)))
 
#define LL_FOR_EACH(element, list, type, field)
 Allows to iterate a linkedList similar to a for-loop. More...
 
#define LL_FOR_EACH_SAFE(element, next_element, list, type, field)
 Allows to iterate a linkedList similar to a for-loop (safe when deleting elements). More...