config.h

Go to the documentation of this file.
00001 /* ldns/config.h.  Generated from config.h.in by configure.  */
00002 /* ldns/config.h.in.  Generated from configure.ac by autoheader.  */
00003 
00004 /* Whether the C compiler accepts the "format" attribute */
00005 #define HAVE_ATTR_FORMAT 1
00006 
00007 /* Whether the C compiler accepts the "unused" attribute */
00008 #define HAVE_ATTR_UNUSED 1
00009 
00010 /* Define to 1 if you have the `b32_ntop' function. */
00011 /* #undef HAVE_B32_NTOP */
00012 
00013 /* Define to 1 if you have the `b32_pton' function. */
00014 /* #undef HAVE_B32_PTON */
00015 
00016 /* Define to 1 if you have the `b64_ntop' function. */
00017 /* #undef HAVE_B64_NTOP */
00018 
00019 /* Define to 1 if you have the `b64_pton' function. */
00020 /* #undef HAVE_B64_PTON */
00021 
00022 /* Define to 1 if you have the `ctime_r' function. */
00023 #define HAVE_CTIME_R 1
00024 
00025 /* Define to 1 if you have the <dlfcn.h> header file. */
00026 #define HAVE_DLFCN_H 1
00027 
00028 /* Define to 1 if you have the `getaddrinfo' function. */
00029 #define HAVE_GETADDRINFO 1
00030 
00031 /* Define to 1 if you have the <getopt.h> header file. */
00032 #define HAVE_GETOPT_H 1
00033 
00034 /* Define to 1 if you have the `gmtime_r' function. */
00035 #define HAVE_GMTIME_R 1
00036 
00037 /* Define to 1 if you have the `inet_aton' function. */
00038 #define HAVE_INET_ATON 1
00039 
00040 /* Define to 1 if you have the `inet_ntop' function. */
00041 #define HAVE_INET_NTOP 1
00042 
00043 /* Define to 1 if you have the `inet_pton' function. */
00044 #define HAVE_INET_PTON 1
00045 
00046 /* Define to 1 if you have the <inttypes.h> header file. */
00047 #define HAVE_INTTYPES_H 1
00048 
00049 /* Define to 1 if you have the `isblank' function. */
00050 #define HAVE_ISBLANK 1
00051 
00052 /* Define to 1 if you have the `crypto' library (-lcrypto). */
00053 #define HAVE_LIBCRYPTO 1
00054 
00055 /* Define to 1 if you have the `nsl' library (-lnsl). */
00056 #define HAVE_LIBNSL 1
00057 
00058 /* Define to 1 if you have the `socket' library (-lsocket). */
00059 /* #undef HAVE_LIBSOCKET */
00060 
00061 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
00062    to 0 otherwise. */
00063 #define HAVE_MALLOC 1
00064 
00065 /* Define to 1 if you have the `memmove' function. */
00066 #define HAVE_MEMMOVE 1
00067 
00068 /* Define to 1 if you have the <memory.h> header file. */
00069 #define HAVE_MEMORY_H 1
00070 
00071 /* Define to 1 if you have the <netinet/in.h> header file. */
00072 #define HAVE_NETINET_IN_H 1
00073 
00074 /* Define to 1 if you have the <openssl/ssl.h> header file. */
00075 #define HAVE_OPENSSL_SSL_H 1
00076 
00077 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
00078    and to 0 otherwise. */
00079 #define HAVE_REALLOC 1
00080 
00081 /* Define to 1 if you have the `snprintf' function. */
00082 #define HAVE_SNPRINTF 1
00083 
00084 /* Define if you have the SSL libraries installed. */
00085 #define HAVE_SSL 
00086 
00087 /* Define to 1 if you have the <stdarg.h> header file. */
00088 #define HAVE_STDARG_H 1
00089 
00090 /* Define to 1 if you have the <stdbool.h> header file. */
00091 #define HAVE_STDBOOL_H 1
00092 
00093 /* Define to 1 if you have the <stdint.h> header file. */
00094 #define HAVE_STDINT_H 1
00095 
00096 /* Define to 1 if you have the <stdlib.h> header file. */
00097 #define HAVE_STDLIB_H 1
00098 
00099 /* Define to 1 if you have the <strings.h> header file. */
00100 #define HAVE_STRINGS_H 1
00101 
00102 /* Define to 1 if you have the <string.h> header file. */
00103 #define HAVE_STRING_H 1
00104 
00105 /* Define to 1 if you have the `strlcpy' function. */
00106 /* #undef HAVE_STRLCPY */
00107 
00108 /* Define to 1 if you have the <sys/mount.h> header file. */
00109 #define HAVE_SYS_MOUNT_H 1
00110 
00111 /* Define to 1 if you have the <sys/param.h> header file. */
00112 #define HAVE_SYS_PARAM_H 1
00113 
00114 /* Define to 1 if you have the <sys/socket.h> header file. */
00115 #define HAVE_SYS_SOCKET_H 1
00116 
00117 /* Define to 1 if you have the <sys/stat.h> header file. */
00118 #define HAVE_SYS_STAT_H 1
00119 
00120 /* Define to 1 if you have the <sys/types.h> header file. */
00121 #define HAVE_SYS_TYPES_H 1
00122 
00123 /* Define to 1 if you have the `timegm' function. */
00124 #define HAVE_TIMEGM 1
00125 
00126 /* Define to 1 if you have the <time.h> header file. */
00127 #define HAVE_TIME_H 1
00128 
00129 /* Define to 1 if you have the <unistd.h> header file. */
00130 #define HAVE_UNISTD_H 1
00131 
00132 /* Define to the address where bug reports for this package should be sent. */
00133 #define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl"
00134 
00135 /* Define to the full name of this package. */
00136 #define PACKAGE_NAME "libdns"
00137 
00138 /* Define to the full name and version of this package. */
00139 #define PACKAGE_STRING "libdns 1.3.0"
00140 
00141 /* Define to the one symbol short name of this package. */
00142 #define PACKAGE_TARNAME "libdns"
00143 
00144 /* Define to the version of this package. */
00145 #define PACKAGE_VERSION "1.3.0"
00146 
00147 /* Define to 1 if you have the ANSI C header files. */
00148 #define STDC_HEADERS 1
00149 
00150 /* System configuration dir */
00151 #define SYSCONFDIR sysconfdir
00152 
00153 /* Define to 1 if on AIX 3.
00154    System headers sometimes define this.
00155    We just want to avoid a redefinition error message.  */
00156 #ifndef _ALL_SOURCE
00157 /* # undef _ALL_SOURCE */
00158 #endif
00159 
00160 /* Define to empty if `const' does not conform to ANSI C. */
00161 /* #undef const */
00162 
00163 /* in_addr_t */
00164 /* #undef in_addr_t */
00165 
00166 /* in_port_t */
00167 /* #undef in_port_t */
00168 
00169 /* Define to `__inline__' or `__inline' if that's what the C compiler
00170    calls it, or to nothing if 'inline' is not supported under any name.  */
00171 #ifndef __cplusplus
00172 /* #undef inline */
00173 #endif
00174 
00175 /* Define to `short' if <sys/types.h> does not define. */
00176 /* #undef int16_t */
00177 
00178 /* Define to `int' if <sys/types.h> does not define. */
00179 /* #undef int32_t */
00180 
00181 /* Define to `long long' if <sys/types.h> does not define. */
00182 /* #undef int64_t */
00183 
00184 /* Define to `char' if <sys/types.h> does not define. */
00185 /* #undef int8_t */
00186 
00187 /* Define to rpl_malloc if the replacement function should be used. */
00188 /* #undef malloc */
00189 
00190 /* Define to rpl_realloc if the replacement function should be used. */
00191 /* #undef realloc */
00192 
00193 /* Define to 'int' if not defined */
00194 /* #undef socklen_t */
00195 
00196 /* Define to `int' if <sys/types.h> does not define. */
00197 /* #undef ssize_t */
00198 
00199 /* Define to `unsigned short' if <sys/types.h> does not define. */
00200 /* #undef uint16_t */
00201 
00202 /* Define to `unsigned int' if <sys/types.h> does not define. */
00203 /* #undef uint32_t */
00204 
00205 /* Define to `unsigned long long' if <sys/types.h> does not define. */
00206 /* #undef uint64_t */
00207 
00208 /* Define to `unsigned char' if <sys/types.h> does not define. */
00209 /* #undef uint8_t */
00210 
00211 
00212 #include <stdio.h>
00213 #include <string.h>
00214 #include <unistd.h>
00215 #include <assert.h>
00216 
00217 #if STDC_HEADERS
00218 #include <stdlib.h>
00219 #include <stddef.h>
00220 #endif
00221 
00222 #ifdef HAVE_STDINT_H
00223 #include <stdint.h>
00224 #endif
00225 
00226 #ifdef HAVE_SYS_SOCKET_H
00227 #include <sys/socket.h>
00228 #endif
00229 
00230 #ifdef HAVE_NETINET_IN_H
00231 #include <netinet/in.h>
00232 #endif
00233 
00234 #ifdef HAVE_ARPA_INET_H
00235 #include <arpa/inet.h>
00236 #endif
00237 
00238 
00239 
00240 #ifndef B64_PTON
00241 int b64_ntop(uint8_t const *src, size_t srclength,
00242              char *target, size_t targsize);
00246 /*@unused@*/
00247 static inline size_t b64_ntop_calculate_size(size_t srcsize)
00248 {
00249         return ((((srcsize + 2) / 3) * 4) + 1);
00250 }
00251 #endif /* !B64_PTON */
00252 #ifndef B64_NTOP
00253 int b64_pton(char const *src, uint8_t *target, size_t targsize);
00257 /*@unused@*/
00258 static inline size_t b64_pton_calculate_size(size_t srcsize)
00259 {
00260         return ((((srcsize / 4) * 3) - 2) + 2);
00261 }
00262 #endif /* !B64_NTOP */
00263 
00264 #ifndef B32_NTOP
00265 int b32_ntop(uint8_t const *src, size_t srclength,
00266              char *target, size_t targsize);
00267 int b32_ntop_extended_hex(uint8_t const *src, size_t srclength,
00268              char *target, size_t targsize);
00272 /*@unused@*/
00273 static inline size_t b32_ntop_calculate_size(size_t srcsize)
00274 {
00275         size_t result = ((((srcsize / 5) * 8) - 2) + 2);
00276         return result;
00277 }
00278 #endif /* !B32_PTON */
00279 #ifndef B32_PTON
00280 int b32_pton(char const *src, size_t hashed_owner_str_len, uint8_t *target, size_t targsize);
00281 int b32_pton_extended_hex(char const *src, size_t hashed_owner_str_len, uint8_t *target, size_t targsize);
00285 /*@unused@*/
00286 static inline size_t b32_pton_calculate_size(size_t srcsize)
00287 {
00288         size_t result = ((((srcsize) / 8) * 5));
00289         return result;
00290 }
00291 #endif /* !B32_NTOP */
00292 
00293 
00294 #ifndef TIMEGM
00295 #include <time.h>
00296 time_t timegm (struct tm *tm);
00297 #endif /* !TIMEGM */
00298 #ifndef HAVE_ISBLANK
00299 int isblank(int c);
00300 #endif /* !HAVE_ISBLANK */
00301 #ifndef HAVE_SNPRINTF
00302 #include <stdarg.h>
00303 int snprintf (char *str, size_t count, const char *fmt, ...);
00304 int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
00305 #endif /* HAVE_SNPRINTF */
00306 #ifndef HAVE_INET_PTON
00307 int inet_pton(int af, const char* src, void* dst);
00308 #endif /* HAVE_INET_PTON */
00309 #ifndef HAVE_INET_NTOP
00310 const char *inet_ntop(int af, const void *src, char *dst, size_t size);
00311 #endif
00312 #ifndef HAVE_INET_ATON
00313 int inet_aton(const char *cp, struct in_addr *addr);
00314 #endif
00315 #ifndef HAVE_MEMMOVE
00316 void *memmove(void *dest, const void *src, size_t n);
00317 #endif
00318 #ifndef HAVE_STRLCPY
00319 size_t strlcpy(char *dst, const char *src, size_t siz);
00320 #endif
00321 #ifndef HAVE_GETADDRINFO
00322 #include "compat/fake-rfc2553.h"
00323 #endif
00324 

Generated on Fri Aug 8 03:40:19 2008 for ldns by  doxygen 1.5.6