* sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of
[glibc.git] / resolv / Versions
blobfc2111a1cb0ef045355572a87da2e6ed638821a3
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_PRIVATE {
78     # Needed in libnss_dns.
79     __ns_name_unpack; __ns_name_ntop;
80     __ns_get16; __ns_get32;
81     __libc_res_nquery; __libc_res_nsearch;
82   }
85 libnss_dns {
86   GLIBC_PRIVATE {
87     _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
88     _nss_dns_gethostbyname3_r;
89     _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
90     _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
91     _nss_dns_gethostbyaddr2_r;
92   }
95 libanl {
96   GLIBC_2.2.3 {
97     getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
98   }