<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ldns documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div class="logo"> <img src="LogoInGradientBar2-y100.png"/> </div> <!-- Generated by Doxygen 1.7.4 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_7a7a565456b510ac01baf8655647d8a2.html">ldns</a> </li> </ul> </div> </div> <div class="header"> <div class="headertitle"> <div class="title">config.h</div> </div> </div> <div class="contents"> <a href="ldns_2config_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ldns/config.h. Generated from config.h.in by configure. */</span> <a name="l00002"></a>00002 <span class="comment">/* ldns/config.h.in. Generated from configure.ac by autoheader. */</span> <a name="l00003"></a>00003 <a name="l00004"></a>00004 <span class="comment">/* Define if building universal (internal helper macro) */</span> <a name="l00005"></a>00005 <span class="comment">/* #undef AC_APPLE_UNIVERSAL_BUILD */</span> <a name="l00006"></a>00006 <a name="l00007"></a>00007 <span class="comment">/* Define to 1 if you have the <arpa/inet.h> header file. */</span> <a name="l00008"></a><a class="code" href="ldns_2config_8h.html#a7d1a71461e07569d0c9003da24c30a59">00008</a> <span class="preprocessor">#define HAVE_ARPA_INET_H 1</span> <a name="l00009"></a>00009 <span class="preprocessor"></span> <a name="l00010"></a>00010 <span class="comment">/* Whether the C compiler accepts the "format" attribute */</span> <a name="l00011"></a><a class="code" href="ldns_2config_8h.html#a5bd992705b04ef9e05ca2b5805b7e0a3">00011</a> <span class="preprocessor">#define HAVE_ATTR_FORMAT 1</span> <a name="l00012"></a>00012 <span class="preprocessor"></span> <a name="l00013"></a>00013 <span class="comment">/* Whether the C compiler accepts the "unused" attribute */</span> <a name="l00014"></a><a class="code" href="ldns_2config_8h.html#aad2336bbe6a78e997d3bba570d3d1ab5">00014</a> <span class="preprocessor">#define HAVE_ATTR_UNUSED 1</span> <a name="l00015"></a>00015 <span class="preprocessor"></span> <a name="l00016"></a>00016 <span class="comment">/* Define to 1 if you have the `b32_ntop' function. */</span> <a name="l00017"></a>00017 <span class="comment">/* #undef HAVE_B32_NTOP */</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="comment">/* Define to 1 if you have the `b32_pton' function. */</span> <a name="l00020"></a>00020 <span class="comment">/* #undef HAVE_B32_PTON */</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="comment">/* Define to 1 if you have the `b64_ntop' function. */</span> <a name="l00023"></a>00023 <span class="comment">/* #undef HAVE_B64_NTOP */</span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="comment">/* Define to 1 if you have the `b64_pton' function. */</span> <a name="l00026"></a>00026 <span class="comment">/* #undef HAVE_B64_PTON */</span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="comment">/* Define to 1 if you have the `bzero' function. */</span> <a name="l00029"></a><a class="code" href="ldns_2config_8h.html#ab7d125f3582382d5211ae2a88cccfe1e">00029</a> <span class="preprocessor">#define HAVE_BZERO 1</span> <a name="l00030"></a>00030 <span class="preprocessor"></span> <a name="l00031"></a>00031 <span class="comment">/* Define to 1 if you have the `calloc' function. */</span> <a name="l00032"></a><a class="code" href="ldns_2config_8h.html#a631f7011e0e3afd6f6732e18ea7be4ac">00032</a> <span class="preprocessor">#define HAVE_CALLOC 1</span> <a name="l00033"></a>00033 <span class="preprocessor"></span> <a name="l00034"></a>00034 <span class="comment">/* Define to 1 if you have the `ctime_r' function. */</span> <a name="l00035"></a><a class="code" href="ldns_2config_8h.html#a8a79c39d98948313c7e4ff95576ae60a">00035</a> <span class="preprocessor">#define HAVE_CTIME_R 1</span> <a name="l00036"></a>00036 <span class="preprocessor"></span> <a name="l00037"></a>00037 <span class="comment">/* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you</span> <a name="l00038"></a>00038 <span class="comment"> don't. */</span> <a name="l00039"></a>00039 <span class="comment">/* #undef HAVE_DECL_NID_SECP384R1 */</span> <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="comment">/* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0</span> <a name="l00042"></a>00042 <span class="comment"> if you don't. */</span> <a name="l00043"></a>00043 <span class="comment">/* #undef HAVE_DECL_NID_X9_62_PRIME256V1 */</span> <a name="l00044"></a>00044 <a name="l00045"></a>00045 <span class="comment">/* Define to 1 if you have the <dlfcn.h> header file. */</span> <a name="l00046"></a><a class="code" href="ldns_2config_8h.html#a0ee1617ff2f6885ef384a3dd46f9b9d7">00046</a> <span class="preprocessor">#define HAVE_DLFCN_H 1</span> <a name="l00047"></a>00047 <span class="preprocessor"></span> <a name="l00048"></a>00048 <span class="comment">/* Define to 1 if you have the `endprotoent' function. */</span> <a name="l00049"></a><a class="code" href="ldns_2config_8h.html#a53c6c5631c01bbda161809caa2201b05">00049</a> <span class="preprocessor">#define HAVE_ENDPROTOENT 1</span> <a name="l00050"></a>00050 <span class="preprocessor"></span> <a name="l00051"></a>00051 <span class="comment">/* Define to 1 if you have the `endservent' function. */</span> <a name="l00052"></a><a class="code" href="ldns_2config_8h.html#aa8bd1519745aa4663446c6c009b68696">00052</a> <span class="preprocessor">#define HAVE_ENDSERVENT 1</span> <a name="l00053"></a>00053 <span class="preprocessor"></span> <a name="l00054"></a>00054 <span class="comment">/* Define to 1 if you have the `EVP_sha256' function. */</span> <a name="l00055"></a><a class="code" href="ldns_2config_8h.html#a5c1a9c97e3c4f9fdaaf067cbbe8f9159">00055</a> <span class="preprocessor">#define HAVE_EVP_SHA256 1</span> <a name="l00056"></a>00056 <span class="preprocessor"></span> <a name="l00057"></a>00057 <span class="comment">/* Define to 1 if you have the `fcntl' function. */</span> <a name="l00058"></a><a class="code" href="ldns_2config_8h.html#ab53dd6545477520d29f820298445a440">00058</a> <span class="preprocessor">#define HAVE_FCNTL 1</span> <a name="l00059"></a>00059 <span class="preprocessor"></span> <a name="l00060"></a>00060 <span class="comment">/* Define to 1 if you have the `fork' function. */</span> <a name="l00061"></a><a class="code" href="ldns_2config_8h.html#af5eda00981183c9820f5930f0933c293">00061</a> <span class="preprocessor">#define HAVE_FORK 1</span> <a name="l00062"></a>00062 <span class="preprocessor"></span> <a name="l00063"></a>00063 <span class="comment">/* Whether getaddrinfo is available */</span> <a name="l00064"></a><a class="code" href="ldns_2config_8h.html#ac62dbbadb76e297fbc6978df3fc0e38d">00064</a> <span class="preprocessor">#define HAVE_GETADDRINFO 1</span> <a name="l00065"></a>00065 <span class="preprocessor"></span> <a name="l00066"></a>00066 <span class="comment">/* Define to 1 if you have the <getopt.h> header file. */</span> <a name="l00067"></a><a class="code" href="ldns_2config_8h.html#adef727f8c4ab3443958aaab933f2d12f">00067</a> <span class="preprocessor">#define HAVE_GETOPT_H 1</span> <a name="l00068"></a>00068 <span class="preprocessor"></span> <a name="l00069"></a>00069 <span class="comment">/* Define to 1 if you have the `gmtime_r' function. */</span> <a name="l00070"></a><a class="code" href="ldns_2config_8h.html#a675b25e4a6339ca0cb121ccc9bfbd859">00070</a> <span class="preprocessor">#define HAVE_GMTIME_R 1</span> <a name="l00071"></a>00071 <span class="preprocessor"></span> <a name="l00072"></a>00072 <span class="comment">/* If you have HMAC_CTX_init */</span> <a name="l00073"></a><a class="code" href="ldns_2config_8h.html#a179b3091ee5d36664f14f2747abf6385">00073</a> <span class="preprocessor">#define HAVE_HMAC_CTX_INIT 1</span> <a name="l00074"></a>00074 <span class="preprocessor"></span> <a name="l00075"></a>00075 <span class="comment">/* Define to 1 if you have the `inet_aton' function. */</span> <a name="l00076"></a><a class="code" href="ldns_2config_8h.html#ad719da5884fb483b57d9d1ccdea9ec10">00076</a> <span class="preprocessor">#define HAVE_INET_ATON 1</span> <a name="l00077"></a>00077 <span class="preprocessor"></span> <a name="l00078"></a>00078 <span class="comment">/* Define to 1 if you have the `inet_ntop' function. */</span> <a name="l00079"></a><a class="code" href="ldns_2config_8h.html#a8a52d737cad66d9e7461010dbd91cac5">00079</a> <span class="preprocessor">#define HAVE_INET_NTOP 1</span> <a name="l00080"></a>00080 <span class="preprocessor"></span> <a name="l00081"></a>00081 <span class="comment">/* Define to 1 if you have the `inet_pton' function. */</span> <a name="l00082"></a><a class="code" href="ldns_2config_8h.html#a020e9bafee100ffc0340c48261b474ec">00082</a> <span class="preprocessor">#define HAVE_INET_PTON 1</span> <a name="l00083"></a>00083 <span class="preprocessor"></span> <a name="l00084"></a>00084 <span class="comment">/* Define to 1 if the system has the type `intptr_t'. */</span> <a name="l00085"></a><a class="code" href="ldns_2config_8h.html#a01e4d36bc7027e8ddbf8f5e3bea6821b">00085</a> <span class="preprocessor">#define HAVE_INTPTR_T 1</span> <a name="l00086"></a>00086 <span class="preprocessor"></span> <a name="l00087"></a>00087 <span class="comment">/* define if you have inttypes.h */</span> <a name="l00088"></a><a class="code" href="ldns_2config_8h.html#ab90a030ff2790ebdc176660a6dd2a478">00088</a> <span class="preprocessor">#define HAVE_INTTYPES_H 1</span> <a name="l00089"></a>00089 <span class="preprocessor"></span> <a name="l00090"></a>00090 <span class="comment">/* if the function 'ioctlsocket' is available */</span> <a name="l00091"></a>00091 <span class="comment">/* #undef HAVE_IOCTLSOCKET */</span> <a name="l00092"></a>00092 <a name="l00093"></a>00093 <span class="comment">/* Define to 1 if you have the `isascii' function. */</span> <a name="l00094"></a><a class="code" href="ldns_2config_8h.html#a7ed84328487cc4d13c1a422d6d44d28c">00094</a> <span class="preprocessor">#define HAVE_ISASCII 1</span> <a name="l00095"></a>00095 <span class="preprocessor"></span> <a name="l00096"></a>00096 <span class="comment">/* Define to 1 if you have the `isblank' function. */</span> <a name="l00097"></a><a class="code" href="ldns_2config_8h.html#a95e96283574b8b96b6cd1659f9788307">00097</a> <span class="preprocessor">#define HAVE_ISBLANK 1</span> <a name="l00098"></a>00098 <span class="preprocessor"></span> <a name="l00099"></a>00099 <span class="comment">/* Define to 1 if you have the `pcap' library (-lpcap). */</span> <a name="l00100"></a>00100 <span class="comment">/* #undef HAVE_LIBPCAP */</span> <a name="l00101"></a>00101 <a name="l00102"></a>00102 <span class="comment">/* Define to 1 if you have the `localtime_r' function. */</span> <a name="l00103"></a><a class="code" href="ldns_2config_8h.html#a9998e788d1738e06ada9064cea53af2e">00103</a> <span class="preprocessor">#define HAVE_LOCALTIME_R 1</span> <a name="l00104"></a>00104 <span class="preprocessor"></span> <a name="l00105"></a>00105 <span class="comment">/* Define to 1 if your system has a GNU libc compatible `malloc' function, and</span> <a name="l00106"></a>00106 <span class="comment"> to 0 otherwise. */</span> <a name="l00107"></a><a class="code" href="ldns_2config_8h.html#a14503280ca0cb757db915eea09282bfc">00107</a> <span class="preprocessor">#define HAVE_MALLOC 1</span> <a name="l00108"></a>00108 <span class="preprocessor"></span> <a name="l00109"></a>00109 <span class="comment">/* Define to 1 if you have the `memmove' function. */</span> <a name="l00110"></a><a class="code" href="ldns_2config_8h.html#a7b300f836d3d79d0d9b0039a6b842ded">00110</a> <span class="preprocessor">#define HAVE_MEMMOVE 1</span> <a name="l00111"></a>00111 <span class="preprocessor"></span> <a name="l00112"></a>00112 <span class="comment">/* Define to 1 if you have the <memory.h> header file. */</span> <a name="l00113"></a><a class="code" href="ldns_2config_8h.html#ae93a78f9d076138897af441c9f86f285">00113</a> <span class="preprocessor">#define HAVE_MEMORY_H 1</span> <a name="l00114"></a>00114 <span class="preprocessor"></span> <a name="l00115"></a>00115 <span class="comment">/* Define to 1 if you have the `memset' function. */</span> <a name="l00116"></a><a class="code" href="ldns_2config_8h.html#a3df52e9809253860c385be6f3a160607">00116</a> <span class="preprocessor">#define HAVE_MEMSET 1</span> <a name="l00117"></a>00117 <span class="preprocessor"></span> <a name="l00118"></a>00118 <span class="comment">/* Define to 1 if you have the <netdb.h> header file. */</span> <a name="l00119"></a><a class="code" href="ldns_2config_8h.html#a9fe2d1d4726a6b846483a2276866dc6e">00119</a> <span class="preprocessor">#define HAVE_NETDB_H 1</span> <a name="l00120"></a>00120 <span class="preprocessor"></span> <a name="l00121"></a>00121 <span class="comment">/* Define to 1 if you have the <netinet/if_ether.h> header file. */</span> <a name="l00122"></a>00122 <span class="comment">/* #undef HAVE_NETINET_IF_ETHER_H */</span> <a name="l00123"></a>00123 <a name="l00124"></a>00124 <span class="comment">/* Define to 1 if you have the <netinet/igmp.h> header file. */</span> <a name="l00125"></a>00125 <span class="comment">/* #undef HAVE_NETINET_IGMP_H */</span> <a name="l00126"></a>00126 <a name="l00127"></a>00127 <span class="comment">/* Define to 1 if you have the <netinet/in.h> header file. */</span> <a name="l00128"></a><a class="code" href="ldns_2config_8h.html#a0938658b988a082864efcee2d1b2bfd2">00128</a> <span class="preprocessor">#define HAVE_NETINET_IN_H 1</span> <a name="l00129"></a>00129 <span class="preprocessor"></span> <a name="l00130"></a>00130 <span class="comment">/* Define to 1 if you have the <netinet/in_systm.h> header file. */</span> <a name="l00131"></a>00131 <span class="comment">/* #undef HAVE_NETINET_IN_SYSTM_H */</span> <a name="l00132"></a>00132 <a name="l00133"></a>00133 <span class="comment">/* Define to 1 if you have the <netinet/ip6.h> header file. */</span> <a name="l00134"></a>00134 <span class="comment">/* #undef HAVE_NETINET_IP6_H */</span> <a name="l00135"></a>00135 <a name="l00136"></a>00136 <span class="comment">/* Define to 1 if you have the <netinet/ip_compat.h> header file. */</span> <a name="l00137"></a>00137 <span class="comment">/* #undef HAVE_NETINET_IP_COMPAT_H */</span> <a name="l00138"></a>00138 <a name="l00139"></a>00139 <span class="comment">/* Define to 1 if you have the <netinet/ip.h> header file. */</span> <a name="l00140"></a>00140 <span class="comment">/* #undef HAVE_NETINET_IP_H */</span> <a name="l00141"></a>00141 <a name="l00142"></a>00142 <span class="comment">/* Define to 1 if you have the <netinet/udp.h> header file. */</span> <a name="l00143"></a>00143 <span class="comment">/* #undef HAVE_NETINET_UDP_H */</span> <a name="l00144"></a>00144 <a name="l00145"></a>00145 <span class="comment">/* Define to 1 if you have the <net/ethernet.h> header file. */</span> <a name="l00146"></a>00146 <span class="comment">/* #undef HAVE_NET_ETHERNET_H */</span> <a name="l00147"></a>00147 <a name="l00148"></a>00148 <span class="comment">/* Define to 1 if you have the <net/if.h> header file. */</span> <a name="l00149"></a>00149 <span class="comment">/* #undef HAVE_NET_IF_H */</span> <a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="comment">/* Define to 1 if you have the <openssl/err.h> header file. */</span> <a name="l00152"></a><a class="code" href="ldns_2config_8h.html#ac4a48c6c71e3db1600647f7718269ca2">00152</a> <span class="preprocessor">#define HAVE_OPENSSL_ERR_H 1</span> <a name="l00153"></a>00153 <span class="preprocessor"></span> <a name="l00154"></a>00154 <span class="comment">/* Define to 1 if you have the <openssl/rand.h> header file. */</span> <a name="l00155"></a><a class="code" href="ldns_2config_8h.html#ac3d726fa95f1880fab8bf27e3f755e11">00155</a> <span class="preprocessor">#define HAVE_OPENSSL_RAND_H 1</span> <a name="l00156"></a>00156 <span class="preprocessor"></span> <a name="l00157"></a>00157 <span class="comment">/* Define to 1 if you have the <openssl/ssl.h> header file. */</span> <a name="l00158"></a><a class="code" href="ldns_2config_8h.html#abf1ad403543bc95873ae1fc09fc59995">00158</a> <span class="preprocessor">#define HAVE_OPENSSL_SSL_H 1</span> <a name="l00159"></a>00159 <span class="preprocessor"></span> <a name="l00160"></a>00160 <span class="comment">/* Define to 1 if you have the <pcap.h> header file. */</span> <a name="l00161"></a>00161 <span class="comment">/* #undef HAVE_PCAP_H */</span> <a name="l00162"></a>00162 <a name="l00163"></a>00163 <span class="comment">/* If available, contains the Python version number currently in use. */</span> <a name="l00164"></a><a class="code" href="ldns_2config_8h.html#a693c2fe86c8ace0c706fa42efecc1b23">00164</a> <span class="preprocessor">#define HAVE_PYTHON "2.7"</span> <a name="l00165"></a>00165 <span class="preprocessor"></span> <a name="l00166"></a>00166 <span class="comment">/* Define to 1 if you have the `random' function. */</span> <a name="l00167"></a><a class="code" href="ldns_2config_8h.html#a635a22df95c3b9f98ab0c4961292d027">00167</a> <span class="preprocessor">#define HAVE_RANDOM 1</span> <a name="l00168"></a>00168 <span class="preprocessor"></span> <a name="l00169"></a>00169 <span class="comment">/* Define to 1 if your system has a GNU libc compatible `realloc' function,</span> <a name="l00170"></a>00170 <span class="comment"> and to 0 otherwise. */</span> <a name="l00171"></a><a class="code" href="ldns_2config_8h.html#a0302094a0ee567c610a36c63104ebda5">00171</a> <span class="preprocessor">#define HAVE_REALLOC 1</span> <a name="l00172"></a>00172 <span class="preprocessor"></span> <a name="l00173"></a>00173 <span class="comment">/* Define to 1 if you have the `sleep' function. */</span> <a name="l00174"></a><a class="code" href="ldns_2config_8h.html#a3f166fb1b42375a96e050c1fb6f1dbb1">00174</a> <span class="preprocessor">#define HAVE_SLEEP 1</span> <a name="l00175"></a>00175 <span class="preprocessor"></span> <a name="l00176"></a>00176 <span class="comment">/* Define to 1 if you have the `snprintf' function. */</span> <a name="l00177"></a><a class="code" href="ldns_2config_8h.html#a040bd9182ad5ba7261448993c38565ea">00177</a> <span class="preprocessor">#define HAVE_SNPRINTF 1</span> <a name="l00178"></a>00178 <span class="preprocessor"></span> <a name="l00179"></a>00179 <span class="comment">/* Define if you have the SSL libraries installed. */</span> <a name="l00180"></a><a class="code" href="ldns_2config_8h.html#aa058825ceeafdb44c2388964f45631fc">00180</a> <span class="preprocessor">#define HAVE_SSL </span> <a name="l00181"></a>00181 <span class="preprocessor"></span> <a name="l00182"></a>00182 <span class="comment">/* Define to 1 if you have the <stdarg.h> header file. */</span> <a name="l00183"></a><a class="code" href="ldns_2config_8h.html#a3a3f8c7f8da8cac799fb620a2dbf2b15">00183</a> <span class="preprocessor">#define HAVE_STDARG_H 1</span> <a name="l00184"></a>00184 <span class="preprocessor"></span> <a name="l00185"></a>00185 <span class="comment">/* Define to 1 if stdbool.h conforms to C99. */</span> <a name="l00186"></a><a class="code" href="ldns_2config_8h.html#a8c3fa1b2f1be8c6f6929548c548cf50a">00186</a> <span class="preprocessor">#define HAVE_STDBOOL_H 1</span> <a name="l00187"></a>00187 <span class="preprocessor"></span> <a name="l00188"></a>00188 <span class="comment">/* Define to 1 if you have the <stdint.h> header file. */</span> <a name="l00189"></a><a class="code" href="ldns_2config_8h.html#ab6cd6d1c63c1e26ea2d4537b77148354">00189</a> <span class="preprocessor">#define HAVE_STDINT_H 1</span> <a name="l00190"></a>00190 <span class="preprocessor"></span> <a name="l00191"></a>00191 <span class="comment">/* Define to 1 if you have the <stdlib.h> header file. */</span> <a name="l00192"></a><a class="code" href="ldns_2config_8h.html#a9e0e434ec1a6ddbd97db12b5a32905e0">00192</a> <span class="preprocessor">#define HAVE_STDLIB_H 1</span> <a name="l00193"></a>00193 <span class="preprocessor"></span> <a name="l00194"></a>00194 <span class="comment">/* Define to 1 if you have the <strings.h> header file. */</span> <a name="l00195"></a><a class="code" href="ldns_2config_8h.html#a405d10d46190bcb0320524c54eafc850">00195</a> <span class="preprocessor">#define HAVE_STRINGS_H 1</span> <a name="l00196"></a>00196 <span class="preprocessor"></span> <a name="l00197"></a>00197 <span class="comment">/* Define to 1 if you have the <string.h> header file. */</span> <a name="l00198"></a><a class="code" href="ldns_2config_8h.html#ad4c234dd1625255dc626a15886306e7d">00198</a> <span class="preprocessor">#define HAVE_STRING_H 1</span> <a name="l00199"></a>00199 <span class="preprocessor"></span> <a name="l00200"></a>00200 <span class="comment">/* Define to 1 if you have the `strlcpy' function. */</span> <a name="l00201"></a>00201 <span class="comment">/* #undef HAVE_STRLCPY */</span> <a name="l00202"></a>00202 <a name="l00203"></a>00203 <span class="comment">/* Define to 1 if you have the `strtoul' function. */</span> <a name="l00204"></a><a class="code" href="ldns_2config_8h.html#a0f08977476bc5b181092cf8b3ddaf368">00204</a> <span class="preprocessor">#define HAVE_STRTOUL 1</span> <a name="l00205"></a>00205 <span class="preprocessor"></span> <a name="l00206"></a>00206 <span class="comment">/* Define if you have SWIG libraries and header files. */</span> <a name="l00207"></a><a class="code" href="ldns_2config_8h.html#a803e0b66b734fcf6f10ee52b12295205">00207</a> <span class="preprocessor">#define HAVE_SWIG 1</span> <a name="l00208"></a>00208 <span class="preprocessor"></span> <a name="l00209"></a>00209 <span class="comment">/* Define to 1 if you have the <sys/mount.h> header file. */</span> <a name="l00210"></a><a class="code" href="ldns_2config_8h.html#a1d7fe6193d3d835b688db4414cf12019">00210</a> <span class="preprocessor">#define HAVE_SYS_MOUNT_H 1</span> <a name="l00211"></a>00211 <span class="preprocessor"></span> <a name="l00212"></a>00212 <span class="comment">/* Define to 1 if you have the <sys/param.h> header file. */</span> <a name="l00213"></a><a class="code" href="ldns_2config_8h.html#a05aa9fc25e1231d8eb347390558e4e22">00213</a> <span class="preprocessor">#define HAVE_SYS_PARAM_H 1</span> <a name="l00214"></a>00214 <span class="preprocessor"></span> <a name="l00215"></a>00215 <span class="comment">/* define if you have sys/socket.h */</span> <a name="l00216"></a><a class="code" href="ldns_2config_8h.html#afb96c2bc08ebf33cca68c714f624a58d">00216</a> <span class="preprocessor">#define HAVE_SYS_SOCKET_H 1</span> <a name="l00217"></a>00217 <span class="preprocessor"></span> <a name="l00218"></a>00218 <span class="comment">/* Define to 1 if you have the <sys/stat.h> header file. */</span> <a name="l00219"></a><a class="code" href="ldns_2config_8h.html#ace156430ba007d19b4348a950d0c692b">00219</a> <span class="preprocessor">#define HAVE_SYS_STAT_H 1</span> <a name="l00220"></a>00220 <span class="preprocessor"></span> <a name="l00221"></a>00221 <span class="comment">/* define if you have sys/types.h */</span> <a name="l00222"></a><a class="code" href="ldns_2config_8h.html#a69dc70bea5d1f8bd2be9740e974fa666">00222</a> <span class="preprocessor">#define HAVE_SYS_TYPES_H 1</span> <a name="l00223"></a>00223 <span class="preprocessor"></span> <a name="l00224"></a>00224 <span class="comment">/* Define to 1 if you have the `timegm' function. */</span> <a name="l00225"></a><a class="code" href="ldns_2config_8h.html#a89307e599d4e4a8b401a639dba04b618">00225</a> <span class="preprocessor">#define HAVE_TIMEGM 1</span> <a name="l00226"></a>00226 <span class="preprocessor"></span> <a name="l00227"></a>00227 <span class="comment">/* Define to 1 if you have the <time.h> header file. */</span> <a name="l00228"></a><a class="code" href="ldns_2config_8h.html#a2397007ae170bf57faa808bacaaa2499">00228</a> <span class="preprocessor">#define HAVE_TIME_H 1</span> <a name="l00229"></a>00229 <span class="preprocessor"></span> <a name="l00230"></a>00230 <span class="comment">/* define if you have unistd.h */</span> <a name="l00231"></a><a class="code" href="ldns_2config_8h.html#a219b06937831d0da94d801ab13987639">00231</a> <span class="preprocessor">#define HAVE_UNISTD_H 1</span> <a name="l00232"></a>00232 <span class="preprocessor"></span> <a name="l00233"></a>00233 <span class="comment">/* Define to 1 if you have the `vfork' function. */</span> <a name="l00234"></a><a class="code" href="ldns_2config_8h.html#a6e660eb97fa8ec4462facdd5d3721aed">00234</a> <span class="preprocessor">#define HAVE_VFORK 1</span> <a name="l00235"></a>00235 <span class="preprocessor"></span> <a name="l00236"></a>00236 <span class="comment">/* Define to 1 if you have the <vfork.h> header file. */</span> <a name="l00237"></a>00237 <span class="comment">/* #undef HAVE_VFORK_H */</span> <a name="l00238"></a>00238 <a name="l00239"></a>00239 <span class="comment">/* Define to 1 if you have the <winsock2.h> header file. */</span> <a name="l00240"></a>00240 <span class="comment">/* #undef HAVE_WINSOCK2_H */</span> <a name="l00241"></a>00241 <a name="l00242"></a>00242 <span class="comment">/* Define to 1 if `fork' works. */</span> <a name="l00243"></a><a class="code" href="ldns_2config_8h.html#ac5b8a9a863350e942e04a4ad13fe905a">00243</a> <span class="preprocessor">#define HAVE_WORKING_FORK 1</span> <a name="l00244"></a>00244 <span class="preprocessor"></span> <a name="l00245"></a>00245 <span class="comment">/* Define to 1 if `vfork' works. */</span> <a name="l00246"></a><a class="code" href="ldns_2config_8h.html#a3f110f0b36f0c6ef25501e5a10e9a0de">00246</a> <span class="preprocessor">#define HAVE_WORKING_VFORK 1</span> <a name="l00247"></a>00247 <span class="preprocessor"></span> <a name="l00248"></a>00248 <span class="comment">/* Define to 1 if you have the <ws2tcpip.h> header file. */</span> <a name="l00249"></a>00249 <span class="comment">/* #undef HAVE_WS2TCPIP_H */</span> <a name="l00250"></a>00250 <a name="l00251"></a>00251 <span class="comment">/* Define to 1 if the system has the type `_Bool'. */</span> <a name="l00252"></a><a class="code" href="ldns_2config_8h.html#a862ffdbac7ac8323712310a418b7d9a3">00252</a> <span class="preprocessor">#define HAVE__BOOL 1</span> <a name="l00253"></a>00253 <span class="preprocessor"></span> <a name="l00254"></a>00254 <span class="comment">/* Define to the sub-directory in which libtool stores uninstalled libraries.</span> <a name="l00255"></a>00255 <span class="comment"> */</span> <a name="l00256"></a><a class="code" href="ldns_2config_8h.html#ac2d5925d76379847dd9fc4747b061659">00256</a> <span class="preprocessor">#define LT_OBJDIR ".libs/"</span> <a name="l00257"></a>00257 <span class="preprocessor"></span> <a name="l00258"></a>00258 <span class="comment">/* Define to the address where bug reports for this package should be sent. */</span> <a name="l00259"></a><a class="code" href="ldns_2config_8h.html#a1d1d2d7f8d2f95b376954d649ab03233">00259</a> <span class="preprocessor">#define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl"</span> <a name="l00260"></a>00260 <span class="preprocessor"></span> <a name="l00261"></a>00261 <span class="comment">/* Define to the full name of this package. */</span> <a name="l00262"></a><a class="code" href="ldns_2config_8h.html#a1c0439e4355794c09b64274849eb0279">00262</a> <span class="preprocessor">#define PACKAGE_NAME "ldns"</span> <a name="l00263"></a>00263 <span class="preprocessor"></span> <a name="l00264"></a>00264 <span class="comment">/* Define to the full name and version of this package. */</span> <a name="l00265"></a><a class="code" href="ldns_2config_8h.html#ac73e6f903c16eca7710f92e36e1c6fbf">00265</a> <span class="preprocessor">#define PACKAGE_STRING "ldns 1.6.12"</span> <a name="l00266"></a>00266 <span class="preprocessor"></span> <a name="l00267"></a>00267 <span class="comment">/* Define to the one symbol short name of this package. */</span> <a name="l00268"></a><a class="code" href="ldns_2config_8h.html#af415af6bfede0e8d5453708afe68651c">00268</a> <span class="preprocessor">#define PACKAGE_TARNAME "libdns"</span> <a name="l00269"></a>00269 <span class="preprocessor"></span> <a name="l00270"></a>00270 <span class="comment">/* Define to the home page for this package. */</span> <a name="l00271"></a><a class="code" href="ldns_2config_8h.html#a5c93853116d5a50307b6744f147840aa">00271</a> <span class="preprocessor">#define PACKAGE_URL ""</span> <a name="l00272"></a>00272 <span class="preprocessor"></span> <a name="l00273"></a>00273 <span class="comment">/* Define to the version of this package. */</span> <a name="l00274"></a><a class="code" href="ldns_2config_8h.html#aa326a05d5e30f9e9a4bb0b4469d5d0c0">00274</a> <span class="preprocessor">#define PACKAGE_VERSION "1.6.12"</span> <a name="l00275"></a>00275 <span class="preprocessor"></span> <a name="l00276"></a>00276 <span class="comment">/* The size of `time_t', as computed by sizeof. */</span> <a name="l00277"></a><a class="code" href="ldns_2config_8h.html#aa5a0fea316e3f6331639070f5d16a055">00277</a> <span class="preprocessor">#define SIZEOF_TIME_T 4</span> <a name="l00278"></a>00278 <span class="preprocessor"></span> <a name="l00279"></a>00279 <span class="comment">/* Define to 1 if you have the ANSI C header files. */</span> <a name="l00280"></a><a class="code" href="ldns_2config_8h.html#a550e5c272cc3cf3814651721167dcd23">00280</a> <span class="preprocessor">#define STDC_HEADERS 1</span> <a name="l00281"></a>00281 <span class="preprocessor"></span> <a name="l00282"></a>00282 <span class="comment">/* System configuration dir */</span> <a name="l00283"></a><a class="code" href="ldns_2config_8h.html#a2f62cb1c6f014272be957f002103552e">00283</a> <span class="preprocessor">#define SYSCONFDIR sysconfdir</span> <a name="l00284"></a>00284 <span class="preprocessor"></span> <a name="l00285"></a>00285 <span class="comment">/* Define this to enable ECDSA support. */</span> <a name="l00286"></a>00286 <span class="comment">/* #undef USE_ECDSA */</span> <a name="l00287"></a>00287 <a name="l00288"></a>00288 <span class="comment">/* Define this to enable GOST support. */</span> <a name="l00289"></a>00289 <span class="comment">/* #undef USE_GOST */</span> <a name="l00290"></a>00290 <a name="l00291"></a>00291 <span class="comment">/* Define this to enable SHA256 and SHA512 support. */</span> <a name="l00292"></a><a class="code" href="ldns_2config_8h.html#aeec6c35e7cf80932ee3e031c3c36787e">00292</a> <span class="preprocessor">#define USE_SHA2 1</span> <a name="l00293"></a>00293 <span class="preprocessor"></span> <a name="l00294"></a>00294 <span class="comment">/* Enable extensions on AIX 3, Interix. */</span> <a name="l00295"></a>00295 <span class="preprocessor">#ifndef _ALL_SOURCE</span> <a name="l00296"></a>00296 <span class="preprocessor"></span><span class="preprocessor"># define _ALL_SOURCE 1</span> <a name="l00297"></a>00297 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00298"></a>00298 <span class="preprocessor"></span><span class="comment">/* Enable GNU extensions on systems that have them. */</span> <a name="l00299"></a>00299 <span class="preprocessor">#ifndef _GNU_SOURCE</span> <a name="l00300"></a>00300 <span class="preprocessor"></span><span class="preprocessor"># define _GNU_SOURCE 1</span> <a name="l00301"></a>00301 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00302"></a>00302 <span class="preprocessor"></span><span class="comment">/* Enable threading extensions on Solaris. */</span> <a name="l00303"></a>00303 <span class="preprocessor">#ifndef _POSIX_PTHREAD_SEMANTICS</span> <a name="l00304"></a>00304 <span class="preprocessor"></span><span class="preprocessor"># define _POSIX_PTHREAD_SEMANTICS 1</span> <a name="l00305"></a>00305 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00306"></a>00306 <span class="preprocessor"></span><span class="comment">/* Enable extensions on HP NonStop. */</span> <a name="l00307"></a>00307 <span class="preprocessor">#ifndef _TANDEM_SOURCE</span> <a name="l00308"></a>00308 <span class="preprocessor"></span><span class="preprocessor"># define _TANDEM_SOURCE 1</span> <a name="l00309"></a>00309 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00310"></a>00310 <span class="preprocessor"></span><span class="comment">/* Enable general extensions on Solaris. */</span> <a name="l00311"></a>00311 <span class="preprocessor">#ifndef __EXTENSIONS__</span> <a name="l00312"></a>00312 <span class="preprocessor"></span><span class="preprocessor"># define __EXTENSIONS__ 1</span> <a name="l00313"></a>00313 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00314"></a>00314 <span class="preprocessor"></span> <a name="l00315"></a>00315 <a name="l00316"></a>00316 <span class="comment">/* Whether the windows socket API is used */</span> <a name="l00317"></a>00317 <span class="comment">/* #undef USE_WINSOCK */</span> <a name="l00318"></a>00318 <a name="l00319"></a>00319 <span class="comment">/* the version of the windows API enabled */</span> <a name="l00320"></a><a class="code" href="ldns_2config_8h.html#a966cd377b9f3fdeb1432460c33352af1">00320</a> <span class="preprocessor">#define WINVER 0x0502</span> <a name="l00321"></a>00321 <span class="preprocessor"></span> <a name="l00322"></a>00322 <span class="comment">/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most</span> <a name="l00323"></a>00323 <span class="comment"> significant byte first (like Motorola and SPARC, unlike Intel). */</span> <a name="l00324"></a>00324 <span class="preprocessor">#if defined AC_APPLE_UNIVERSAL_BUILD</span> <a name="l00325"></a>00325 <span class="preprocessor"></span><span class="preprocessor"># if defined __BIG_ENDIAN__</span> <a name="l00326"></a>00326 <span class="preprocessor"></span><span class="preprocessor"># define WORDS_BIGENDIAN 1</span> <a name="l00327"></a>00327 <span class="preprocessor"></span><span class="preprocessor"># endif</span> <a name="l00328"></a>00328 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00329"></a>00329 <span class="preprocessor"></span><span class="preprocessor"># ifndef WORDS_BIGENDIAN</span> <a name="l00330"></a>00330 <span class="preprocessor"></span><span class="comment">/* # undef WORDS_BIGENDIAN */</span> <a name="l00331"></a>00331 <span class="preprocessor"># endif</span> <a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00333"></a>00333 <span class="preprocessor"></span> <a name="l00334"></a>00334 <span class="comment">/* Define to 1 if on MINIX. */</span> <a name="l00335"></a>00335 <span class="comment">/* #undef _MINIX */</span> <a name="l00336"></a>00336 <a name="l00337"></a>00337 <span class="comment">/* Define to 2 if the system does not provide POSIX.1 features except with</span> <a name="l00338"></a>00338 <span class="comment"> this defined. */</span> <a name="l00339"></a>00339 <span class="comment">/* #undef _POSIX_1_SOURCE */</span> <a name="l00340"></a>00340 <a name="l00341"></a>00341 <span class="comment">/* Define to 1 if you need to in order for `stat' and other things to work. */</span> <a name="l00342"></a>00342 <span class="comment">/* #undef _POSIX_SOURCE */</span> <a name="l00343"></a>00343 <a name="l00344"></a>00344 <span class="comment">/* Define to empty if `const' does not conform to ANSI C. */</span> <a name="l00345"></a>00345 <span class="comment">/* #undef const */</span> <a name="l00346"></a>00346 <a name="l00347"></a>00347 <span class="comment">/* in_addr_t */</span> <a name="l00348"></a>00348 <span class="comment">/* #undef in_addr_t */</span> <a name="l00349"></a>00349 <a name="l00350"></a>00350 <span class="comment">/* in_port_t */</span> <a name="l00351"></a>00351 <span class="comment">/* #undef in_port_t */</span> <a name="l00352"></a>00352 <a name="l00353"></a>00353 <span class="comment">/* Define to `__inline__' or `__inline' if that's what the C compiler</span> <a name="l00354"></a>00354 <span class="comment"> calls it, or to nothing if 'inline' is not supported under any name. */</span> <a name="l00355"></a>00355 <span class="preprocessor">#ifndef __cplusplus</span> <a name="l00356"></a>00356 <span class="preprocessor"></span><span class="comment">/* #undef inline */</span> <a name="l00357"></a>00357 <span class="preprocessor">#endif</span> <a name="l00358"></a>00358 <span class="preprocessor"></span> <a name="l00359"></a>00359 <span class="comment">/* Define to `short' if <sys/types.h> does not define. */</span> <a name="l00360"></a>00360 <span class="comment">/* #undef int16_t */</span> <a name="l00361"></a>00361 <a name="l00362"></a>00362 <span class="comment">/* Define to `int' if <sys/types.h> does not define. */</span> <a name="l00363"></a>00363 <span class="comment">/* #undef int32_t */</span> <a name="l00364"></a>00364 <a name="l00365"></a>00365 <span class="comment">/* Define to `long long' if <sys/types.h> does not define. */</span> <a name="l00366"></a>00366 <span class="comment">/* #undef int64_t */</span> <a name="l00367"></a>00367 <a name="l00368"></a>00368 <span class="comment">/* Define to `char' if <sys/types.h> does not define. */</span> <a name="l00369"></a>00369 <span class="comment">/* #undef int8_t */</span> <a name="l00370"></a>00370 <a name="l00371"></a>00371 <span class="comment">/* Define to the type of a signed integer type wide enough to hold a pointer,</span> <a name="l00372"></a>00372 <span class="comment"> if such a type exists, and if the system does not define it. */</span> <a name="l00373"></a>00373 <span class="comment">/* #undef intptr_t */</span> <a name="l00374"></a>00374 <a name="l00375"></a>00375 <span class="comment">/* Define to rpl_malloc if the replacement function should be used. */</span> <a name="l00376"></a>00376 <span class="comment">/* #undef malloc */</span> <a name="l00377"></a>00377 <a name="l00378"></a>00378 <span class="comment">/* Define to `int' if <sys/types.h> does not define. */</span> <a name="l00379"></a>00379 <span class="comment">/* #undef pid_t */</span> <a name="l00380"></a>00380 <a name="l00381"></a>00381 <span class="comment">/* Define to rpl_realloc if the replacement function should be used. */</span> <a name="l00382"></a>00382 <span class="comment">/* #undef realloc */</span> <a name="l00383"></a>00383 <a name="l00384"></a>00384 <span class="comment">/* Define to `unsigned int' if <sys/types.h> does not define. */</span> <a name="l00385"></a>00385 <span class="comment">/* #undef size_t */</span> <a name="l00386"></a>00386 <a name="l00387"></a>00387 <span class="comment">/* Define to 'int' if not defined */</span> <a name="l00388"></a>00388 <span class="comment">/* #undef socklen_t */</span> <a name="l00389"></a>00389 <a name="l00390"></a>00390 <span class="comment">/* Fallback member name for socket family in struct sockaddr_storage */</span> <a name="l00391"></a>00391 <span class="comment">/* #undef ss_family */</span> <a name="l00392"></a>00392 <a name="l00393"></a>00393 <span class="comment">/* Define to `int' if <sys/types.h> does not define. */</span> <a name="l00394"></a>00394 <span class="comment">/* #undef ssize_t */</span> <a name="l00395"></a>00395 <a name="l00396"></a>00396 <span class="comment">/* Define to `unsigned short' if <sys/types.h> does not define. */</span> <a name="l00397"></a>00397 <span class="comment">/* #undef uint16_t */</span> <a name="l00398"></a>00398 <a name="l00399"></a>00399 <span class="comment">/* Define to `unsigned int' if <sys/types.h> does not define. */</span> <a name="l00400"></a>00400 <span class="comment">/* #undef uint32_t */</span> <a name="l00401"></a>00401 <a name="l00402"></a>00402 <span class="comment">/* Define to `unsigned long long' if <sys/types.h> does not define. */</span> <a name="l00403"></a>00403 <span class="comment">/* #undef uint64_t */</span> <a name="l00404"></a>00404 <a name="l00405"></a>00405 <span class="comment">/* Define to `unsigned char' if <sys/types.h> does not define. */</span> <a name="l00406"></a>00406 <span class="comment">/* #undef uint8_t */</span> <a name="l00407"></a>00407 <a name="l00408"></a>00408 <span class="comment">/* Define as `fork' if `vfork' does not work. */</span> <a name="l00409"></a>00409 <span class="comment">/* #undef vfork */</span> <a name="l00410"></a>00410 <a name="l00411"></a>00411 <a name="l00412"></a>00412 <span class="preprocessor">#include <stdio.h></span> <a name="l00413"></a>00413 <span class="preprocessor">#include <string.h></span> <a name="l00414"></a>00414 <span class="preprocessor">#include <unistd.h></span> <a name="l00415"></a>00415 <span class="preprocessor">#include <assert.h></span> <a name="l00416"></a>00416 <a name="l00417"></a>00417 <span class="preprocessor">#ifndef LITTLE_ENDIAN</span> <a name="l00418"></a><a class="code" href="ldns_2config_8h.html#a8782a401fbf55261460863fc2f8df1ce">00418</a> <span class="preprocessor"></span><span class="preprocessor">#define LITTLE_ENDIAN 1234</span> <a name="l00419"></a>00419 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00420"></a>00420 <span class="preprocessor"></span> <a name="l00421"></a>00421 <span class="preprocessor">#ifndef BIG_ENDIAN</span> <a name="l00422"></a><a class="code" href="ldns_2config_8h.html#a23eb5e058a210efdde3d64e69679fafa">00422</a> <span class="preprocessor"></span><span class="preprocessor">#define BIG_ENDIAN 4321</span> <a name="l00423"></a>00423 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00424"></a>00424 <span class="preprocessor"></span> <a name="l00425"></a>00425 <span class="preprocessor">#ifndef BYTE_ORDER</span> <a name="l00426"></a>00426 <span class="preprocessor"></span><span class="preprocessor">#ifdef WORDS_BIGENDIAN</span> <a name="l00427"></a>00427 <span class="preprocessor"></span><span class="preprocessor">#define BYTE_ORDER BIG_ENDIAN</span> <a name="l00428"></a>00428 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00429"></a><a class="code" href="ldns_2config_8h.html#a1771b7fb65ee640524d0052f229768c3">00429</a> <span class="preprocessor"></span><span class="preprocessor">#define BYTE_ORDER LITTLE_ENDIAN</span> <a name="l00430"></a>00430 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* WORDS_BIGENDIAN */</span> <a name="l00431"></a>00431 <span class="preprocessor">#endif </span><span class="comment">/* BYTE_ORDER */</span> <a name="l00432"></a>00432 <a name="l00433"></a>00433 <span class="preprocessor">#if STDC_HEADERS</span> <a name="l00434"></a>00434 <span class="preprocessor"></span><span class="preprocessor">#include <stdlib.h></span> <a name="l00435"></a>00435 <span class="preprocessor">#include <stddef.h></span> <a name="l00436"></a>00436 <span class="preprocessor">#endif</span> <a name="l00437"></a>00437 <span class="preprocessor"></span> <a name="l00438"></a>00438 <span class="preprocessor">#ifdef HAVE_STDINT_H</span> <a name="l00439"></a>00439 <span class="preprocessor"></span><span class="preprocessor">#include <stdint.h></span> <a name="l00440"></a>00440 <span class="preprocessor">#endif</span> <a name="l00441"></a>00441 <span class="preprocessor"></span> <a name="l00442"></a>00442 <span class="preprocessor">#ifdef HAVE_SYS_SOCKET_H</span> <a name="l00443"></a>00443 <span class="preprocessor"></span><span class="preprocessor">#include <sys/socket.h></span> <a name="l00444"></a>00444 <span class="preprocessor">#endif</span> <a name="l00445"></a>00445 <span class="preprocessor"></span> <a name="l00446"></a>00446 <span class="preprocessor">#ifdef HAVE_NETINET_IN_H</span> <a name="l00447"></a>00447 <span class="preprocessor"></span><span class="preprocessor">#include <netinet/in.h></span> <a name="l00448"></a>00448 <span class="preprocessor">#endif</span> <a name="l00449"></a>00449 <span class="preprocessor"></span> <a name="l00450"></a>00450 <span class="preprocessor">#ifdef HAVE_ARPA_INET_H</span> <a name="l00451"></a>00451 <span class="preprocessor"></span><span class="preprocessor">#include <arpa/inet.h></span> <a name="l00452"></a>00452 <span class="preprocessor">#endif</span> <a name="l00453"></a>00453 <span class="preprocessor"></span> <a name="l00454"></a>00454 <span class="preprocessor">#ifdef HAVE_WINSOCK2_H</span> <a name="l00455"></a>00455 <span class="preprocessor"></span><span class="preprocessor">#include <winsock2.h></span> <a name="l00456"></a>00456 <span class="preprocessor">#endif</span> <a name="l00457"></a>00457 <span class="preprocessor"></span> <a name="l00458"></a>00458 <span class="preprocessor">#ifdef HAVE_WS2TCPIP_H</span> <a name="l00459"></a>00459 <span class="preprocessor"></span><span class="preprocessor">#include <ws2tcpip.h></span> <a name="l00460"></a>00460 <span class="preprocessor">#endif</span> <a name="l00461"></a>00461 <span class="preprocessor"></span> <a name="l00462"></a>00462 <a name="l00463"></a>00463 <span class="comment">/* detect if we need to cast to unsigned int for FD_SET to avoid warnings */</span> <a name="l00464"></a>00464 <span class="preprocessor">#ifdef HAVE_WINSOCK2_H</span> <a name="l00465"></a>00465 <span class="preprocessor"></span><span class="preprocessor">#define FD_SET_T (u_int)</span> <a name="l00466"></a>00466 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00467"></a><a class="code" href="ldns_2config_8h.html#a812bc9975f0e93c62b773e21af494006">00467</a> <span class="preprocessor"></span><span class="preprocessor">#define FD_SET_T </span> <a name="l00468"></a>00468 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00469"></a>00469 <span class="preprocessor"></span> <a name="l00470"></a>00470 <a name="l00471"></a>00471 <a name="l00472"></a>00472 <a name="l00473"></a>00473 <span class="preprocessor">#ifdef __cplusplus</span> <a name="l00474"></a>00474 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { <a name="l00475"></a>00475 <span class="preprocessor">#endif</span> <a name="l00476"></a>00476 <span class="preprocessor"></span> <a name="l00477"></a>00477 <span class="preprocessor">#ifndef B64_PTON</span> <a name="l00478"></a>00478 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="config_8h.html#a26b78eee7494107c65d3e40198e8027d">ldns_b64_ntop</a>(uint8_t <span class="keyword">const</span> *src, <span class="keywordtype">size_t</span> srclength, <a name="l00479"></a>00479 <span class="keywordtype">char</span> *target, <span class="keywordtype">size_t</span> targsize); <a name="l00483"></a>00483 <span class="comment">/*@unused@*/</span> <a name="l00484"></a>00484 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">size_t</span> ldns_b64_ntop_calculate_size(<span class="keywordtype">size_t</span> srcsize) <a name="l00485"></a>00485 { <a name="l00486"></a>00486 <span class="keywordflow">return</span> ((((srcsize + 2) / 3) * 4) + 1); <a name="l00487"></a>00487 } <a name="l00488"></a>00488 <span class="preprocessor">#endif </span><span class="comment">/* !B64_PTON */</span> <a name="l00489"></a>00489 <span class="preprocessor">#ifndef B64_NTOP</span> <a name="l00490"></a>00490 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="config_8h.html#ada3d1fd2fcddf397179b070fe5588c48">ldns_b64_pton</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> *src, uint8_t *target, <span class="keywordtype">size_t</span> targsize); <a name="l00494"></a>00494 <span class="comment">/*@unused@*/</span> <a name="l00495"></a>00495 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">size_t</span> ldns_b64_pton_calculate_size(<span class="keywordtype">size_t</span> srcsize) <a name="l00496"></a>00496 { <a name="l00497"></a>00497 <span class="keywordflow">return</span> (((((srcsize + 3) / 4) * 3)) + 1); <a name="l00498"></a>00498 } <a name="l00499"></a>00499 <span class="preprocessor">#endif </span><span class="comment">/* !B64_NTOP */</span> <a name="l00500"></a>00500 <a name="l00501"></a>00501 <span class="preprocessor">#ifndef HAVE_SLEEP</span> <a name="l00502"></a>00502 <span class="preprocessor"></span><span class="comment">/* use windows sleep, in millisecs, instead */</span> <a name="l00503"></a>00503 <span class="preprocessor">#define sleep(x) Sleep((x)*1000)</span> <a name="l00504"></a>00504 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00505"></a>00505 <span class="preprocessor"></span> <a name="l00506"></a>00506 <span class="preprocessor">#ifndef HAVE_RANDOM</span> <a name="l00507"></a>00507 <span class="preprocessor"></span><span class="preprocessor">#define srandom(x) srand(x)</span> <a name="l00508"></a>00508 <span class="preprocessor"></span><span class="preprocessor">#define random(x) rand(x)</span> <a name="l00509"></a>00509 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00510"></a>00510 <span class="preprocessor"></span> <a name="l00511"></a>00511 <span class="preprocessor">#ifndef HAVE_TIMEGM</span> <a name="l00512"></a>00512 <span class="preprocessor"></span><span class="preprocessor">#include <time.h></span> <a name="l00513"></a>00513 time_t <a class="code" href="config_8h.html#a4fd5240e99b2a9bf19bc0fe39f6ffc07">timegm</a> (<span class="keyword">struct</span> tm *tm); <a name="l00514"></a>00514 <span class="preprocessor">#endif </span><span class="comment">/* !TIMEGM */</span> <a name="l00515"></a>00515 <span class="preprocessor">#ifndef HAVE_GMTIME_R</span> <a name="l00516"></a>00516 <span class="preprocessor"></span><span class="keyword">struct </span>tm *<a class="code" href="config_8h.html#a6ef8fd14c34a80c3fee2ef2694491514">gmtime_r</a>(<span class="keyword">const</span> time_t *timep, <span class="keyword">struct</span> tm *result); <a name="l00517"></a>00517 <span class="preprocessor">#endif</span> <a name="l00518"></a>00518 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_LOCALTIME_R</span> <a name="l00519"></a>00519 <span class="preprocessor"></span><span class="keyword">struct </span>tm *<a class="code" href="config_8h.html#a47c0c928ef136f13663444f1b1f01de7">localtime_r</a>(<span class="keyword">const</span> time_t *timep, <span class="keyword">struct</span> tm *result); <a name="l00520"></a>00520 <span class="preprocessor">#endif</span> <a name="l00521"></a>00521 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_ISBLANK</span> <a name="l00522"></a>00522 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="config_8h.html#aea4929b1b41f1a6d723e0312b1f050ed">isblank</a>(<span class="keywordtype">int</span> c); <a name="l00523"></a>00523 <span class="preprocessor">#endif </span><span class="comment">/* !HAVE_ISBLANK */</span> <a name="l00524"></a>00524 <span class="preprocessor">#ifndef HAVE_ISASCII</span> <a name="l00525"></a>00525 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="config_8h.html#ae084717e294e2e19fb1827a2f6c5f036">isascii</a>(<span class="keywordtype">int</span> c); <a name="l00526"></a>00526 <span class="preprocessor">#endif </span><span class="comment">/* !HAVE_ISASCII */</span> <a name="l00527"></a>00527 <span class="preprocessor">#ifndef HAVE_SNPRINTF</span> <a name="l00528"></a>00528 <span class="preprocessor"></span><span class="preprocessor">#include <stdarg.h></span> <a name="l00529"></a>00529 <span class="keywordtype">int</span> <a class="code" href="config_8h.html#acc2509f3dc1aeb186437c3fd8412e69a">snprintf</a> (<span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> count, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...); <a name="l00530"></a>00530 <span class="keywordtype">int</span> <a class="code" href="config_8h.html#a90f649eb9607cf5003051e74c60b39a6">vsnprintf</a> (<span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> count, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list arg); <a name="l00531"></a>00531 <span class="preprocessor">#endif </span><span class="comment">/* HAVE_SNPRINTF */</span> <a name="l00532"></a>00532 <span class="preprocessor">#ifndef HAVE_INET_PTON</span> <a name="l00533"></a>00533 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="config_8h.html#acdce1d46efd09e8485a2f682b388ebc0">inet_pton</a>(<span class="keywordtype">int</span> af, <span class="keyword">const</span> <span class="keywordtype">char</span>* src, <span class="keywordtype">void</span>* dst); <a name="l00534"></a>00534 <span class="preprocessor">#endif </span><span class="comment">/* HAVE_INET_PTON */</span> <a name="l00535"></a>00535 <span class="preprocessor">#ifndef HAVE_INET_NTOP</span> <a name="l00536"></a>00536 <span class="preprocessor"></span><span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="config_8h.html#a2a4b830a00870799ee852d4c6a72a1eb">inet_ntop</a>(<span class="keywordtype">int</span> af, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">char</span> *dst, <span class="keywordtype">size_t</span> size); <a name="l00537"></a>00537 <span class="preprocessor">#endif</span> <a name="l00538"></a>00538 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_INET_ATON</span> <a name="l00539"></a>00539 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="config_8h.html#a9611e4d2e430d90aaeaa1fa86652479f">inet_aton</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cp, <span class="keyword">struct</span> in_addr *addr); <a name="l00540"></a>00540 <span class="preprocessor">#endif</span> <a name="l00541"></a>00541 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_MEMMOVE</span> <a name="l00542"></a>00542 <span class="preprocessor"></span><span class="keywordtype">void</span> *<a class="code" href="config_8h.html#a802c986820d3866639922b6bc9484f90">memmove</a>(<span class="keywordtype">void</span> *dest, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> n); <a name="l00543"></a>00543 <span class="preprocessor">#endif</span> <a name="l00544"></a>00544 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_STRLCPY</span> <a name="l00545"></a>00545 <span class="preprocessor"></span><span class="keywordtype">size_t</span> <a class="code" href="config_8h.html#aeb79f86261de904967d433c1b5e9a1de">strlcpy</a>(<span class="keywordtype">char</span> *dst, <span class="keyword">const</span> <span class="keywordtype">char</span> *src, <span class="keywordtype">size_t</span> siz); <a name="l00546"></a>00546 <span class="preprocessor">#endif</span> <a name="l00547"></a>00547 <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span> <a name="l00548"></a>00548 <span class="preprocessor"></span>} <a name="l00549"></a>00549 <span class="preprocessor">#endif</span> <a name="l00550"></a>00550 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_GETADDRINFO</span> <a name="l00551"></a>00551 <span class="preprocessor"></span><span class="preprocessor">#include "compat/fake-rfc2553.h"</span> <a name="l00552"></a>00552 <span class="preprocessor">#endif</span> <a name="l00553"></a>00553 <span class="preprocessor"></span><span class="preprocessor">#ifndef HAVE_STRTOUL</span> <a name="l00554"></a>00554 <span class="preprocessor"></span><span class="preprocessor">#define strtoul (unsigned long)strtol</span> <a name="l00555"></a>00555 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00556"></a>00556 <span class="preprocessor"></span> </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Jan 11 2012 for ldns by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>