svn commit: samba r5285 - in branches/SAMBA_4_0/source/include: .
metze at samba.org
metze at samba.org
Wed Feb 9 17:29:10 GMT 2005
Author: metze
Date: 2005-02-09 17:29:09 +0000 (Wed, 09 Feb 2005)
New Revision: 5285
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5285
Log:
add a generic dlist_item struct which has a void *ptr for the data
metze
Modified:
branches/SAMBA_4_0/source/include/dlinklist.h
Changeset:
Modified: branches/SAMBA_4_0/source/include/dlinklist.h
===================================================================
--- branches/SAMBA_4_0/source/include/dlinklist.h 2005-02-09 13:51:14 UTC (rev 5284)
+++ branches/SAMBA_4_0/source/include/dlinklist.h 2005-02-09 17:29:09 UTC (rev 5285)
@@ -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) \
More information about the samba-cvs
mailing list