1/* cmakeconfig.h.in */ 2 3#ifndef __CONFIG_H__ 4#define __CONFIG_H__ 5 6/* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */ 7 8/* Name of package */ 9#define PACKAGE "wireshark" 10 11#define VERSION_EXTRA "$ENV{WIRESHARK_VERSION_EXTRA}" 12 13/* Version number of package */ 14#define VERSION "${PROJECT_VERSION}${VERSION_EXTRA}" 15#define VERSION_MAJOR ${PROJECT_MAJOR_VERSION} 16#define VERSION_MINOR ${PROJECT_MINOR_VERSION} 17#define VERSION_MICRO ${PROJECT_PATCH_VERSION} 18 19#define PLUGIN_PATH_ID "${PLUGIN_PATH_ID}" 20#define VERSION_FLAVOR "${VERSION_FLAVOR}" 21 22/* Build wsutil with SIMD optimization */ 23#cmakedefine HAVE_SSE4_2 1 24 25/* Define to 1 if we want to enable plugins */ 26#cmakedefine HAVE_PLUGINS 1 27 28/* Define to 1 if we check hf conflict */ 29#cmakedefine ENABLE_CHECK_FILTER 1 30 31/* Link Wireshark libraries statically */ 32#cmakedefine ENABLE_STATIC 1 33 34/* Enable AirPcap */ 35#cmakedefine HAVE_AIRPCAP 1 36 37/* Define to 1 if you have the <arpa/inet.h> header file. */ 38#cmakedefine HAVE_ARPA_INET_H 1 39 40/* Define to 1 if you have the `clock_gettime` function. */ 41#cmakedefine HAVE_CLOCK_GETTIME 1 42 43/* Define to use the MaxMind DB library */ 44#cmakedefine HAVE_MAXMINDDB 1 45 46/* Define to 1 if you have the <ifaddrs.h> header file. */ 47#cmakedefine HAVE_IFADDRS_H 1 48 49/* Define to 1 if yu have the `fseeko` function. */ 50#cmakedefine HAVE_FSEEKO 1 51 52/* Define to 1 if you have the `getexecname' function. */ 53#cmakedefine HAVE_GETEXECNAME 1 54 55/* Define to 1 if you have the `getifaddrs' function. */ 56#cmakedefine HAVE_GETIFADDRS 1 57 58/* Define if LIBSSH support is enabled */ 59#cmakedefine HAVE_LIBSSH 1 60 61/* Define if you have the 'dlget' function. */ 62#cmakedefine HAVE_DLGET 1 63 64/* Define if you have the 'getexecname' function. */ 65#cmakedefine HAVE_GETEXECNAME 1 66 67/* Define to 1 if you have the <grp.h> header file. */ 68#cmakedefine HAVE_GRP_H 1 69 70/* Define to use heimdal kerberos */ 71#cmakedefine HAVE_HEIMDAL_KERBEROS 1 72 73/* Define to 1 if you have the `krb5_pac_verify' function. */ 74#cmakedefine HAVE_KRB5_PAC_VERIFY 1 75 76/* Define to 1 if you have the `krb5_c_fx_cf2_simple' function. */ 77#cmakedefine HAVE_KRB5_C_FX_CF2_SIMPLE 1 78 79/* Define to 1 if you have the `decode_krb5_enc_tkt_part' function. */ 80#cmakedefine HAVE_DECODE_KRB5_ENC_TKT_PART 1 81 82/* Define to 1 if you have the `encode_krb5_enc_tkt_part' function. */ 83#cmakedefine HAVE_ENCODE_KRB5_ENC_TKT_PART 1 84 85/* Define to 1 if you have the `inflatePrime' function. */ 86#cmakedefine HAVE_INFLATEPRIME 1 87 88/* Define to 1 if you have the `issetugid' function. */ 89#cmakedefine HAVE_ISSETUGID 1 90 91/* Define to use kerberos */ 92#cmakedefine HAVE_KERBEROS 1 93 94/* Define to use nghttp2 */ 95#cmakedefine HAVE_NGHTTP2 1 96 97/* Define to use the libcap library */ 98#cmakedefine HAVE_LIBCAP 1 99 100/* Define to use GnuTLS library */ 101#cmakedefine HAVE_LIBGNUTLS 1 102 103/* Define to 1 if GnuTLS was built with pkcs11 support. */ 104#cmakedefine HAVE_GNUTLS_PKCS11 1 105 106/* Enable libnl support */ 107#cmakedefine HAVE_LIBNL 1 108 109/* libnl version 1 */ 110#cmakedefine HAVE_LIBNL1 1 111 112/* libnl version 2 */ 113#cmakedefine HAVE_LIBNL2 1 114 115/* libnl version 3 */ 116#cmakedefine HAVE_LIBNL3 1 117 118/* Define to use libpcap library */ 119#cmakedefine HAVE_LIBPCAP 1 120 121/* Define to 1 if you have the `smi' library (-lsmi). */ 122#cmakedefine HAVE_LIBSMI 1 123 124/* Define to 1 if libsmi exports a version string (and that symbol is visible). */ 125#cmakedefine HAVE_SMI_VERSION_STRING 1 126 127/* Define to use zlib library */ 128#cmakedefine HAVE_ZLIB 1 129 130/* Define to use the minizip library */ 131#cmakedefine HAVE_MINIZIP 1 132 133/* Define if `dos_date' (with underscore) field exists in `zip_fileinfo' */ 134#cmakedefine HAVE_MZCOMPAT_DOS_DATE 1 135 136/* Define to use brotli library */ 137#cmakedefine HAVE_BROTLI 1 138 139/* Define to use lz4 library */ 140#cmakedefine HAVE_LZ4 1 141 142/* Check for lz4frame */ 143#cmakedefine HAVE_LZ4FRAME_H 1 144 145/* Define to use snappy library */ 146#cmakedefine HAVE_SNAPPY 1 147 148/* Define to use zstd library */ 149#cmakedefine HAVE_ZSTD 1 150 151/* Define to 1 if you have the <linux/sockios.h> header file. */ 152#cmakedefine HAVE_LINUX_SOCKIOS_H 1 153 154/* Define to 1 if you have the <linux/if_bonding.h> header file. */ 155#cmakedefine HAVE_LINUX_IF_BONDING_H 1 156 157/* Define to use Lua */ 158#cmakedefine HAVE_LUA 1 159 160/* Define to use MIT kerberos */ 161#cmakedefine HAVE_MIT_KERBEROS 1 162 163/* Define to 1 if you have the <netdb.h> header file. */ 164#cmakedefine HAVE_NETDB_H 1 165 166/* Define to 1 if you have the <netinet/in.h> header file. */ 167#cmakedefine HAVE_NETINET_IN_H 1 168 169/* nl80211.h is new enough */ 170#cmakedefine HAVE_NL80211 1 171 172/* SET_CHANNEL is supported */ 173#cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1 174 175/* SPLIT_WIPHY_DUMP is supported */ 176#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1 177 178/* VHT_CAPABILITY is supported */ 179#cmakedefine HAVE_NL80211_VHT_CAPABILITY 1 180 181/* Define to 1 if you have macOS frameworks */ 182#cmakedefine HAVE_MACOS_FRAMEWORKS 1 183 184/* Define to 1 if you have the macOS CFPropertyListCreateWithStream function */ 185#cmakedefine HAVE_CFPROPERTYLISTCREATEWITHSTREAM 1 186 187/* Define to 1 if you have the `pcap_create' function. */ 188#cmakedefine HAVE_PCAP_CREATE 1 189 190/* Define to 1 if the capture buffer size can be set. */ 191#cmakedefine CAN_SET_CAPTURE_BUFFER_SIZE 1 192 193/* Define to 1 if you have the `pcap_freecode' function. */ 194#cmakedefine HAVE_PCAP_FREECODE 1 195 196/* Define to 1 if you have the `pcap_free_datalinks' function. */ 197#cmakedefine HAVE_PCAP_FREE_DATALINKS 1 198 199/* Define to 1 if you have the `pcap_open' function. */ 200#cmakedefine HAVE_PCAP_OPEN 1 201 202/* Define to 1 if you have libpcap/WinPcap/Npcap remote capturing support. */ 203#cmakedefine HAVE_PCAP_REMOTE 1 204 205/* Define to 1 if you have the `pcap_setsampling' function. */ 206#cmakedefine HAVE_PCAP_SETSAMPLING 1 207 208/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */ 209#cmakedefine HAVE_PCAP_SET_TSTAMP_PRECISION 1 210 211/* Define to 1 if you have the `pcap_set_tstamp_type' function. */ 212#cmakedefine HAVE_PCAP_SET_TSTAMP_TYPE 1 213 214/* Define to 1 if you have the <pwd.h> header file. */ 215#cmakedefine HAVE_PWD_H 1 216 217/* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */ 218#cmakedefine HAVE_SBC 1 219 220/* Define to 1 if you have the SpanDSP library. */ 221#cmakedefine HAVE_SPANDSP 1 222 223/* Define to 1 if you have the bcg729 library. */ 224#cmakedefine HAVE_BCG729 1 225 226/* Define to 1 if you have the ilbc library. */ 227#cmakedefine HAVE_ILBC 1 228 229/* Define to 1 if you have the opus library. */ 230#cmakedefine HAVE_OPUS 1 231 232/* Define to 1 if you have the speexdsp library. */ 233#cmakedefine HAVE_SPEEXDSP 1 234 235/* Define to 1 if you have the lixbml2 library. */ 236#cmakedefine HAVE_LIBXML2 1 237 238/* Define to 1 if you have the `setresgid' function. */ 239#cmakedefine HAVE_SETRESGID 1 240 241/* Define to 1 if you have the `setresuid' function. */ 242#cmakedefine HAVE_SETRESUID 1 243 244/* Define to 1 if you have the Sparkle or WinSparkle library */ 245#cmakedefine HAVE_SOFTWARE_UPDATE 1 246 247/* Define if you have the 'strptime' function. */ 248#cmakedefine HAVE_STRPTIME 1 249 250/* Define to 1 if `st_birthtime' is a member of `struct stat'. */ 251#cmakedefine HAVE_STRUCT_STAT_ST_BIRTHTIME 1 252 253/* Define if st_blksize field exists in struct stat */ 254#cmakedefine HAVE_STRUCT_STAT_ST_BLKSIZE 1 255 256/* Define to 1 if `__st_birthtime' is a member of `struct stat'. */ 257#cmakedefine HAVE_STRUCT_STAT___ST_BIRTHTIME 1 258 259/* Define to 1 if you have the <sys/select.h> header file. */ 260#cmakedefine HAVE_SYS_SELECT_H 1 261 262/* Define to 1 if you have the <sys/socket.h> header file. */ 263#cmakedefine HAVE_SYS_SOCKET_H 1 264 265/* Define to 1 if you have the <sys/time.h> header file. */ 266#cmakedefine HAVE_SYS_TIME_H 1 267 268/* Define to 1 if you have the <sys/utsname.h> header file. */ 269#cmakedefine HAVE_SYS_UTSNAME_H 1 270 271/* Define to 1 if you have the <sys/wait.h> header file. */ 272#cmakedefine HAVE_SYS_WAIT_H 1 273 274/* Define if tm_zone field exists in struct tm */ 275#cmakedefine HAVE_STRUCT_TM_TM_ZONE 1 276 277/* Define if tzname array exists */ 278#cmakedefine HAVE_TZNAME 1 279 280/* Define to 1 if you have the <unistd.h> header file. */ 281#cmakedefine HAVE_UNISTD_H 1 282 283/* Define if we have QtMultimedia */ 284#define QT_MULTIMEDIA_LIB 1 285 286/* Define if we have QtMacExtras */ 287#cmakedefine QT_MACEXTRAS_LIB 1 288 289/* Build androiddump with libpcap instead of wireshark stuff */ 290#cmakedefine ANDROIDDUMP_USE_LIBPCAP 1 291 292/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 293 `char[]'. */ 294/* Note: not use in the code */ 295#cmakedefine YYTEXT_POINTER 296 297#if defined(_MSC_VER) 298# if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED) 299 typedef int ssize_t; 300# endif 301# define strncasecmp strnicmp 302# define popen _popen 303# define pclose _pclose 304#endif 305 306#if defined(_WIN32) 307 /* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */ 308# ifndef WIN32 309# define WIN32 1 310# endif 311 312 /* 313 * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h 314 */ 315# define YY_NO_UNISTD_H 316 317# ifndef __STDC__ 318# define __STDC__ 0 319# endif 320#endif 321 322#include <ws_diag_control.h> 323#include <ws_log_defs.h> 324 325#endif /* __CONFIG_H__ */ 326