GNUmifluz: TAILQ_INSERT_HEAD

queue.h
#define TAILQ_INSERT_HEAD ( head,
elm,
field )

Value:

do { \
 if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
 (head)->tqh_first->field.tqe_prev = \
 &(elm)->field.tqe_next; \
 else \
 (head)->tqh_last = &(elm)->field.tqe_next; \
 (head)->tqh_first = (elm); \
 (elm)->field.tqe_prev = &(head)->tqh_first; \
} while (0)

Definition at line 149 of file queue.h.

Referenced by CDB___db_rmid_to_env(), CDB___log_add_logid(), and CDB_txn_begin().


Generated on Sun Jun 8 10:56:55 2008 for GNUmifluz by doxygen 1.5.5

AltStyle によって変換されたページ (->オリジナル) /