diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2003-06-17 08:25:13 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2003-06-17 08:25:13 +0000 |
| commit | 55d70290491b0c3113f72d2be4106edafc59e5fd (patch) | |
| tree | 04f9050731919faa97a44a524d6a4129aea8e98d /contrib/bind/include/netgroup.h | |
| parent | 7f1ab065ebdc6d98a8f6338d1fb90e53d035e034 (diff) | |
Notes
Diffstat (limited to 'contrib/bind/include/netgroup.h')
| -rw-r--r-- | contrib/bind/include/netgroup.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/contrib/bind/include/netgroup.h b/contrib/bind/include/netgroup.h index 30efb9414413..fee6787b3f5d 100644 --- a/contrib/bind/include/netgroup.h +++ b/contrib/bind/include/netgroup.h @@ -1,17 +1,19 @@ #ifndef netgroup_h #define netgroup_h -int getnetgrent(const char **machinep, const char **userp, - const char **domainp); +/* + * 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(char **machinep, char **userp, char **domainp, - char *buffer, int buflen); +int getnetgrent_r __P((char **, char **, char **, char *, int)); -void setnetgrent(const char *netgroup); +void setnetgrent __P((const char *)); -void endnetgrent(void); +void endnetgrent __P((void)); -int innetgr(const char *netgroup, const char *machine, - const char *user, const char *domain); +int innetgr __P((const char *, const char *, const char *, const char *)); #endif |
