#define CIRCLEQ_INSERT_HEAD ( head,
elm,
field   ) 

Value:

do {                    \
        (elm)->field.cqe_next = (head)->cqh_first;                      \
        (elm)->field.cqe_prev = (void *)(head);                         \
        if ((head)->cqh_last == (void *)(head))                         \
                (head)->cqh_last = (elm);                               \
        else                                                            \
                (head)->cqh_first->field.cqe_prev = (elm);              \
        (head)->cqh_first = (elm);                                      \
} while (0)

Definition at line 241 of file queue.h.


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