diff options
author | ume <ume@FreeBSD.org> | 2005-04-27 19:12:57 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-04-27 19:12:57 +0000 |
commit | 1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791 (patch) | |
tree | f1d491d403d53c0fef47cc270774d55fecb9f7c7 /lib/libc/net/netdb_private.h | |
parent | 1fe881be97fa062a16300a9d2185651b35c1e065 (diff) | |
download | FreeBSD-src-1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791.zip FreeBSD-src-1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791.tar.gz |
hide implementation specific internal functions from netdb.h.
it is needed to make get{host,net}by*() thread-safe.
Diffstat (limited to 'lib/libc/net/netdb_private.h')
-rw-r--r-- | lib/libc/net/netdb_private.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/net/netdb_private.h b/lib/libc/net/netdb_private.h index b932620..270b198 100644 --- a/lib/libc/net/netdb_private.h +++ b/lib/libc/net/netdb_private.h @@ -79,6 +79,18 @@ struct servdata { struct protodata *__protodata_init(void); struct servdata *__servdata_init(void); +void _endhostdnsent(void); +void _endhosthtent(void); +void _endnetdnsent(void); +void _endnethtent(void); +struct hostent *_gethostbynisaddr(const char *, int, int); +struct hostent *_gethostbynisname(const char *, int); +void _map_v4v6_address(const char *, char *); +void _map_v4v6_hostent(struct hostent *, char **, char **); +void _sethostdnsent(int); +void _sethosthtent(int); +void _setnetdnsent(int); +void _setnethtent(int); void endprotoent_r(struct protoent_data *); void endservent_r(struct servent_data *); int getprotobyname_r(const char *, struct protoent *, struct protoent_data *); |