diff options
Diffstat (limited to 'lib/bind/include/netgroup.h')
-rw-r--r-- | lib/bind/include/netgroup.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/bind/include/netgroup.h b/lib/bind/include/netgroup.h new file mode 100644 index 0000000..e4be459 --- /dev/null +++ b/lib/bind/include/netgroup.h @@ -0,0 +1,26 @@ +#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 */ |