xref: /netbsd-src/external/bsd/libbind/dist/include/netgroup.h (revision b5677b36047b601b9addaaa494a58ceae82c2a6c)
1 /*	$NetBSD: netgroup.h,v 1.1.1.1 2009/04/12 15:33:32 christos Exp $	*/
2 
3 #ifndef netgroup_h
4 #define netgroup_h
5 #ifndef __GLIBC__
6 
7 /*
8  * The standard is crazy.  These values "belong" to getnetgrent() and
9  * shouldn't be altered by the caller.
10  */
11 int getnetgrent __P((/* const */ char **, /* const */ char **,
12 		     /* const */ char **));
13 
14 int getnetgrent_r __P((char **, char **, char **, char *, int));
15 
16 void endnetgrent __P((void));
17 
18 #ifdef __osf__
19 int innetgr __P((char *, char *, char *, char *));
20 void setnetgrent __P((char *));
21 #else
22 void setnetgrent __P((const char *));
23 int innetgr __P((const char *, const char *, const char *, const char *));
24 #endif
25 #endif
26 #endif
27 
28 /*! \file */
29