GNUmifluz: LIST_INSERT_HEAD

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

Value:

do { \
 if (((elm)->field.le_next = (head)->lh_first) != NULL) \
 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
 (head)->lh_first = (elm); \
 (elm)->field.le_prev = &(head)->lh_first; \
} while (0)

Definition at line 108 of file queue.h.

Referenced by CDB___db_txnlist_add(), CDB___db_txnlist_delete(), CDB___db_txnlist_find(), CDB___db_vrfy_getpageinfo(), and CDB_memp_register().


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

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