mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r5285: add a generic dlist_item struct which has a void *ptr for the data
metze
This commit is contained in:
parent
b4928f3ea8
commit
7dbd9e7aab
@ -21,6 +21,10 @@
|
||||
/* To use these macros you must have a structure containing a next and
|
||||
prev pointer */
|
||||
|
||||
struct dlist_item {
|
||||
struct dlist_item *prev, *next;
|
||||
void *ptr;
|
||||
};
|
||||
|
||||
/* hook into the front of the list */
|
||||
#define DLIST_ADD(list, p) \
|
||||
|
Loading…
Reference in New Issue
Block a user