Update.
[glibc.git] / resolv / Versions
blobb18c7d78dc74387dd6fdfae7b332abb0d716a02a
1 %include <tls.h>
3 libc {
4   GLIBC_2.0 {
5 %if !(USE_TLS && 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 !(USE_TLS && 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 USE_TLS && HAVE___THREAD
38     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
39     h_errno; __resp;
40 %endif
41   }
44 libresolv {
45   GLIBC_2.0 {
46     _gethtbyaddr; _gethtbyname; _gethtbyname2; _gethtent; _getlong;
47     _getshort; _res_opcodes; _res_resultcodes; _sethtent; dn_expand;
48     inet_net_ntop; inet_net_pton; inet_neta; res_gethostbyaddr;
49     res_gethostbyname; res_gethostbyname2; res_mkquery; res_query;
50     res_querydomain; res_search; res_send_setqhook; res_send_setrhook;
51     # Variables
52     __p_class_syms; __p_type_syms;
53     # Private routines shared between libc/net, named, nslookup and others.
54     __b64_ntop; __b64_pton;
55     __dn_comp;  __dn_count_labels; __dn_skipname;
56     __fp_nquery; __fp_query; __fp_resstat; __hostalias;
57     __loc_aton; __loc_ntoa;
58     __p_cdname; __p_cdnname; __p_class; __p_fqname; __p_fqnname; __p_option;
59     __p_query; __p_rr; __p_secstodate; __p_time; __p_type;
60     __putlong; __putshort;
61     __res_close; __res_dnok; __res_hnok; __res_isourserver; __res_mailok;
62     __res_nameinquery; __res_ownok; __res_queriesmatch;
63     __res_send;
64     __sym_ntop; __sym_ntos; __sym_ston;
65   }
66   GLIBC_2.2 {
67     __dn_expand;
68     __res_hostalias; __res_mkquery; __res_nmkquery; __res_nquery;
69     __res_nquerydomain; __res_nsearch; __res_nsend; __res_query;
70     __res_querydomain; __res_search;
71   }
72   GLIBC_2.3.2 {
73     __p_rcode;
74   }
75   GLIBC_PRIVATE {
76     # Needed in libnss_dns.
77     __ns_name_unpack; __ns_name_ntop;
78     __ns_get16; __ns_samename;
79     __libc_res_nquery; __libc_res_nsearch;
80   }
83 libnss_dns {
84   GLIBC_PRIVATE {
85     _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
86     _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
87     _nss_dns_getnetbyname_r;
88   }
91 libanl {
92   GLIBC_2.2.3 {
93     getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
94   }