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