1
0
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:
Stefan Metzmacher 2005-02-09 17:29:09 +00:00 committed by Gerald (Jerry) Carter
parent b4928f3ea8
commit 7dbd9e7aab

View File

@ -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) \