From 73d317e0dae5d9dd30300da9dd19abaaef5db03f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 9 Feb 2005 17:29:09 +0000 Subject: r5285: add a generic dlist_item struct which has a void *ptr for the data metze (This used to be commit 7dbd9e7aab0720c76561b4c9a2d38b82b3a8bfe4) --- source4/include/dlinklist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/include') diff --git a/source4/include/dlinklist.h b/source4/include/dlinklist.h index 04e507947d..d50a46c5d4 100644 --- a/source4/include/dlinklist.h +++ b/source4/include/dlinklist.h @@ -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) \ -- cgit