#define CIRCLEQ_INSERT_BEFORE ( head,
listelm,
elm,
field   ) 

Value:

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

Definition at line 231 of file queue.h.


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