diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-02-09 17:29:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:36 -0500 |
commit | 73d317e0dae5d9dd30300da9dd19abaaef5db03f (patch) | |
tree | 504bc6e6a980e2ab2ec6ed4c359d910de0f4e1fa /source4/include | |
parent | efd042e9792a96cc1eefe8a120047249a00fc974 (diff) | |
download | samba-73d317e0dae5d9dd30300da9dd19abaaef5db03f.tar.gz samba-73d317e0dae5d9dd30300da9dd19abaaef5db03f.tar.bz2 samba-73d317e0dae5d9dd30300da9dd19abaaef5db03f.zip |
r5285: add a generic dlist_item struct which has a void *ptr for the data
metze
(This used to be commit 7dbd9e7aab0720c76561b4c9a2d38b82b3a8bfe4)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/dlinklist.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) \ |