My Project
|
Go to the source code of this file.
Macros | |
#define | OM_LIST_OFFSET(ptr, name_of_offset_field) (ptr != NULL ? ((char*) &(ptr->name_of_offset_field)) - ((char*) ptr) : 0) |
#define | omListLength(ptr) _omListLength(ptr, 0) |
#define | omListLast(ptr) _omListLast(ptr, 0) |
#define | omListHasCycle(ptr) _omListHasCycle(ptr, 0) |
#define | omIsOnList(ptr, addr) _omIsOnList(ptr, 0, addr) |
#define | omRemoveFromList(ptr, addr) _omRemoveFromList(ptr, 0, addr) |
#define | omFindInList(ptr, what, value) _omFindInList(ptr, 0, OM_LIST_OFFSET(ptr, what), (unsigned long) value) |
#define | omInsertInSortedList(ptr, what, addr) _omInsertInSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), addr) |
#define | omFindInSortedList(ptr, what, value) _omFindInSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), value) |
#define | omRemoveFromSortedList(ptr, what, addr) _omRemoveFromSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), addr) |
#define | omTestList(ptr, level) _omCheckList(ptr, 0, level, omError_NoError, OM_FLR) |
#define | omCheckList(ptr, level, report, OM_FLR_VAL) _omCheckList(ptr, 0, level, report, OM_FLR_VAL) |
#define | omCheckSortedList(ptr, what, level, report, OM_FLR_VAL) _omCheckSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), level, report, OM_FLR_VAL) |
#define | omGListLength(ptr, next) _omListLength(ptr, OM_LIST_OFFSET(ptr, next)) |
#define | omGListLast(ptr, next) _omListLast(ptr, OM_LIST_OFFSET(ptr, next)) |
#define | omGListHasCycle(ptr, next) _omListHasCycle(ptr, OM_LIST_OFFSET(ptr, next)) |
#define | omIsOnGList(ptr, next, addr) _omIsOnList(ptr, OM_LIST_OFFSET(ptr, next), addr) |
#define | omRemoveFromGList(ptr, next, addr) _omRemoveFromList(ptr, OM_LIST_OFFSET(ptr, next), addr) |
#define | omFindInGList(ptr, next, what, value) _omFindInList(ptr, OM_LIST_OFFSET(ptr, next), OM_LIST_OFFSET(ptr, what), (unsigned long) value) |
#define | omInsertInSortedGList(ptr, next, what, addr) _omInsertInSortedList(ptr, OM_LIST_OFFSET(ptr, next), OM_LIST_OFFSET(ptr, what), addr) |
#define | omFindInSortedGList(ptr, next, what, value) _omFindInSortedList(ptr, OM_LIST_OFFSET(ptr, next),OM_LIST_OFFSET(ptr,what),value) |
#define | omRemoveFromSortedGList(ptr, next, what, addr) _omRemoveFromSortedList(ptr, OM_LIST_OFFSET(addr,next),OM_LIST_OFFSET(addr,what),addr) |
#define | omTestGList(ptr, next, level) omCheckGList(ptr, next, level, omError_NoError, OM_FLR) |
#define | omCheckGList(ptr, next, level, report, OM_FLR_VAL) _omCheckList(ptr, OM_LIST_OFFSET(ptr,next), level, report, OM_FLR_VAL) |
#define | omCheckSortedGList(ptr, next, what, level, report, OM_FLR_VAL) _omCheckSortedList(ptr, OM_LIST_OFFSET(ptr,next), OM_LIST_OFFSET(ptr,what), level, report, OM_FLR_VAL) |
Functions | |
int | _omListLength (void *list, int next) |
void * | _omListLast (void *list, int next) |
void * | _omListHasCycle (void *list, int next) |
void * | _omIsOnList (void *list, int next, void *addr) |
void * | _omRemoveFromList (void *list, int next, void *addr) |
void * | _omFindInList (void *list, int next, int long_field, unsigned long what) |
void * | _omFindInSortedList (void *list, int next, int long_field, unsigned long what) |
void * | _omRemoveFromSortedList (void *list, int next, int long_field, void *addr) |
void * | _omInsertInSortedList (void *list, int next, int long_field, void *addr) |
omError_t | _omCheckList (void *list, int next, int level, omError_t report, OM_FLR_DECL) |
omError_t | _omCheckSortedList (void *list, int next, int long_field, int level, omError_t report, OM_FLR_DECL) |
#define OM_LIST_OFFSET | ( | ptr, | |
name_of_offset_field | |||
) | (ptr != NULL ? ((char*) &(ptr->name_of_offset_field)) - ((char*) ptr) : 0) |
#define omCheckGList | ( | ptr, | |
next, | |||
level, | |||
report, | |||
OM_FLR_VAL | |||
) | _omCheckList(ptr, OM_LIST_OFFSET(ptr,next), level, report, OM_FLR_VAL) |
#define omCheckList | ( | ptr, | |
level, | |||
report, | |||
OM_FLR_VAL | |||
) | _omCheckList(ptr, 0, level, report, OM_FLR_VAL) |
#define omCheckSortedGList | ( | ptr, | |
next, | |||
what, | |||
level, | |||
report, | |||
OM_FLR_VAL | |||
) | _omCheckSortedList(ptr, OM_LIST_OFFSET(ptr,next), OM_LIST_OFFSET(ptr,what), level, report, OM_FLR_VAL) |
#define omCheckSortedList | ( | ptr, | |
what, | |||
level, | |||
report, | |||
OM_FLR_VAL | |||
) | _omCheckSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), level, report, OM_FLR_VAL) |
#define omFindInGList | ( | ptr, | |
next, | |||
what, | |||
value | |||
) | _omFindInList(ptr, OM_LIST_OFFSET(ptr, next), OM_LIST_OFFSET(ptr, what), (unsigned long) value) |
#define omFindInList | ( | ptr, | |
what, | |||
value | |||
) | _omFindInList(ptr, 0, OM_LIST_OFFSET(ptr, what), (unsigned long) value) |
#define omFindInSortedGList | ( | ptr, | |
next, | |||
what, | |||
value | |||
) | _omFindInSortedList(ptr, OM_LIST_OFFSET(ptr, next),OM_LIST_OFFSET(ptr,what),value) |
#define omFindInSortedList | ( | ptr, | |
what, | |||
value | |||
) | _omFindInSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), value) |
#define omGListHasCycle | ( | ptr, | |
next | |||
) | _omListHasCycle(ptr, OM_LIST_OFFSET(ptr, next)) |
#define omGListLast | ( | ptr, | |
next | |||
) | _omListLast(ptr, OM_LIST_OFFSET(ptr, next)) |
#define omGListLength | ( | ptr, | |
next | |||
) | _omListLength(ptr, OM_LIST_OFFSET(ptr, next)) |
#define omInsertInSortedGList | ( | ptr, | |
next, | |||
what, | |||
addr | |||
) | _omInsertInSortedList(ptr, OM_LIST_OFFSET(ptr, next), OM_LIST_OFFSET(ptr, what), addr) |
#define omInsertInSortedList | ( | ptr, | |
what, | |||
addr | |||
) | _omInsertInSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), addr) |
#define omIsOnGList | ( | ptr, | |
next, | |||
addr | |||
) | _omIsOnList(ptr, OM_LIST_OFFSET(ptr, next), addr) |
#define omIsOnList | ( | ptr, | |
addr | |||
) | _omIsOnList(ptr, 0, addr) |
#define omListHasCycle | ( | ptr | ) | _omListHasCycle(ptr, 0) |
#define omListLast | ( | ptr | ) | _omListLast(ptr, 0) |
#define omListLength | ( | ptr | ) | _omListLength(ptr, 0) |
#define omRemoveFromGList | ( | ptr, | |
next, | |||
addr | |||
) | _omRemoveFromList(ptr, OM_LIST_OFFSET(ptr, next), addr) |
#define omRemoveFromList | ( | ptr, | |
addr | |||
) | _omRemoveFromList(ptr, 0, addr) |
#define omRemoveFromSortedGList | ( | ptr, | |
next, | |||
what, | |||
addr | |||
) | _omRemoveFromSortedList(ptr, OM_LIST_OFFSET(addr,next),OM_LIST_OFFSET(addr,what),addr) |
#define omRemoveFromSortedList | ( | ptr, | |
what, | |||
addr | |||
) | _omRemoveFromSortedList(ptr, 0, OM_LIST_OFFSET(ptr, what), addr) |
#define omTestGList | ( | ptr, | |
next, | |||
level | |||
) | omCheckGList(ptr, next, level, omError_NoError, OM_FLR) |
#define omTestList | ( | ptr, | |
level | |||
) | _omCheckList(ptr, 0, level, omError_NoError, OM_FLR) |
Definition at line 178 of file omList.c.
omError_t _omCheckSortedList | ( | void * | list, |
int | next, | ||
int | long_field, | ||
int | level, | ||
omError_t | report, | ||
OM_FLR_DECL | |||
) |
void * _omFindInList | ( | void * | list, |
int | next, | ||
int | long_field, | ||
unsigned long | what | ||
) |
void * _omFindInSortedList | ( | void * | list, |
int | next, | ||
int | long_field, | ||
unsigned long | what | ||
) |
void * _omInsertInSortedList | ( | void * | list, |
int | next, | ||
int | long_field, | ||
void * | addr | ||
) |
void * _omIsOnList | ( | void * | list, |
int | next, | ||
void * | addr | ||
) |
void * _omListHasCycle | ( | void * | list, |
int | next | ||
) |
void * _omListLast | ( | void * | list, |
int | next | ||
) |
int _omListLength | ( | void * | list, |
int | next | ||
) |
void * _omRemoveFromList | ( | void * | list, |
int | next, | ||
void * | addr | ||
) |
void * _omRemoveFromSortedList | ( | void * | list, |
int | next, | ||
int | long_field, | ||
void * | addr | ||
) |