#define SH_LIST_INSERT_AFTER ( listelm,
elm,
field,
type   ) 

Value:

do {            \
        if ((listelm)->field.sle_next != -1) {                          \
                (elm)->field.sle_next = SH_PTR_TO_OFF(elm,              \
                    SH_LIST_NEXTP(listelm, field, type));               \
                SH_LIST_NEXTP(listelm, field, type)->field.sle_prev =   \
                        SH_LIST_NEXT_TO_PREV(elm, field);               \
        } else                                                          \
                (elm)->field.sle_next = -1;                             \
        (listelm)->field.sle_next = SH_PTR_TO_OFF(listelm, elm);        \
        (elm)->field.sle_prev = SH_LIST_NEXT_TO_PREV(listelm, field);   \
} while (0)

Definition at line 83 of file shqueue.h.

Referenced by CDB___db_shalloc_free().


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