HomePort
Macros
hpd_queue.h File Reference
Include dependency graph for hpd_queue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HPD_TAILQ_FIELD   tailq
 
#define HPD_TAILQ_MAP_REMOVE(LIST, FUNC, TYPE, RC)
 

Macro Definition Documentation

#define HPD_TAILQ_FIELD   tailq

Definition at line 37 of file hpd_queue.h.

#define HPD_TAILQ_MAP_REMOVE (   LIST,
  FUNC,
  TYPE,
  RC 
)
Value:
do { \
TYPE *_obj, *_tmp; \
TAILQ_FOREACH_SAFE(_obj, (LIST), HPD_TAILQ_FIELD, _tmp) { \
TAILQ_REMOVE((LIST), _obj, HPD_TAILQ_FIELD); \
if (((RC) = (FUNC)(_obj))) goto map_error; \
} \
} while(0)
#define HPD_TAILQ_FIELD
Definition: hpd_queue.h:37

Definition at line 39 of file hpd_queue.h.