Double linked list structure handling macros.
This module conatins some convenience macros for handling double linked list structures. (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. (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. (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. (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. (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. (deds/dllist.h)
#define MX_DLLIST_INSERT_AFTER(o,e)
Insert a double linked element after another element
#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.
#define mx_dllist_size(o)
Number of elements in the double linked list.
Generated by MXDOC 2.6 on Wed Apr 25 21:43:00 2007