5 %if !(USE_TLS && HAVE___THREAD)
15 # functions used in other libraries
18 # variables in normal name space
20 %if !(USE_TLS && HAVE___THREAD)
32 __res_state; __res_init; __res_nclose; __res_ninit; _res_hconf;
37 %if USE_TLS && HAVE___THREAD
38 # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
42 __res_maybe_init; __res_iclose;
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;
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;
66 __sym_ntop; __sym_ntos; __sym_ston;
70 __res_hostalias; __res_mkquery; __res_nmkquery; __res_nquery;
71 __res_nquerydomain; __res_nsearch; __res_nsend; __res_query;
72 __res_querydomain; __res_search;
78 # Needed in libnss_dns.
79 __ns_name_unpack; __ns_name_ntop;
80 __ns_get16; __ns_get32;
81 __libc_res_nquery; __libc_res_nsearch;
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;
96 getaddrinfo_a; gai_cancel; gai_error; gai_suspend;