2.9
[glibc/nacl-glibc.git] / resolv / Versions
blob4b2e5e9dbcbe4e759d5282308b065acc4d332ad7
1 %include <tls.h>
3 libc {
4   GLIBC_2.0 {
5 %if !HAVE___THREAD
6     # global variables
7     _h_errno;
8 %endif
10     _res;
12     # helper functions
13     __h_errno_location;
15     # functions used in other libraries
16     __res_randomid;
18     # variables in normal name space
19     h_errlist; h_nerr;
20 %if !HAVE___THREAD
21     h_errno;
22 %endif
24     # h*
25     herror; hstrerror;
27     # r*
28     res_init;
29   }
30   GLIBC_2.2 {
31     # r*
32     __res_state; __res_init; __res_nclose; __res_ninit; _res_hconf;
33   }
34   GLIBC_PRIVATE {
35     __gai_sigqueue;
37 %if HAVE___THREAD
38     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
39     h_errno; __resp;
40 %endif
42     __res_maybe_init; __res_iclose;
43   }
46 libresolv {
47   GLIBC_2.0 {
48     _gethtbyaddr; _gethtbyname; _gethtbyname2; _gethtent; _getlong;
49     _getshort; _res_opcodes; _res_resultcodes; _sethtent; dn_expand;
50     inet_net_ntop; inet_net_pton; inet_neta; res_gethostbyaddr;
51     res_gethostbyname; res_gethostbyname2; res_mkquery; res_query;
52     res_querydomain; res_search; res_send_setqhook; res_send_setrhook;
53     # Variables
54     __p_class_syms; __p_type_syms;
55     # Private routines shared between libc/net, named, nslookup and others.
56     __b64_ntop; __b64_pton;
57     __dn_comp;  __dn_count_labels; __dn_skipname;
58     __fp_nquery; __fp_query; __fp_resstat; __hostalias;
59     __loc_aton; __loc_ntoa;
60     __p_cdname; __p_cdnname; __p_class; __p_fqname; __p_fqnname; __p_option;
61     __p_query; __p_rr; __p_secstodate; __p_time; __p_type;
62     __putlong; __putshort;
63     __res_close; __res_dnok; __res_hnok; __res_isourserver; __res_mailok;
64     __res_nameinquery; __res_ownok; __res_queriesmatch;
65     __res_send;
66     __sym_ntop; __sym_ntos; __sym_ston;
67   }
68   GLIBC_2.2 {
69     __dn_expand;
70     __res_hostalias; __res_mkquery; __res_nmkquery; __res_nquery;
71     __res_nquerydomain; __res_nsearch; __res_nsend; __res_query;
72     __res_querydomain; __res_search;
73   }
74   GLIBC_2.3.2 {
75     __p_rcode;
76   }
77   GLIBC_2.9 {
78     ns_msg_getflag;
79     ns_get16; ns_get32; ns_put16; ns_put32;
80     ns_initparse; ns_skiprr; ns_parserr;
81     ns_sprintrr; ns_sprintrrf;
82     ns_format_ttl; ns_parse_ttl;
83     ns_datetosecs;
84     ns_name_ntol; ns_name_ntop; ns_name_pton;
85     ns_name_unpack; ns_name_pack;
86     ns_name_uncompress; ns_name_compress;
87     ns_name_skip; ns_name_rollback;
88     ns_samedomain; ns_subdomain; ns_makecanon; ns_samename;
89   }
90   GLIBC_PRIVATE {
91     # Needed in libnss_dns.
92     __ns_name_unpack; __ns_name_ntop;
93     __ns_get16; __ns_get32;
94     __libc_res_nquery; __libc_res_nsearch;
95   }
98 libnss_dns {
99   GLIBC_PRIVATE {
100     _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
101     _nss_dns_gethostbyname3_r;
102     _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
103     _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
104     _nss_dns_gethostbyaddr2_r;
105     _nss_dns_gethostbyname4_r;
106   }
109 libanl {
110   GLIBC_2.2.3 {
111     getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
112   }