]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/bind9/lib/bind/include/netgroup.h
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / bind9 / lib / bind / include / netgroup.h
1 #ifndef netgroup_h
2 #define netgroup_h
3 #ifndef __GLIBC__
4
5 /*
6  * The standard is crazy.  These values "belong" to getnetgrent() and
7  * shouldn't be altered by the caller.
8  */
9 int getnetgrent __P((/* const */ char **, /* const */ char **,
10                      /* const */ char **));
11
12 int getnetgrent_r __P((char **, char **, char **, char *, int));
13
14 void endnetgrent __P((void));
15
16 #ifdef __osf__
17 int innetgr __P((char *, char *, char *, char *));
18 void setnetgrent __P((char *));
19 #else
20 void setnetgrent __P((const char *));
21 int innetgr __P((const char *, const char *, const char *, const char *));
22 #endif
23 #endif
24 #endif
25
26 /*! \file */