summaryrefslogtreecommitdiff
path: root/external/bsd/libbind/dist/include/netgroup.h
blob: 19a9ada36a19d4475ed0a5e5c417a45ff67c40a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*	$NetBSD: netgroup.h,v 1.1.1.1 2009/04/12 15:33:32 christos Exp $	*/

#ifndef netgroup_h
#define netgroup_h
#ifndef __GLIBC__

/*
 * The standard is crazy.  These values "belong" to getnetgrent() and
 * shouldn't be altered by the caller.
 */
int getnetgrent __P((/* const */ char **, /* const */ char **,
		     /* const */ char **));

int getnetgrent_r __P((char **, char **, char **, char *, int));

void endnetgrent __P((void));

#ifdef __osf__
int innetgr __P((char *, char *, char *, char *));
void setnetgrent __P((char *));
#else
void setnetgrent __P((const char *));
int innetgr __P((const char *, const char *, const char *, const char *));
#endif
#endif
#endif

/*! \file */