]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - resolv/Versions
hurd: Fix build
[thirdparty/glibc.git] / resolv / Versions
index 2a67677d8e6839a80d904f84781f44a85d6b26bb..9a82704af75f789bc81d9c9c540f9c7b581130c1 100644 (file)
@@ -1,12 +1,5 @@
-%include <tls.h>
-
 libc {
   GLIBC_2.0 {
-%if !(USE_TLS && HAVE___THREAD)
-    # global variables
-    _h_errno;
-%endif
-
     _res;
 
     # helper functions
@@ -17,9 +10,6 @@ libc {
 
     # variables in normal name space
     h_errlist; h_nerr;
-%if !(USE_TLS && HAVE___THREAD)
-    h_errno;
-%endif
 
     # h*
     herror; hstrerror;
@@ -34,12 +24,15 @@ libc {
   GLIBC_PRIVATE {
     __gai_sigqueue;
 
-%if USE_TLS && HAVE___THREAD
-    # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
-    h_errno; __resp;
-%endif
+    __h_errno; __resp;
 
-    __res_maybe_init;
+    __res_iclose;
+    __inet_aton_exact;
+    __inet_pton_length;
+    __resolv_context_get;
+    __resolv_context_get_preinit;
+    __resolv_context_get_override;
+    __resolv_context_put;
   }
 }
 
@@ -74,11 +67,26 @@ libresolv {
   GLIBC_2.3.2 {
     __p_rcode;
   }
+  GLIBC_2.9 {
+    ns_msg_getflag;
+    ns_get16; ns_get32; ns_put16; ns_put32;
+    ns_initparse; ns_skiprr; ns_parserr;
+    ns_sprintrr; ns_sprintrrf;
+    ns_format_ttl; ns_parse_ttl;
+    ns_datetosecs;
+    ns_name_ntol; ns_name_ntop; ns_name_pton;
+    ns_name_unpack; ns_name_pack;
+    ns_name_uncompress; ns_name_compress;
+    ns_name_skip; ns_name_rollback;
+    ns_samedomain; ns_subdomain; ns_makecanon; ns_samename;
+  }
   GLIBC_PRIVATE {
     # Needed in libnss_dns.
     __ns_name_unpack; __ns_name_ntop;
     __ns_get16; __ns_get32;
-    __libc_res_nquery; __libc_res_nsearch;
+    __res_context_query;
+    __res_context_search;
+    __res_context_hostalias;
   }
 }
 
@@ -88,11 +96,13 @@ libnss_dns {
     _nss_dns_gethostbyname3_r;
     _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
     _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
+    _nss_dns_gethostbyaddr2_r;
+    _nss_dns_gethostbyname4_r;
   }
 }
 
 libanl {
   GLIBC_2.2.3 {
-    getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
+    gai_cancel; gai_error; gai_suspend; getaddrinfo_a;
   }
 }