diff options
author | alfred <alfred@FreeBSD.org> | 2001-03-27 09:49:03 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-03-27 09:49:03 +0000 |
commit | 43f4ccfaee466169ae8841b8e98ae2a5fe0c9a56 (patch) | |
tree | 883ae2fc13dd0aeffaa6db346307ed11f1dafea0 /include/netdb.h | |
parent | 1b69226cd64ea455736d76497846e016d6fcf977 (diff) | |
download | FreeBSD-src-43f4ccfaee466169ae8841b8e98ae2a5fe0c9a56.zip FreeBSD-src-43f4ccfaee466169ae8841b8e98ae2a5fe0c9a56.tar.gz |
give the "netgrent" functions a home in netdb.h
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h index 2e3ae67..94c7d39 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -208,6 +208,7 @@ typedef _BSD_SOCKLEN_T_ socklen_t; __BEGIN_DECLS void endhostent __P((void)); void endnetent __P((void)); +void endnetgrent __P((void)); void endprotoent __P((void)); void endservent __P((void)); void freehostent __P((struct hostent *)); @@ -220,6 +221,7 @@ struct hostent *getipnodebyname __P((const char *, int, int, int *)); struct netent *getnetbyaddr __P((unsigned long, int)); struct netent *getnetbyname __P((const char *)); struct netent *getnetent __P((void)); +int getnetgrent __P((char **, char **, char **)); struct protoent *getprotobyname __P((const char *)); struct protoent *getprotobynumber __P((int)); struct protoent *getprotoent __P((void)); @@ -228,6 +230,8 @@ struct servent *getservbyport __P((int, const char *)); struct servent *getservent __P((void)); void herror __P((const char *)); __const char *hstrerror __P((int)); +int innetgr __P((const char *, const char *, const char *, + const char *)); void sethostent __P((int)); /* void sethostfile __P((const char *)); */ void setnetent __P((int)); @@ -238,6 +242,7 @@ int getnameinfo __P((const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int)); void freeaddrinfo __P((struct addrinfo *)); char *gai_strerror __P((int)); +void setnetgrent __P((const char *)); void setservent __P((int)); /* |