Update.
[glibc.git] / resolv / Versions
blobab6a3868023549850d67185bf62f7901967d0b74
1 %include <tls.h>
3 libc {
4   GLIBC_2.0 {
5 %if !(USE_TLS && HAVE___THREAD)
6     # global variables
7     _h_errno; _res;
8 %endif
10     # helper functions
11     __h_errno_location;
13     # functions used in other libraries
14     __res_randomid;
16     # variables in normal name space
17     h_errlist; h_nerr;
18 %if !(USE_TLS && HAVE___THREAD)
19     h_errno;
20 %endif
22     # h*
23     herror; hstrerror;
25     # r*
26     res_init;
27   }
28   GLIBC_2.2 {
29     # r*
30     __res_state; __res_init; __res_nclose; __res_ninit; _res_hconf;
31   }
32   GLIBC_2.3 {
33 %if USE_TLS && HAVE___THREAD
34     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
35     h_errno; _res;
36 %endif
37   }
38   GLIBC_PRIVATE {
39     __gai_sigqueue;
40   }
43 libresolv {
44   GLIBC_2.0 {
45     _gethtbyaddr; _gethtbyname; _gethtbyname2; _gethtent; _getlong;
46     _getshort; _res_opcodes; _res_resultcodes; _sethtent; dn_expand;
47     inet_net_ntop; inet_net_pton; inet_neta; res_gethostbyaddr;
48     res_gethostbyname; res_gethostbyname2; res_mkquery; res_query;
49     res_querydomain; res_search; res_send_setqhook; res_send_setrhook;
50     # Variables
51     __p_class_syms; __p_type_syms;
52     # Private routines shared between libc/net, named, nslookup and others.
53     __b64_ntop; __b64_pton;
54     __dn_comp;  __dn_count_labels; __dn_skipname;
55     __fp_nquery; __fp_query; __fp_resstat; __hostalias;
56     __loc_aton; __loc_ntoa;
57     __p_cdname; __p_cdnname; __p_class; __p_fqname; __p_fqnname; __p_option;
58     __p_query; __p_rr; __p_secstodate; __p_time; __p_type;
59     __putlong; __putshort;
60     __res_close; __res_dnok; __res_hnok; __res_isourserver; __res_mailok;
61     __res_nameinquery; __res_ownok; __res_queriesmatch;
62     __res_send;
63     __sym_ntop; __sym_ntos; __sym_ston;
64   }
65   GLIBC_2.2 {
66     __dn_expand;
67     __res_hostalias; __res_mkquery; __res_nmkquery; __res_nquery;
68     __res_nquerydomain; __res_nsearch; __res_nsend; __res_query;
69     __res_querydomain; __res_search;
70   }
71   GLIBC_PRIVATE {
72     # Needed in libnss_dns.
73     __ns_name_unpack; __ns_name_ntop;
74     __ns_get16; __ns_samename;
75   }
78 libnss_dns {
79   GLIBC_PRIVATE {
80     _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
81     _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
82     _nss_dns_getnetbyname_r;
83   }
86 libanl {
87   GLIBC_2.2.3 {
88     getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
89   }