Double linked list structure handling macros.
This module conatins some convenience macros for handling double linked list structures. (../include/deds/dllist.h)
Part of the deds library.
#define MX_DLLIST(type)
Double linked list
This macro declares a double linked list structure. The list surrounding type can then be manipulated by the other mx_dllist_* and MX_DLLIST_* macros. The type should be initialized with all zeros. (../include/deds/dllist.h)
#define MX_DLLIST_ELEM(type)
Elements for a double linked list
This macro declares elements for a double linked list structure. This delcaration must be included in a struct with an appropriate type. The surrounding type can then be manipulated by the other mx_dllist_* and MX_DLLIST_* macros. The surrounding type should be initialized with all zeros. (../include/deds/dllist.h)
#define MX_DLLIST_NODE(type,list)
Elements for a double linked list node
This macro declares elements for a double linked list node structure. This delcaration must be included in a struct with an appropriate type. The surrounding type can then be manipulated by the other mx_dllist_* and MX_DLLIST_* macros. The surrounding type should be initialized with all zeros. (../include/deds/dllist.h)
#define MX_DLLIST_APPEND(o,p)
Insert a double linked element into a double linked list
The inserted element is placed at the end of the list. (../include/deds/dllist.h)
#define MX_DLLIST_PREPEND(o,p)
Insert a double linked element into a double linked list
The inserted element is placed at the beginning of the list. (../include/deds/dllist.h)
#define MX_DLLIST_REMOVE(o)
Remove a double linked list element from its list
#define mx_dllist_first(o)
First element of a double linked list.
#define mx_dllist_last(o)
Last element of a double linked list.
#define mx_dllist_next(o)
Next element in the double linked list.
#define mx_dllist_prev(o)
Previous element in the double linked list.
#define mx_dllist_list(o)
List that an element is contained in.
Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007