upipe/ulist_helper.h header reference
Upipe helper macros for embedded ulist. More
Header inclusion [link]
Members [link]
Macros [link]
Description [link]
Upipe helper macros for embedded ulist.
Members detail [link]
#define ULIST_HELPER(STRUCTURE, ULIST, SUBSTRUCTURE, UCHAIN) [link]
This macro is declared in upipe/ulist_helper.h source file, line 45.
This macro declares functions dealing with embedded ulist of a structure.
Parameter list:
- STRUCTURE: name of the structure containing the list
- ULIST: name of the embedded list in the structure
- SUBSTRUCTURE: name of the list item structure
- UCHAIN: name of the embedded chain in the item structure
#define _UPIPE_ULIST_HELPER_H_ [link]
This macro is declared in upipe/ulist_helper.h source file, line 31.
#define ulist_helper_foreach(STRUCTURE, ULIST, list, item) [link]
This macro is declared in upipe/ulist_helper.h source file, line 146.
This macro is an helper to iterate the element of an embedded list. The macro ULIST_HELPER must be define. It may be useful to define:
#define STRUCTURE##_foreach_##ULIST(s, i)
ulist_helper_foreach(STRUCTURE, ULIST, s, i)Parameter list:
- STRUCTURE: name of the structure containing the list
- ULIST: name of the embedded list in the structure
- list: pointer to the structure containing the list
- item: pointer iterating the elements