bind9/lib/bind/include/netgroup.h

27 lines
616 B
C
Raw Normal View History

2001-03-29 01:31:59 -05:00
#ifndef netgroup_h
#define netgroup_h
2004-03-16 00:52:24 -05:00
#ifndef __GLIBC__
2001-03-29 01:31:59 -05:00
2004-03-09 01:30:18 -05:00
/*
* 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 **));
2001-03-29 01:31:59 -05:00
2004-03-09 01:30:18 -05:00
int getnetgrent_r __P((char **, char **, char **, char *, int));
2001-03-29 01:31:59 -05:00
2004-03-09 01:30:18 -05:00
void endnetgrent __P((void));
2001-03-29 01:31:59 -05:00
#ifdef __osf__
int innetgr __P((char *, char *, char *, char *));
void setnetgrent __P((char *));
#else
void setnetgrent __P((const char *));
2004-03-09 01:30:18 -05:00
int innetgr __P((const char *, const char *, const char *, const char *));
2004-03-16 00:52:24 -05:00
#endif
2001-03-29 01:31:59 -05:00
#endif
#endif
/*! \file */