Merge from vendor branch GDB:
[dragonfly.git] / contrib / bind-9.2.4rc7 / 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