2 Unix SMB/Netbios implementation.
4 Samba utility functions
5 Copyright (C) Andrew Tridgell 1992-1999
6 Copyright (C) Gerald Carter <jerry@samba.org> 2000
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 /******************************************************************
24 Implementation of a generic list. See lib/util_list.c for
25 details on using this.
26 *****************************************************************/
30 #ifndef _GENERIC_LIST_H
31 #define _GENERIC_LIST_H
36 * node container in list
40 void *data
; /* generic container pointer */
41 uint8 type
; /* needed for identifiers
42 in a hetergenous list */
43 struct _list_node
*next
; /* next in the list */
50 typedef struct _generic_list
{
52 struct _list_node
*head
, *tail
;
59 #endif /* _GENERIC_LIST_H */