about summary refs log tree commit diff
path: root/resolv/Versions
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-15 10:10:05 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-15 10:10:05 +0000
commitd1fe1f22192f27425accde26c562f456d835e74a (patch)
tree71f5e13d2d55c9d44a2dda0e73abfb4d2875fc70 /resolv/Versions
parentdc4f1624fce3d89df08923600837cace1329a88d (diff)
downloadglibc-d1fe1f22192f27425accde26c562f456d835e74a.tar.gz
glibc-d1fe1f22192f27425accde26c562f456d835e74a.tar.xz
glibc-d1fe1f22192f27425accde26c562f456d835e74a.zip
Update.
	* nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also
	get ttl and canonical name.  Use these two values.
	* resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns.
	* resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters.
	If nonnull fill with TTL and pointer to canonical name respectively.
	(_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r.
	(_nss_dns_gethostbyname2_r): Just wrapper around
	_nss_dns_gethostbyname3_r.
	(_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r.
	Take two new parameters which as passed to getanswer_r.
Diffstat (limited to 'resolv/Versions')
-rw-r--r--resolv/Versions3
1 files changed, 2 insertions, 1 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 0e4fea5e19..2a67677d8e 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -77,7 +77,7 @@ libresolv {
   GLIBC_PRIVATE {
     # Needed in libnss_dns.
     __ns_name_unpack; __ns_name_ntop;
-    __ns_get16;
+    __ns_get16; __ns_get32;
     __libc_res_nquery; __libc_res_nsearch;
   }
 }
@@ -85,6 +85,7 @@ libresolv {
 libnss_dns {
   GLIBC_PRIVATE {
     _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
+    _nss_dns_gethostbyname3_r;
     _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
     _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
   }