2 Unix SMB/CIFS implementation.
3 Samba utility functions
4 Copyright (C) Simo Sorce 2001
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef _UTIL_GETENT_H
22 #define _UTIL_GETENT_H
24 /* Element for a single linked list of group entries */
25 /* Replace the use of struct group in some cases */
26 /* Used by getgrent_list() */
33 struct sys_grent
*next
;
36 /* Element for a single linked list of passwd entries */
37 /* Replace the use of struct passwd in some cases */
38 /* Used by getpwent_list() */
48 struct sys_pwent
*next
;
51 /* Element for a single linked list of user names in a group. */
52 /* Used to return group lists that may span multiple lines in
54 /* Used by get_users_in_group() */
57 struct sys_userlist
*next
, *prev
;
61 #endif /* _UTIL_GETENT_H */