"ssn_range" needs to be a copy of "global_ssn_range", so that it's not
[obnox/wireshark/wip.git] / config.h.win32
index 78888f85f395cb6e4d0ddc22a1ed9c6e452a4c5f..00ea8bc2f78f6440df43aae2040c4bb0f30e942f 100644 (file)
@@ -1,6 +1,25 @@
+/* $Id$ */
+/* config.h.win32 Generated manually. :-) */
 /* config.h.  Generated automatically by configure.  */
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
 
+/* Generated Bison and Flex files test whether __STDC__ is defined
+   in order to check whether to use ANSI C features such as "const".
+
+   GCC defines it as 1 even if extensions that render the implementation
+   non-conformant are enabled; Sun's C compiler (and, I think, other
+   AT&T-derived C compilers) define it as 0 if extensions that render
+   the implementation non-conformant are enabled; Microsoft Visual C++
+   6.0 doesn't define it at all if extensions that render the implementation
+   non-conformant are enabled.
+
+   We define it as 0 here, so that those generated files will use
+   those features (and thus not get type warnings when compiled with
+   MSVC++). */
+#ifndef __STDC__
+#define __STDC__ 0
+#endif
+
 /* Define if you have the ANSI C header files.  */
 #define STDC_HEADERS 1
 
 /* Define if lex declares yytext as a char * by default, not a char[].  */
 #define YYTEXT_POINTER 1
 
-/* #undef HAVE_SA_LEN */
+#define HAVE_PLUGINS           1
+#define PLUGINS_NEED_ADDRESS_TABLE 1
 
-#define DATAFILE_DIR "/usr/local/etc"
+/* Plugins can also use the import library of libethereal.dll instead
+   of the old API. In that case we undefine PLUGINS_NEED_ADDRESS_TABLE 
+   for the plugin. We don't undefine PLUGINS_NEED_ADDRESS_TABLE globally.
+   Thus Ethereal will be still able to load plugins using the old API. 
+   The macro HAVE_WIN32_LIBETHEREAL_LIB has to be defined in plugin's 
+   makefile.nmake. A template is available in doc/README.plugins */
+#ifdef HAVE_WIN32_LIBETHEREAL_LIB
+#undef PLUGINS_NEED_ADDRESS_TABLE
+#endif
 
-/* #undef NEED_INET_V6DEFS_H */
+/* #undef HAVE_SA_LEN */
 
 /* #undef NEED_SNPRINTF_H */
 
 /* #undef NEED_STRERROR_H */
 
-/* Define if you have the pcap library (-lpcap).  */
-/* #define HAVE_LIBPCAP 1 */   /* although there are versions available */
+#define NEED_MKSTEMP 1
 
-/* #undef HAVE_LIBZ */         /* I think it might be available */
+@HAVE_LIBPCAP@
+@HAVE_PCAP_FINDALLDEVS@
+@HAVE_PCAP_DATALINK_NAME_TO_VAL@
+@HAVE_PCAP_DATALINK_VAL_TO_NAME@
+@WPCAP_CONSTIFIED@
+@HAVE_LIBETHEREALDLL@
+
+/* define macro for importing variables from an dll 
+ * it depends on HAVE_LIBETHEREAL and _NEED_VAR_IMPORT_
+ */
+#if defined (_NEED_VAR_IMPORT_) && defined (HAVE_LIBETHEREALDLL)
+#  define ETH_VAR_IMPORT __declspec(dllimport) extern
+#else
+#  define ETH_VAR_IMPORT extern
+#endif
+
+#define HAVE_NET_SNMP 1
+#define HAVE_SOME_SNMP 1
 
 /* Define if you have the gethostbyname2 function.  */
 /* #undef HAVE_GETHOSTBYNAME2 */
 /* Define if you have the getprotobynumber function.  */
 /* #undef HAVE_GETPROTOBYNUMBER */
 
-/* Define if you have the <dlfcn.h> header file.  */
-/* #undef HAVE_DLFCN_H */      /* XXX - use "LoadLibrary()"? */
+/* Define if you have the <arpa/inet.h> header file.  */
+/* #undef HAVE_ARPA_INET_H */
 
 /* Define if you have the <fcntl.h> header file.  */
 #define HAVE_FCNTL_H 1
 
-/* Define if you have the <net/if.h> header file.  */
-/* #undef HAVE_NET_IF_H */
+/* Define if you have the <iconv.h> header file.  */
+/* #undef HAVE_ICONV_H */
 
 /* Define if you have the <netdb.h> header file.  */
 /* #undef HAVE_NETDB_H */
 /* #undef HAVE_SYS_SOCKIO_H */
 
 /* Define if you have the <sys/stat.h> header file.  */
-/* #undef HAVE_SYS_STAT_H */
+#define HAVE_SYS_STAT_H 1
 
 /* Define if you have the <sys/time.h> header file.  */
 /* #define HAVE_SYS_TIME_H 1 */
 /* Define if you have the <sys/wait.h> header file.  */
 /* #undef HAVE_SYS_WAIT_H */
 
-/* Define if you have the <ucd-snmp/snmp.h> header file.  */
-/* #undef HAVE_UCD_SNMP_SNMP_H */
-
 /* Define if you have the <ucd-snmp/version.h> header file.  */
 /* #undef HAVE_UCD_SNMP_VERSION_H */
 
 /* Define if you have the <unistd.h> header file.  */
 /* #define HAVE_UNISTD_H 1 */
 
+/* Define if <inttypes.h> defines PRI[doxu]64 macros */
+/* #define INTTYPES_H_DEFINES_FORMATS */
+
+/* Format for printing 64-bit signed decimal numbers */
+#ifndef PRId64
+#ifdef _MSC_EXTENSIONS
+#define PRId64  "I64d"
+#else /* _MSC_EXTENSIONS */
+#define PRId64  "lld"
+#endif /* _MSC_EXTENSIONS */
+#endif /* PRId64 */
+
+/* Format for printing 64-bit unsigned octal numbers */
+#ifndef PRIo64
+#ifdef _MSC_EXTENSIONS
+#define PRIo64  "I64o"
+#else /* _MSC_EXTENSIONS */
+#define PRIo64  "llo"
+#endif /* _MSC_EXTENSIONS */   
+#endif /* PRIo64 */   
+
+/* Format for printing 64-bit unsigned decimal numbers */
+#ifndef PRIu64
+#ifdef _MSC_EXTENSIONS
+#define PRIu64  "I64u"
+#else /* _MSC_EXTENSIONS */
+#define PRIu64  "llu"  
+#endif /* _MSC_EXTENSIONS */
+#endif /* PRIu64 */
+
+/* Format for printing 64-bit unsigned hexadecimal numbers */
+#ifndef PRIx64  
+#ifdef _MSC_EXTENSIONS
+#define PRIx64  "I64x"
+#else /* _MSC_EXTENSIONS */
+#define PRIx64  "llx"
+#endif /* _MSC_EXTENSIONS */
+#endif /* PRIx64 */   
+
+/* Define if you have the z library (-lz).  */
+@HAVE_LIBZ@
+
+/* Define to use GNU ADNS library */
+@HAVE_GNU_ADNS@
+#define ADNS_JGAA_WIN32 1
+
+/* Define to use the PCRE library */
+@HAVE_PCRE@
+
+/* Define to use the Nettle library */
+@HAVE_NETTLE@
+#ifdef HAVE_LIBNETTLE
+#define HAVE_KERBEROS 1
+#endif
+
+#ifndef WIN32
+#define WIN32                  1
+#endif
+
+#define HAVE_WINDOWS_H         1
+#define HAVE_WINSOCK2_H                1
+#define HAVE_DIRECT_H          1
+#define HAVE_IO_H              1
+#define NEED_INET_ATON_H       1
+#define NEED_INET_V6DEFS_H     1
+#define NEED_GETOPT_H          1
+#define NEED_STRPTIME_H                1
+#define snprintf               _snprintf
+#define vsnprintf              _vsnprintf
+#define strcasecmp             stricmp
+#define strncasecmp            strnicmp
+#define open                   _open
+#define close                  _close
+#define popen                  _popen
+#define pclose                 _pclose
+
+/* Needed for zlib, according to http://www.winimage.com/zLibDll/ */
+/*#define ZLIB_DLL                1
+#define _WINDOWS                1*/
+
 /* Name of package */
 #define PACKAGE "ethereal"
 
 /* Version number of package */
-#define VERSION "0.8.0"
-
-#define HAVE_WINSOCK_H
-#define snprintf _snprintf
-#define vsnprintf _vsnprintf
-#define HAVE_DIRECT_H
-#define HAVE_IO_H
-#define strncasecmp strnicmp
+#define VERSION "@VERSION@"
+
+/* We don't know what the plugin installation directory will be. */
+#define PLUGIN_DIR NULL