Blame config.h.in

Packit 723427
/* config.h.in.  Generated from configure.ac by autoheader.  */
Packit 723427
Packit 723427
/* default value for check-updates config option */
Packit 723427
#undef CHECK_UPDATES
Packit 723427
Packit 723427
/* default config file name for dnssec-trigger */
Packit 723427
#undef CONFIGFILE
Packit 723427
Packit 723427
/* Whether daemon is deprecated */
Packit 723427
#undef DEPRECATED_DAEMON
Packit 723427
Packit 723427
/* DNS port number */
Packit 723427
#undef DNS_PORT
Packit 723427
Packit 723427
/* define this to enable debug checks. */
Packit 723427
#undef DO_DEBUG
Packit 723427
Packit 723427
/* Have AppIndicator (Ubuntu Unity) */
Packit 723427
#undef HAVE_APP_INDICATOR
Packit 723427
Packit 723427
/* Define to 1 if you have the `app_indicator_set_icon_full' function. */
Packit 723427
#undef HAVE_APP_INDICATOR_SET_ICON_FULL
Packit 723427
Packit 723427
/* Define to 1 if you have the <arpa/inet.h> header file. */
Packit 723427
#undef HAVE_ARPA_INET_H
Packit 723427
Packit 723427
/* Whether the C compiler accepts the "format" attribute */
Packit 723427
#undef HAVE_ATTR_FORMAT
Packit 723427
Packit 723427
/* Whether the C compiler accepts the "unused" attribute */
Packit 723427
#undef HAVE_ATTR_UNUSED
Packit 723427
Packit 723427
/* Define to 1 if you have the `chflags' function. */
Packit 723427
#undef HAVE_CHFLAGS
Packit 723427
Packit 723427
/* Define to 1 if your system has a working `chown' function. */
Packit 723427
#undef HAVE_CHOWN
Packit 723427
Packit 723427
/* Define to 1 if you have the `daemon' function. */
Packit 723427
#undef HAVE_DAEMON
Packit 723427
Packit 723427
/* Define to 1 if you have the `fcntl' function. */
Packit 723427
#undef HAVE_FCNTL
Packit 723427
Packit 723427
/* Define to 1 if you have the `fork' function. */
Packit 723427
#undef HAVE_FORK
Packit 723427
Packit 723427
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
Packit 723427
#undef HAVE_FSEEKO
Packit 723427
Packit 723427
/* If we have this function (windows XP and later) */
Packit 723427
#undef HAVE_GETADAPTERSADDRESSES
Packit 723427
Packit 723427
/* Whether getaddrinfo is available */
Packit 723427
#undef HAVE_GETADDRINFO
Packit 723427
Packit 723427
/* Define to 1 if you have the <getopt.h> header file. */
Packit 723427
#undef HAVE_GETOPT_H
Packit 723427
Packit 723427
/* If you have HMAC_Update */
Packit 723427
#undef HAVE_HMAC_UPDATE
Packit 723427
Packit 723427
/* Define to 1 if you have the `inet_ntop' function. */
Packit 723427
#undef HAVE_INET_NTOP
Packit 723427
Packit 723427
/* Define to 1 if you have the `inet_pton' function. */
Packit 723427
#undef HAVE_INET_PTON
Packit 723427
Packit 723427
/* Define to 1 if you have the <inttypes.h> header file. */
Packit 723427
#undef HAVE_INTTYPES_H
Packit 723427
Packit 723427
/* if the function 'ioctlsocket' is available */
Packit 723427
#undef HAVE_IOCTLSOCKET
Packit 723427
Packit 723427
/* Define to 1 if you have the <iphlpapi.h> header file. */
Packit 723427
#undef HAVE_IPHLPAPI_H
Packit 723427
Packit 723427
/* Define to 1 if you have the `ldns' library (-lldns). */
Packit 723427
#undef HAVE_LIBLDNS
Packit 723427
Packit 723427
/* Define to 1 if you have the `localtime_r' function. */
Packit 723427
#undef HAVE_LOCALTIME_R
Packit 723427
Packit 723427
/* If have GNU libc compatible malloc */
Packit 723427
#undef HAVE_MALLOC
Packit 723427
Packit 723427
/* Define to 1 if you have the `memmove' function. */
Packit 723427
#undef HAVE_MEMMOVE
Packit 723427
Packit 723427
/* Define to 1 if you have the <memory.h> header file. */
Packit 723427
#undef HAVE_MEMORY_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <netdb.h> header file. */
Packit 723427
#undef HAVE_NETDB_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <netinet/in.h> header file. */
Packit 723427
#undef HAVE_NETINET_IN_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <openssl/conf.h> header file. */
Packit 723427
#undef HAVE_OPENSSL_CONF_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <openssl/engine.h> header file. */
Packit 723427
#undef HAVE_OPENSSL_ENGINE_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <openssl/err.h> header file. */
Packit 723427
#undef HAVE_OPENSSL_ERR_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <openssl/rand.h> header file. */
Packit 723427
#undef HAVE_OPENSSL_RAND_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <openssl/ssl.h> header file. */
Packit 723427
#undef HAVE_OPENSSL_SSL_H
Packit 723427
Packit 723427
/* Define to 1 if you have the `random' function. */
Packit 723427
#undef HAVE_RANDOM
Packit 723427
Packit 723427
/* Define to 1 if you have the `recvmsg' function. */
Packit 723427
#undef HAVE_RECVMSG
Packit 723427
Packit 723427
/* Define to 1 if you have the `sendmsg' function. */
Packit 723427
#undef HAVE_SENDMSG
Packit 723427
Packit 723427
/* Define to 1 if you have the `setsid' function. */
Packit 723427
#undef HAVE_SETSID
Packit 723427
Packit 723427
/* Define to 1 if you have the `sleep' function. */
Packit 723427
#undef HAVE_SLEEP
Packit 723427
Packit 723427
/* Define to 1 if you have the `snprintf' function. */
Packit 723427
#undef HAVE_SNPRINTF
Packit 723427
Packit 723427
/* Define to 1 if you have the `srandom' function. */
Packit 723427
#undef HAVE_SRANDOM
Packit 723427
Packit 723427
/* Define if you have the SSL libraries installed. */
Packit 723427
#undef HAVE_SSL
Packit 723427
Packit 723427
/* Define to 1 if you have the <stdarg.h> header file. */
Packit 723427
#undef HAVE_STDARG_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <stdbool.h> header file. */
Packit 723427
#undef HAVE_STDBOOL_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <stdint.h> header file. */
Packit 723427
#undef HAVE_STDINT_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <stdlib.h> header file. */
Packit 723427
#undef HAVE_STDLIB_H
Packit 723427
Packit 723427
/* Define to 1 if you have the `strftime' function. */
Packit 723427
#undef HAVE_STRFTIME
Packit 723427
Packit 723427
/* Define to 1 if you have the <strings.h> header file. */
Packit 723427
#undef HAVE_STRINGS_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <string.h> header file. */
Packit 723427
#undef HAVE_STRING_H
Packit 723427
Packit 723427
/* Define to 1 if you have the `strlcpy' function. */
Packit 723427
#undef HAVE_STRLCPY
Packit 723427
Packit 723427
/* Define to 1 if you have the <syslog.h> header file. */
Packit 723427
#undef HAVE_SYSLOG_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/param.h> header file. */
Packit 723427
#undef HAVE_SYS_PARAM_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/resource.h> header file. */
Packit 723427
#undef HAVE_SYS_RESOURCE_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/socket.h> header file. */
Packit 723427
#undef HAVE_SYS_SOCKET_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/stat.h> header file. */
Packit 723427
#undef HAVE_SYS_STAT_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/types.h> header file. */
Packit 723427
#undef HAVE_SYS_TYPES_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/uio.h> header file. */
Packit 723427
#undef HAVE_SYS_UIO_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <sys/wait.h> header file. */
Packit 723427
#undef HAVE_SYS_WAIT_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <time.h> header file. */
Packit 723427
#undef HAVE_TIME_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <unistd.h> header file. */
Packit 723427
#undef HAVE_UNISTD_H
Packit 723427
Packit 723427
/* Define to 1 if you have the `usleep' function. */
Packit 723427
#undef HAVE_USLEEP
Packit 723427
Packit 723427
/* Define to 1 if you have the `vfork' function. */
Packit 723427
#undef HAVE_VFORK
Packit 723427
Packit 723427
/* Define to 1 if you have the <vfork.h> header file. */
Packit 723427
#undef HAVE_VFORK_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <windows.h> header file. */
Packit 723427
#undef HAVE_WINDOWS_H
Packit 723427
Packit 723427
/* Define to 1 if you have the <winsock2.h> header file. */
Packit 723427
#undef HAVE_WINSOCK2_H
Packit 723427
Packit 723427
/* Define to 1 if `fork' works. */
Packit 723427
#undef HAVE_WORKING_FORK
Packit 723427
Packit 723427
/* Define to 1 if `vfork' works. */
Packit 723427
#undef HAVE_WORKING_VFORK
Packit 723427
Packit 723427
/* Define to 1 if you have the `writev' function. */
Packit 723427
#undef HAVE_WRITEV
Packit 723427
Packit 723427
/* Define to 1 if you have the <ws2tcpip.h> header file. */
Packit 723427
#undef HAVE_WS2TCPIP_H
Packit 723427
Packit 723427
/* Define to 1 if you have the `_beginthreadex' function. */
Packit 723427
#undef HAVE__BEGINTHREADEX
Packit 723427
Packit 723427
/* we are on OSX, use that os specific funcs */
Packit 723427
#undef HOOKS_OSX
Packit 723427
Packit 723427
/* directory with ssl key files for dnssec-trigger */
Packit 723427
#undef KEYDIR
Packit 723427
Packit 723427
/* directory with scripts for dnssec-trigger */
Packit 723427
#undef LIBEXEC_DIR
Packit 723427
Packit 723427
/* web browser to open login url */
Packit 723427
#undef LOGIN_COMMAND
Packit 723427
Packit 723427
/* login url to open at hot spots */
Packit 723427
#undef LOGIN_LOCATION
Packit 723427
Packit 723427
/* Define to the maximum message length to pass to syslog. */
Packit 723427
#undef MAXSYSLOGMSGLEN
Packit 723427
Packit 723427
/* Define to the address where bug reports for this package should be sent. */
Packit 723427
#undef PACKAGE_BUGREPORT
Packit 723427
Packit 723427
/* Define to the full name of this package. */
Packit 723427
#undef PACKAGE_NAME
Packit 723427
Packit 723427
/* Define to the full name and version of this package. */
Packit 723427
#undef PACKAGE_STRING
Packit 723427
Packit 723427
/* Define to the one symbol short name of this package. */
Packit 723427
#undef PACKAGE_TARNAME
Packit 723427
Packit 723427
/* Define to the home page for this package. */
Packit 723427
#undef PACKAGE_URL
Packit 723427
Packit 723427
/* Define to the version of this package. */
Packit 723427
#undef PACKAGE_VERSION
Packit 723427
Packit 723427
/* default pidfile name for dnssec-trigger */
Packit 723427
#undef PIDFILE
Packit 723427
Packit 723427
/* default Python interpreter path for all Python scripts */
Packit 723427
#undef PYTHON
Packit 723427
Packit 723427
/* Define as the return type of signal handlers (`int' or `void'). */
Packit 723427
#undef RETSIGTYPE
Packit 723427
Packit 723427
/* version number for resource files */
Packit 723427
#undef RSRC_PACKAGE_VERSION
Packit 723427
Packit 723427
/* Define to 1 if you have the ANSI C header files. */
Packit 723427
#undef STDC_HEADERS
Packit 723427
Packit 723427
/* Use win32 resources and API */
Packit 723427
#undef UB_ON_WINDOWS
Packit 723427
Packit 723427
/* directory with UI xml and png for dnssec-trigger */
Packit 723427
#undef UIDIR
Packit 723427
Packit 723427
/* unbound-control to call */
Packit 723427
#undef UNBOUND_CONTROL
Packit 723427
Packit 723427
/* Use builtin event system */
Packit 723427
#undef USE_MINI_EVENT
Packit 723427
Packit 723427
/* Enable extensions on AIX 3, Interix.  */
Packit 723427
#ifndef _ALL_SOURCE
Packit 723427
# undef _ALL_SOURCE
Packit 723427
#endif
Packit 723427
/* Enable GNU extensions on systems that have them.  */
Packit 723427
#ifndef _GNU_SOURCE
Packit 723427
# undef _GNU_SOURCE
Packit 723427
#endif
Packit 723427
/* Enable threading extensions on Solaris.  */
Packit 723427
#ifndef _POSIX_PTHREAD_SEMANTICS
Packit 723427
# undef _POSIX_PTHREAD_SEMANTICS
Packit 723427
#endif
Packit 723427
/* Enable extensions on HP NonStop.  */
Packit 723427
#ifndef _TANDEM_SOURCE
Packit 723427
# undef _TANDEM_SOURCE
Packit 723427
#endif
Packit 723427
/* Enable general extensions on Solaris.  */
Packit 723427
#ifndef __EXTENSIONS__
Packit 723427
# undef __EXTENSIONS__
Packit 723427
#endif
Packit 723427
Packit 723427
Packit 723427
/* Whether the windows socket API is used */
Packit 723427
#undef USE_WINSOCK
Packit 723427
Packit 723427
/* the version of the windows API enabled */
Packit 723427
#undef WINVER
Packit 723427
Packit 723427
/* Enable large inode numbers on Mac OS X 10.5.  */
Packit 723427
#ifndef _DARWIN_USE_64_BIT_INODE
Packit 723427
# define _DARWIN_USE_64_BIT_INODE 1
Packit 723427
#endif
Packit 723427
Packit 723427
/* Number of bits in a file offset, on hosts where this is settable. */
Packit 723427
#undef _FILE_OFFSET_BITS
Packit 723427
Packit 723427
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
Packit 723427
#undef _LARGEFILE_SOURCE
Packit 723427
Packit 723427
/* Define for large files, on AIX-style hosts. */
Packit 723427
#undef _LARGE_FILES
Packit 723427
Packit 723427
/* Define to 1 if on MINIX. */
Packit 723427
#undef _MINIX
Packit 723427
Packit 723427
/* Define to 2 if the system does not provide POSIX.1 features except with
Packit 723427
   this defined. */
Packit 723427
#undef _POSIX_1_SOURCE
Packit 723427
Packit 723427
/* Define to 1 if you need to in order for `stat' and other things to work. */
Packit 723427
#undef _POSIX_SOURCE
Packit 723427
Packit 723427
/* Define to empty if `const' does not conform to ANSI C. */
Packit 723427
#undef const
Packit 723427
Packit 723427
/* Define to `int' if <sys/types.h> doesn't define. */
Packit 723427
#undef gid_t
Packit 723427
Packit 723427
/* in_addr_t */
Packit 723427
#undef in_addr_t
Packit 723427
Packit 723427
/* in_port_t */
Packit 723427
#undef in_port_t
Packit 723427
Packit 723427
/* Define to `__inline__' or `__inline' if that's what the C compiler
Packit 723427
   calls it, or to nothing if 'inline' is not supported under any name.  */
Packit 723427
#ifndef __cplusplus
Packit 723427
#undef inline
Packit 723427
#endif
Packit 723427
Packit 723427
/* Define to `short' if <sys/types.h> does not define. */
Packit 723427
#undef int16_t
Packit 723427
Packit 723427
/* Define to `int' if <sys/types.h> does not define. */
Packit 723427
#undef int32_t
Packit 723427
Packit 723427
/* Define to `long long' if <sys/types.h> does not define. */
Packit 723427
#undef int64_t
Packit 723427
Packit 723427
/* Define to `char' if <sys/types.h> does not define. */
Packit 723427
#undef int8_t
Packit 723427
Packit 723427
/* Define if replacement function should be used. */
Packit 723427
#undef malloc
Packit 723427
Packit 723427
/* Define to `long int' if <sys/types.h> does not define. */
Packit 723427
#undef off_t
Packit 723427
Packit 723427
/* Define to `int' if <sys/types.h> does not define. */
Packit 723427
#undef pid_t
Packit 723427
Packit 723427
/* Define to 'int' if not defined */
Packit 723427
#undef rlim_t
Packit 723427
Packit 723427
/* Define to `unsigned int' if <sys/types.h> does not define. */
Packit 723427
#undef size_t
Packit 723427
Packit 723427
/* Define to 'int' if not defined */
Packit 723427
#undef socklen_t
Packit 723427
Packit 723427
/* Define to `int' if <sys/types.h> does not define. */
Packit 723427
#undef ssize_t
Packit 723427
Packit 723427
/* Define to 'unsigned char' if not defined */
Packit 723427
#undef u_char
Packit 723427
Packit 723427
/* Define to `int' if <sys/types.h> doesn't define. */
Packit 723427
#undef uid_t
Packit 723427
Packit 723427
/* Define to `unsigned short' if <sys/types.h> does not define. */
Packit 723427
#undef uint16_t
Packit 723427
Packit 723427
/* Define to `unsigned int' if <sys/types.h> does not define. */
Packit 723427
#undef uint32_t
Packit 723427
Packit 723427
/* Define to `unsigned long long' if <sys/types.h> does not define. */
Packit 723427
#undef uint64_t
Packit 723427
Packit 723427
/* Define to `unsigned char' if <sys/types.h> does not define. */
Packit 723427
#undef uint8_t
Packit 723427
Packit 723427
/* Define as `fork' if `vfork' does not work. */
Packit 723427
#undef vfork
Packit 723427
Packit 723427
Packit 723427
#ifndef DO_DEBUG
Packit 723427
#  define NDEBUG
Packit 723427
#endif
Packit 723427
Packit 723427
#include <stdio.h>
Packit 723427
#include <string.h>
Packit 723427
#include <unistd.h>
Packit 723427
#include <assert.h>
Packit 723427
Packit 723427
#if STDC_HEADERS
Packit 723427
#include <stdlib.h>
Packit 723427
#include <stddef.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_STDINT_H
Packit 723427
#include <stdint.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#include <errno.h>
Packit 723427
Packit 723427
#if HAVE_SYS_PARAM_H
Packit 723427
#include <sys/param.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_SYS_SOCKET_H
Packit 723427
#include <sys/socket.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_SYS_UIO_H
Packit 723427
#include <sys/uio.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_NETINET_IN_H
Packit 723427
#include <netinet/in.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_ARPA_INET_H
Packit 723427
#include <arpa/inet.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_WINSOCK2_H
Packit 723427
#include <winsock2.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_WS2TCPIP_H
Packit 723427
#include <ws2tcpip.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_GETOPT_H
Packit 723427
#include <getopt.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_OPENSSL_ERR_H
Packit 723427
#include <openssl/err.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_OPENSSL_RAND_H
Packit 723427
#include <openssl/rand.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_OPENSSL_SSL_H
Packit 723427
#include <openssl/ssl.h>
Packit 723427
#endif
Packit 723427
Packit 723427
#ifdef HAVE_ATTR_FORMAT
Packit 723427
#  define ATTR_FORMAT(archetype, string_index, first_to_check) \
Packit 723427
    __attribute__ ((format (archetype, string_index, first_to_check)))
Packit 723427
#else /* !HAVE_ATTR_FORMAT */
Packit 723427
#  define ATTR_FORMAT(archetype, string_index, first_to_check) /* empty */
Packit 723427
#endif /* !HAVE_ATTR_FORMAT */
Packit 723427
#if defined(DOXYGEN)
Packit 723427
#  define ATTR_UNUSED(x)  x
Packit 723427
#elif defined(__cplusplus)
Packit 723427
#  define ATTR_UNUSED(x)
Packit 723427
#elif defined(HAVE_ATTR_UNUSED)
Packit 723427
#  define ATTR_UNUSED(x)  x __attribute__((unused))
Packit 723427
#else /* !HAVE_ATTR_UNUSED */
Packit 723427
#  define ATTR_UNUSED(x)  x
Packit 723427
#endif /* !HAVE_ATTR_UNUSED */
Packit 723427
#ifndef HAVE_FSEEKO
Packit 723427
#define fseeko fseek
Packit 723427
#define ftello ftell
Packit 723427
#endif /* HAVE_FSEEKO */
Packit 723427
#if defined(HAVE_EVENT_H) && !defined(HAVE_EVENT_BASE_ONCE) && (defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS))
Packit 723427
   /* using version of libevent that is not threadsafe. */
Packit 723427
#  define LIBEVENT_SIGNAL_PROBLEM 1
Packit 723427
#endif
Packit 723427
Packit 723427
#ifndef RAND_MAX
Packit 723427
#define RAND_MAX	2147483647
Packit 723427
#endif
Packit 723427
Packit 723427
#ifndef CHECKED_INET6
Packit 723427
#  define CHECKED_INET6
Packit 723427
#  ifdef AF_INET6
Packit 723427
#    define INET6
Packit 723427
#  else
Packit 723427
#    define AF_INET6        28
Packit 723427
#  endif
Packit 723427
#endif /* CHECKED_INET6 */
Packit 723427
Packit 723427
#ifndef HAVE_GETADDRINFO
Packit 723427
struct sockaddr_storage;
Packit 723427
#include "compat/fake-rfc2553.h"
Packit 723427
#endif
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_INET_PTON
Packit 723427
#define inet_pton inet_pton_dnssectrigger
Packit 723427
int inet_pton(int af, const char* src, void* dst);
Packit 723427
#endif /* HAVE_INET_PTON */
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_INET_NTOP
Packit 723427
#define inet_ntop inet_ntop_dnssectrigger
Packit 723427
const char *inet_ntop(int af, const void *src, char *dst, size_t size);
Packit 723427
#endif
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_MEMMOVE
Packit 723427
#define memmove memmove_dnssectrigger
Packit 723427
void *memmove(void *dest, const void *src, size_t n);
Packit 723427
#endif
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_STRLCPY
Packit 723427
#define strlcpy strlcpy_dnssectrigger
Packit 723427
size_t strlcpy(char *dst, const char *src, size_t siz);
Packit 723427
#endif
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_SNPRINTF
Packit 723427
#define snprintf snprintf_dnssectrigger
Packit 723427
#define vsnprintf vsnprintf_dnssectrigger
Packit 723427
#include <stdarg.h>
Packit 723427
int snprintf (char *str, size_t count, const char *fmt, ...);
Packit 723427
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
Packit 723427
#endif /* HAVE_SNPRINTF */
Packit 723427
Packit 723427
Packit 723427
#if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H)
Packit 723427
#define sleep(x) Sleep((x)*1000) /* on win32 */
Packit 723427
#endif /* HAVE_SLEEP */
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_USLEEP
Packit 723427
#define usleep(x) Sleep((x)/1000 + 1) /* on win32 */
Packit 723427
#endif /* HAVE_USLEEP */
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_RANDOM
Packit 723427
#define random rand /* on win32, for tests only (bad random) */
Packit 723427
#endif /* HAVE_RANDOM */
Packit 723427
Packit 723427
Packit 723427
#ifndef HAVE_SRANDOM
Packit 723427
#define srandom(x) srand(x) /* on win32, for tests only (bad random) */
Packit 723427
#endif /* HAVE_SRANDOM */
Packit 723427
Packit 723427
Packit 723427
/* detect if we need to cast to unsigned int for FD_SET to avoid warnings */
Packit 723427
#ifdef HAVE_WINSOCK2_H
Packit 723427
#define FD_SET_T (u_int)
Packit 723427
#else
Packit 723427
#define FD_SET_T 
Packit 723427
#endif
Packit 723427
Packit 723427