upipe/ulist.h header reference

Upipe implementation of lists of structures (NOT thread-safe) More

Header inclusion  

Members  

Macros  

Description  

Please note that ulists cannot be assigned, as in: struct uchain mylist = mystruct->mylist;

Members detail  

#define _UPIPE_ULIST_H_  

This macro is declared in upipe/ulist.h source file, line 34.

This declaration involves expansion of the ulist_foreach and ulist_foreach_reverse macros.

#define ulist_delete_foreach(ulist, uchain, uchain_tmp)  

This macro is declared in upipe/ulist.h source file, line 253.

This declaration involves expansion of the ulist_foreach and ulist_foreach_reverse macros.

This macro walks through a ulist. This variant allows to remove the current element safely.

Parameter list:

  • ulist: pointer to a ulist
  • uchain: iterator
  • uchain_tmp: uchain to use for temporary storage

#define ulist_delete_foreach_reverse(ulist, uchain, uchain_tmp)  

This macro is declared in upipe/ulist.h source file, line 265.

This declaration involves expansion of the ulist_foreach and ulist_foreach_reverse macros.

This macro walks through a ulist in reverse. This variant allows to remove the current element safely.

Parameter list:

  • ulist: pointer to a ulist
  • uchain: iterator
  • uchain_tmp: uchain to use for temporary storage

#define ulist_foreach(ulist, uchain)  

This macro is declared in upipe/ulist.h source file, line 232.

This declaration involves expansion of the ulist_foreach and ulist_foreach_reverse macros.

This macro walks through a ulist. Please note that the list may not be altered during the walk (see ulist_delete_foreach).

Parameter list:

  • ulist: pointer to a ulist
  • uchain: iterator

#define ulist_foreach_reverse(ulist, uchain)  

This macro is declared in upipe/ulist.h source file, line 242.

This declaration involves expansion of the ulist_foreach and ulist_foreach_reverse macros.

This macro walks through a ulist in reverse. Please note that the list may not be altered during the walk (see ulist_delete_foreach_reverse).

Parameter list:

  • ulist: pointer to a ulist
  • uchain: iterator

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:19 2018 using MkDoc