/**************************************************************************** * * config.h - NRPE Configuration header file * * License: GPLv2 * Copyright (c) 2006-2017 Nagios Enterprises * 1999-2006 Ethan Galstad (nagios@nagios.org) * * License Notice: * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * ****************************************************************************/ #ifndef _CONFIG_H #define _CONFIG_H #include #include /* Default port for NRPE daemon */ #undef DEFAULT_SERVER_PORT /* NRPE syslog facility */ #undef NRPE_LOG_FACILITY /* Enable command-line arguments */ #undef ENABLE_COMMAND_ARGUMENTS /* Enable bash command substitution */ #undef ENABLE_BASH_COMMAND_SUBSTITUTION /* type to use in place of socklen_t if not defined */ #undef socklen_t /* Define to 1 if you have the `getopt_long' function. */ #undef HAVE_GETOPT_LONG /* Have the TCP wrappers library */ #undef HAVE_LIBWRAP /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the `strstr' function. */ #undef HAVE_STRSTR /* Define to 1 if you have the `strtoul' function. */ #undef HAVE_STRTOUL /* Define to 1 if you have the `strtok_r' function. */ #undef HAVE_STRTOK_R /* Define to 1 if you have the `initgroups' function. */ #undef HAVE_INITGROUPS /* Define to 1 if you have the `closesocket' function. */ #undef HAVE_CLOSESOCKET /* Define to 1 if you have the `sigaction' function. */ #undef HAVE_SIGACTION /* Define to 1 if you have the `scandir' function. */ #undef HAVE_SCANDIR /* Set to 1 if you have rfc931_timeout */ #undef HAVE_RFC931_TIMEOUT /* The size of `int', as computed by sizeof. */ #undef SIZEOF_INT /* The size of `short', as computed by sizeof. */ #undef SIZEOF_SHORT /* The size of `long', as computed by sizeof. */ #undef SIZEOF_LONG /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Set to 1 to use SSL DH */ #undef USE_SSL_DH /* stupid stuff for u_int32_t */ #undef U_INT32_T_IS_USHORT #undef U_INT32_T_IS_UINT #undef U_INT32_T_IS_ULONG #undef U_INT32_T_IS_UINT32_T #ifdef U_INT32_T_IS_USHORT typedef unsigned short u_int32_t; #endif #ifdef U_INT32_T_IS_ULONG typedef unsigned long u_int32_t; #endif #ifdef U_INT32_T_IS_UINT typedef unsigned int u_int32_t; #endif #ifdef U_INT32_T_IS_UINT32_t typedef uint32_t u_int32_t; #endif /* stupid stuff for int32_t */ #undef INT32_T_IS_SHORT #undef INT32_T_IS_INT #undef INT32_T_IS_LONG #ifdef INT32_T_IS_USHORT typedef short int32_t; #endif #ifdef INT32_T_IS_ULONG typedef long int32_t; #endif #ifdef INT32_T_IS_UINT typedef int int32_t; #endif /***** ASPRINTF() AND FRIENDS *****/ /* Whether vsnprintf() is available */ #undef HAVE_VSNPRINTF /* Whether snprintf() is available */ #undef HAVE_SNPRINTF /* Whether aprintf() is available */ #undef HAVE_ASPRINTF /* Whether vaprintf() is available */ #undef HAVE_VASPRINTF /* Define if system has C99 compatible vsnprintf */ #undef HAVE_C99_VSNPRINTF /* Whether va_copy() is available */ #undef HAVE_VA_COPY /* Whether __va_copy() is available */ #undef HAVE___VA_COPY /* Socket Size Type */ #undef SOCKET_SIZE_TYPE /* Define to the type of elements in the array set by `getgroups'. Usually this is either `int' or `gid_t'. */ #undef GETGROUPS_T /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to 1 if the system has the type `struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE /* Use seteuid() or setresuid() depending on the platform */ #undef SETEUID /* Set to 1 if we are on Solaris 10 */ #undef SOLARIS_10 /* Define to 1 if you have the header file. */ #undef HAVE_GETOPT_H #ifdef HAVE_GETOPT_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H #ifdef HAVE_STRINGS_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H #ifdef HAVE_STRING_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_SIGNAL_H #ifdef HAVE_SIGNAL_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_SYS_WAIT_H #ifdef HAVE_SYS_WAIT_H #include #endif #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif /* Define to 1 if you have the header file. */ #undef HAVE_ERRNO_H #ifdef HAVE_ERRNO_H #include #endif /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_SOCKET_H #ifdef HAVE_SOCKET_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_TCPD_H #ifdef HAVE_TCPD_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H #ifdef HAVE_ARPA_INET_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H #ifdef HAVE_NETDB_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_CTYPE_H #ifdef HAVE_CTYPE_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_PWD_H #ifdef HAVE_PWD_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_GRP_H #ifdef HAVE_GRP_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_DIRENT_H #ifdef HAVE_DIRENT_H #include #endif /* Have SSL support */ #undef HAVE_SSL #undef OPENSSL_V3 /* Have the krb5.h header file */ #undef HAVE_KRB5_H #ifdef HAVE_KRB5_H #include #endif /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H #ifdef HAVE_INTTYPES_H #include #else #ifdef HAVE_STDINT_H #include #endif #endif /* Define to 1 if you have the header file. */ #undef HAVE_PATHS_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_RESOURCE_H #endif