1
/*****************************************************************************
2
* $Id: xgetgrent.h 890 2011-01-20 01:54:21Z chris.m.dunlap $
3
*****************************************************************************
4
* Written by Chris Dunlap <cdunlap@llnl.gov>.
5
* Copyright (C) 2007-2011 Lawrence Livermore National Security, LLC.
6
* Copyright (C) 2002-2007 The Regents of the University of California.
9
* This file is part of the MUNGE Uid 'N' Gid Emporium (MUNGE).
10
* For details, see <http://munge.googlecode.com/>.
12
* MUNGE is free software: you can redistribute it and/or modify it under
13
* the terms of the GNU General Public License as published by the Free
14
* Software Foundation, either version 3 of the License, or (at your option)
15
* any later version. Additionally for the MUNGE library (libmunge), you
16
* can redistribute it and/or modify it under the terms of the GNU Lesser
17
* General Public License as published by the Free Software Foundation,
18
* either version 3 of the License, or (at your option) any later version.
20
* MUNGE is distributed in the hope that it will be useful, but WITHOUT
21
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23
* and GNU Lesser General Public License for more details.
25
* You should have received a copy of the GNU General Public License
26
* and GNU Lesser General Public License along with MUNGE. If not, see
27
* <http://www.gnu.org/licenses/>.
28
*****************************************************************************/
37
/*****************************************************************************
39
*****************************************************************************/
41
int xgetgrent_buf_create (char **buf_p, int *buflen_p);
43
void xgetgrent_buf_destroy (char *buf);
45
void xgetgrent_init (void);
47
void xgetgrent_fini (void);
49
int xgetgrent (struct group *gr, char *buf, size_t buflen);
52
#endif /* !XGETGRENT_H */