00001
00002
00003
00004
00005 #define HAVE_ATTR_FORMAT 1
00006
00007
00008 #define HAVE_ATTR_UNUSED 1
00009
00010
00011
00012
00013
00014
00015
00016
00017 #define HAVE_DLFCN_H 1
00018
00019
00020 #define HAVE_GETOPT_H 1
00021
00022
00023 #define HAVE_INTTYPES_H 1
00024
00025
00026 #define HAVE_LIBCRYPTO 1
00027
00028
00029
00030 #define HAVE_MALLOC 1
00031
00032
00033 #define HAVE_MEMORY_H 1
00034
00035
00036 #define HAVE_NETINET_IN_H 1
00037
00038
00039 #define HAVE_OPENSSL_SSL_H 1
00040
00041
00042 #define HAVE_SSL
00043
00044
00045 #define HAVE_STDBOOL_H 1
00046
00047
00048 #define HAVE_STDINT_H 1
00049
00050
00051 #define HAVE_STDLIB_H 1
00052
00053
00054 #define HAVE_STRINGS_H 1
00055
00056
00057 #define HAVE_STRING_H 1
00058
00059
00060 #define HAVE_SYS_MOUNT_H 1
00061
00062
00063 #define HAVE_SYS_PARAM_H 1
00064
00065
00066 #define HAVE_SYS_STAT_H 1
00067
00068
00069 #define HAVE_SYS_TYPES_H 1
00070
00071
00072 #define HAVE_TIMEGM 1
00073
00074
00075 #define HAVE_TIME_H 1
00076
00077
00078 #define HAVE_UNISTD_H 1
00079
00080
00081 #define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl"
00082
00083
00084 #define PACKAGE_NAME "libdns"
00085
00086
00087 #define PACKAGE_STRING "libdns 1.0.1"
00088
00089
00090 #define PACKAGE_TARNAME "libdns"
00091
00092
00093 #define PACKAGE_VERSION "1.0.1"
00094
00095
00096 #define STDC_HEADERS 1
00097
00098
00099 #define SYSCONFDIR sysconfdir
00100
00101
00102
00103
00104 #ifndef _ALL_SOURCE
00105
00106 #endif
00107
00108
00109
00110
00111
00112
00113 #ifndef __cplusplus
00114 #define inline __inline__
00115 #endif
00116
00117
00118
00119
00120
00121
00122 #include <stdio.h>
00123 #include <string.h>
00124 #include <unistd.h>
00125 #include <assert.h>
00126
00127 #if STDC_HEADERS
00128 #include <stdlib.h>
00129 #include <stddef.h>
00130 #endif
00131
00132 #ifdef HAVE_STDINT_H
00133 #include <stdint.h>
00134 #endif
00135
00136 #ifdef HAVE_SYS_SOCKET_H
00137 #include <sys/socket.h>
00138 #endif
00139
00140 #ifdef HAVE_NETINET_IN_H
00141 #include <netinet/in.h>
00142 #endif
00143
00144 #ifdef HAVE_ARPA_INET_H
00145 #include <arpa/inet.h>
00146 #endif
00147
00148
00149
00150 #ifndef B64_PTON
00151 int b64_ntop(uint8_t const *src, size_t srclength,
00152 char *target, size_t targsize);
00156
00157 static inline size_t b64_ntop_calculate_size(size_t srcsize)
00158 {
00159 return ((((srcsize + 2) / 3) * 4) + 1);
00160 }
00161 #endif
00162 #ifndef B64_NTOP
00163 int b64_pton(char const *src, uint8_t *target, size_t targsize);
00167
00168 static inline size_t b64_pton_calculate_size(size_t srcsize)
00169 {
00170 return ((((srcsize / 4) * 3) - 2) + 2);
00171 }
00172 #endif
00173 #ifndef TIMEGM
00174 #include <time.h>
00175 time_t timegm (struct tm *tm);
00176 #endif
00177