2004-04-26 02:53:41 +04:00
|
|
|
#ifndef netgroup_h
|
|
|
|
#define netgroup_h
|
2005-12-17 01:38:13 +03:00
|
|
|
#ifndef __GLIBC__
|
2004-04-26 02:53:41 +04:00
|
|
|
|
2005-12-17 01:38:13 +03: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 **));
|
2004-04-26 02:53:41 +04:00
|
|
|
|
2005-12-17 01:38:13 +03:00
|
|
|
int getnetgrent_r __P((char **, char **, char **, char *, int));
|
2004-04-26 02:53:41 +04:00
|
|
|
|
2005-12-17 01:38:13 +03:00
|
|
|
void endnetgrent __P((void));
|
2004-04-26 02:53:41 +04:00
|
|
|
|
2005-12-17 01:38:13 +03:00
|
|
|
#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
|
2004-04-26 02:53:41 +04:00
|
|
|
#endif
|