tshark JSON and Elasticsearch output
[metze/wireshark/wip.git] / cmakeconfig.h.in
index 0a5b3aa79f44d6e742492566688248b7cfdeb8c5..f1addfac69d9bfff3db4f5eb1b5a07d21fd64980 100644 (file)
@@ -5,12 +5,16 @@
 /* Name of package */
 #define PACKAGE "wireshark"
 
+#define VERSION_EXTRA "$ENV{WIRESHARK_VERSION_EXTRA}"
+
 /* Version number of package */
-#define VERSION "${CPACK_PACKAGE_VERSION}"
+#define VERSION "${CPACK_PACKAGE_VERSION}${VERSION_EXTRA}"
 #define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
 #define VERSION_MINOR ${PROJECT_MINOR_VERSION}
 #define VERSION_MICRO ${PROJECT_PATCH_VERSION}
 
+#define VERSION_FLAVOR "${VERSION_FLAVOR}"
+
 /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
 /* Directory for data */
 #define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}"
@@ -19,7 +23,7 @@
 #cmakedefine HAVE_SSE4_2 1
 
 /* Directory where extcap hooks reside */
-#define EXTCAP_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}/extcap/"
+#define EXTCAP_DIR "${EXTCAP_DIR}"
 
 /* Define to 1 if we want to enable extcap */
 #cmakedefine HAVE_EXTCAP 1
@@ -27,6 +31,9 @@
 /* Define to 1 if we want to enable plugins */
 #cmakedefine HAVE_PLUGINS 1
 
+/*  Define to 1 if we check hf conflict */
+#cmakedefine ENABLE_CHECK_FILTER 1
+
 /* Link plugins statically into Wireshark */
 #cmakedefine ENABLE_STATIC 1
 
 /* Define to use c-ares library */
 #cmakedefine HAVE_C_ARES 1
 
-/* Define to 1 if you have the <direct.h> header file. */
-#cmakedefine HAVE_DIRECT_H 1
-
-/* Define to 1 if you have the <dirent.h> header file. */
-#cmakedefine HAVE_DIRENT_H 1
-
 /* Define to 1 if you have the `dladdr' function. */
 #cmakedefine HAVE_DLADDR 1
 
 /* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
 #cmakedefine HAVE_GEOIP_V6 1
 
+/* Define to 1 if you have the <ifaddrs.h> header file. */
+#cmakedefine HAVE_IFADDRS_H 1
+
+/* Define to 1 if you have the `getifaddrs' function. */
+#cmakedefine HAVE_GETIFADDRS 1
+
+/* Define if LIBSSH support is enabled */
+#cmakedefine HAVE_LIBSSH 1
+
+/* Define if LIBSSH has ssh_userauth_agent() function */
+#cmakedefine HAVE_SSH_USERAUTH_AGENT 1
+
 /* Define if you have the 'floorl' function. */
 #cmakedefine HAVE_FLOORL 1
 
-/* Define to 1 if you have the `gethostbyname2' function. */
-#cmakedefine HAVE_GETHOSTBYNAME2 1
+/* Define if you have the 'lrint' function. */
+#cmakedefine HAVE_LRINT 1
 
 /* Define to 1 if you have the getopt_long function. */
 #cmakedefine HAVE_GETOPT_LONG 1
 /* Define to 1 if you have the <getopt.h> header file. */
 #cmakedefine HAVE_GETOPT_H 1
 
+/* Define if GLib's printf functions support thousands grouping. */
+#cmakedefine HAVE_GLIB_PRINTF_GROUPING 1
+
 /* Define to 1 if you have the `getprotobynumber' function. */
 #cmakedefine HAVE_GETPROTOBYNUMBER 1
 
-/* Define to use GNU ADNS library */
-#cmakedefine HAVE_GNU_ADNS 1
-
 /* Define to 1 if you have the <grp.h> header file. */
 #cmakedefine HAVE_GRP_H 1
 
 /* Define to use heimdal kerberos */
 #cmakedefine HAVE_HEIMDAL_KERBEROS 1
 
-/* Define unless inet/aton.h needs to be included */
-#cmakedefine HAVE_INET_ATON_H 1
+/* Define to 1 if you have the `inet_aton' function. */
+#cmakedefine HAVE_INET_ATON 1
 
-/* Define if inet_ntop() prototype exists */
-#cmakedefine HAVE_INET_NTOP_PROTO 1
+/* Define to 1 if you have the `inet_ntop' function. */
+#cmakedefine HAVE_INET_NTOP 1
+
+/* Define to 1 if you have the `inet_pton' function. */
+#cmakedefine HAVE_INET_PTON 1
 
 /* Define to 1 if you have the `inflatePrime' function. */
 #cmakedefine HAVE_INFLATEPRIME 1
 /* Define to use kerberos */
 #cmakedefine HAVE_KERBEROS 1
 
-/* Define if krb5.h defines KEYTYPE_ARCFOUR_56 */
-#cmakedefine HAVE_KEYTYPE_ARCFOUR_56 1
-
 /* Define to use the libcap library */
 #cmakedefine HAVE_LIBCAP 1
 
 /* Define to 1 if you have the `smi' library (-lsmi). */
 #cmakedefine HAVE_LIBSMI 1
 
-/* Define to use libz library */
-#cmakedefine HAVE_LIBZ 1
+/* Define to use zlib library */
+#cmakedefine HAVE_ZLIB 1
+
+/* Define to 1 if you have the <linux/sockios.h> header file. */
+#cmakedefine HAVE_LINUX_SOCKIOS_H 1
+
+/* Define to 1 if you have the <linux/if_bonding.h> header file. */
+#cmakedefine HAVE_LINUX_IF_BONDING_H 1
 
 /* Define to use Lua */
 #cmakedefine HAVE_LUA 1
 /* Define to 1 if you have the `mkdtemp' function. */
 #cmakedefine HAVE_MKDTEMP 1
 
-/* Define to 1 if you have the `mkstemp' function. */
-#cmakedefine HAVE_MKSTEMP 1
+/* Define to 1 if you have the `mkstemps' function. */
+#cmakedefine HAVE_MKSTEMPS 1
 
 /* Define to 1 if you have the `mmap' function. */
 #cmakedefine HAVE_MMAP 1
 /* SET_CHANNEL is supported */
 #cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
 
+/* SPLIT_WIPHY_DUMP is supported */
+#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1
+
+/* VHT_CAPABILITY is supported */
+#cmakedefine HAVE_NL80211_VHT_CAPABILITY 1
+
 /* Define to 1 if you have the <Ntddndis.h> header file. */
 #cmakedefine HAVE_NTDDNDIS_H 1
 
 /* Define to 1 if you have the `pcap_create' function. */
 #cmakedefine HAVE_PCAP_CREATE 1
 
+/* Define to 1 if the capture buffer size can be set. */
+#cmakedefine CAN_SET_CAPTURE_BUFFER_SIZE 1
+
 /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
 #cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
 
 #cmakedefine HAVE_REMOTE 1
 
 /* Define if sa_len field exists in struct sockaddr */
-#cmakedefine HAVE_SA_LEN 1
+#cmakedefine HAVE_SOCKADDR_SA_LEN 1
 
 /* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */
 #cmakedefine HAVE_SBC 1
 /* Define to 1 if you have the WinSparkle library */
 #cmakedefine HAVE_SOFTWARE_UPDATE 1
 
-/* Define to 1 if you have the <stdarg.h> header file. */
-#cmakedefine HAVE_STDARG_H 1
-
-/* Define to 1 if you have the <stddef.h> header file. */
-#cmakedefine HAVE_STDDEF_H 1
-
 /* Define to 1 if you have the <stdint.h> header file. */
 #cmakedefine HAVE_STDINT_H 1
 
-/* Define to 1 if you have the <stdlib.h> header file. */
-#cmakedefine HAVE_STDLIB_H 1
-
 /* Define to 1 if you have the <strings.h> header file. */
 #cmakedefine HAVE_STRINGS_H 1
 
-/* Define to 1 if you have the <string.h> header file. */
-#cmakedefine HAVE_STRING_H 1
-
 /* Define if you have the 'strptime' function. */
 #cmakedefine HAVE_STRPTIME 1
 
 /* Define if st_flags field exists in struct stat */
-#cmakedefine HAVE_ST_FLAGS 1
+#cmakedefine HAVE_STAT_ST_FLAGS 1
 
 /* Define to 1 if you have the `sysconf' function. */
 #cmakedefine HAVE_SYSCONF 1
 #cmakedefine HAVE_SYS_WAIT_H 1
 
 /* Define if tm_zone field exists in struct tm */
-#cmakedefine HAVE_TM_ZONE 1
+#cmakedefine HAVE_STRUCT_TM_TM_ZONE 1
 
 /* Define if tzname array exists */
 #cmakedefine HAVE_TZNAME 1
 /* Define to 1 if you have the <winsock2.h> header file. */
 #cmakedefine HAVE_WINSOCK2_H 1
 
-/* HTML viewer, e.g. mozilla */
-#cmakedefine HTML_VIEWER "${HTML_VIEWER_EXECUTABLE}"
-
-/* Define if inet/v6defs.h needs to be included */
-#cmakedefine NEED_INET_V6DEFS_H 1
-
 /* Name of package */
 #cmakedefine PACKAGE
 
 /* Define if we are using version of of the Portaudio library API */
 #cmakedefine PORTAUDIO_API_1 1
 
-/* Define if we have QtMultimediaWidgets */
-#cmakedefine QT_MULTIMEDIAWIDGETS_LIB 1
+/* Define if we have QtMultimedia */
+#cmakedefine QT_MULTIMEDIA_LIB 1
 
 /* Define if we have QtMacExtras */
 #cmakedefine QT_MACEXTRAS_LIB 1
    first (like Motorola and SPARC, unlike Intel and VAX). */
 #cmakedefine WORDS_BIGENDIAN 1
 
+/* Build androiddump with libpcap instead of wireshark stuff */
+#cmakedefine ANDROIDDUMP_USE_LIBPCAP 1
+
 /* Large file support */
 #cmakedefine _LARGEFILE_SOURCE
 #cmakedefine _LARGEFILE64_SOURCE
 #cmakedefine _LARGE_FILES
 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
 
-/* Define WS_MSVC_NORETURN appropriately for declarations of routines that
-   never return (just like Charlie on the MTA).
-
-   Note that MSVC++ expects __declspec(noreturn) to precede the function
-   name and GCC, as far as I know, expects __attribute__((noreturn)) to
-   follow the function name, so we need two different flavors of
-   noreturn tag.  */
-#define WS_MSVC_NORETURN @WS_MSVC_NORETURN@
-
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */
 /* Note: not use in the code */
    However, we do need it for some headers that are shared between C and C++. */
 #define _U_ ${C_UNUSED}
 
-#  define INET6 1
+/* Hint to the compiler that a function never returns */
+#define WS_NORETURN @WS_NORETURN@
 
 #if defined(_WIN32)
 
 #  define UNICODE 1
 #  define _UNICODE 1
 
-/*#  define INET6 1*/
-#  define NEED_INET_V6DEFS_H 1
 #  define NEED_STRPTIME_H 1
 #endif
+
+#include <ws_diag_control.h>