git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd042e
)
r5285: add a generic dlist_item struct which has a void *ptr for the data
author
Stefan Metzmacher
<metze@samba.org>
Wed, 9 Feb 2005 17:29:09 +0000
(17:29 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:09:36 +0000
(13:09 -0500)
metze
(This used to be commit
7dbd9e7aab0720c76561b4c9a2d38b82b3a8bfe4
)
source4/include/dlinklist.h
patch
|
blob
|
history
diff --git
a/source4/include/dlinklist.h
b/source4/include/dlinklist.h
index 04e507947d0105d8db52600c6caffa2b1152fc26..d50a46c5d43c82dad7b35398b0953cb725ed0552 100644
(file)
--- 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) \