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 3 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, see <http://www.gnu.org/licenses/>.
20 #ifndef _UTIL_GETENT_H
21 #define _UTIL_GETENT_H
23 /* Element for a single linked list of group entries */
24 /* Replace the use of struct group in some cases */
25 /* Used by getgrent_list() */
32 struct sys_grent
*next
;
35 /* Element for a single linked list of passwd entries */
36 /* Replace the use of struct passwd in some cases */
37 /* Used by getpwent_list() */
47 struct sys_pwent
*next
;
50 /* Element for a single linked list of user names in a group. */
51 /* Used to return group lists that may span multiple lines in
53 /* Used by get_users_in_group() */
56 struct sys_userlist
*next
, *prev
;
60 #endif /* _UTIL_GETENT_H */