--------------------- PatchSet 8040 Date: 2006/05/27 10:38:26 Author: serassio Branch: nt Tag: (none) Log: Updated VisualStudio autoconf.h Members: port/win32/include/autoconf.h:1.1.38.1->1.1.38.2 Index: squid/port/win32/include/autoconf.h =================================================================== RCS file: /cvsroot/squid-sf//squid/port/win32/include/Attic/autoconf.h,v retrieving revision 1.1.38.1 retrieving revision 1.1.38.2 diff -u -r1.1.38.1 -r1.1.38.2 --- squid/port/win32/include/autoconf.h 16 May 2006 21:05:58 -0000 1.1.38.1 +++ squid/port/win32/include/autoconf.h 27 May 2006 10:38:26 -0000 1.1.38.2 @@ -1,421 +1,28 @@ /* include/autoconf.h. Generated by configure. */ /* include/autoconf.h.in. Generated from configure.in by autoheader. */ -/* - * All configurable options are enabled by using --enable-.... - * when running configure. See configure --help for a list - * of all available options. - * - * You are free to edit this file, but it will be overwritten - * each time you run configure. You may need to edit this file - * if configure falsely picks up a library function or structure - * that doesn't really work on your system. - * - * Another way to block a function that should not be detected - * is to - * setenv ac_cv_func_ no - * before running configure, as in - * setenv ac_cv_func_setresuid no - * - * It is possible to enable some of the configurable options - * by editing this file alone, but some of them requires changes - * in the Makefiles, wich is done automatically by configure. - * - */ - -#ifndef __CONFIGURE_H__ -#define __CONFIGURE_H__ -/* $Id: autoconf.h,v 1.1.38.1 2006/05/16 21:05:58 serassio Exp $ */ - -/* - * configure command line used to configure Squid - */ - -#undef SQUID_CONFIGURE_OPTIONS - -/********************************* - * START OF CONFIGURABLE OPTIONS * - *********************************/ -/* - * If you are upset that the cachemgr.cgi form comes up with the hostname - * field blank, then define this to getfullhostname() - */ -/* #undef CACHEMGR_HOSTNAME */ - -/* - * What default TCP port to use for HTTP listening? - */ -#ifndef CACHE_HTTP_PORT -#define CACHE_HTTP_PORT 3128 -#endif - -/* - * What default UDP port to use for ICP listening? - */ -#ifndef CACHE_ICP_PORT -#define CACHE_ICP_PORT 3130 -#endif - -/* Define to do simple malloc debugging */ -/* #undef XMALLOC_DEBUG */ - -/* Define for log file trace of mem alloc/free */ -/* #undef MEM_GEN_TRACE */ - -/* Define to have malloc statistics */ -/* #undef XMALLOC_STATISTICS */ - -/* Define to have a detailed trace of memory allocations */ -/* #undef XMALLOC_TRACE */ - -/* #undef FORW_VIA_DB */ /* Defines how many threads aufs uses for I/O */ /* #undef AUFS_IO_THREADS */ -/* - * If you want to use Squid's ICMP features (highly recommended!) then - * define this. When USE_ICMP is defined, Squid will send ICMP pings - * to origin server sites. This information is used in numerous ways: - * - Sent in ICP replies so neighbor caches know how close - * you are to the source. - * - For finding the closest instance of a URN. - * - With the 'test_reachability' option. Squid will return - * ICP_OP_MISS_NOFETCH for sites which it cannot ping. - */ -/* #undef USE_ICMP */ - -/* - * Traffic management via "delay pools". - */ -/* #undef DELAY_POOLS */ - -/* - * If you want to log User-Agent request header values, define this. - * By default, they are written to useragent.log in the Squid log - * directory. - */ -#define USE_USERAGENT_LOG 1 - -/* - * If you want to log Referer request header values, define this. - * By default, they are written to referer.log in the Squid log - * directory. - */ -#define USE_REFERER_LOG 1 - -/* - * A dangerous feature which causes Squid to kill its parent process - * (presumably the RunCache script) upon receipt of SIGTERM or SIGINT. - * Use with caution. - */ -/* #undef KILL_PARENT_OPT */ - -/* Define to enable SNMP monitoring of Squid */ -#define SQUID_SNMP 1 - -/* - * Define to enable WCCP - */ -/* #undef USE_WCCP */ - -/* - * Squid frequently calls gettimeofday() for accurate timestamping. - * If you are concerned that gettimeofday() is called too often, and - * could be causing performance degradation, then you can define - * ALARM_UPDATES_TIME and cause Squid's clock to be updated at regular - * intervals (one second) with ALARM signals. - */ -/* #undef ALARM_UPDATES_TIME */ - -/* - * Define this to include code which lets you specify access control - * elements based on ethernet hardware addresses. This code uses - * functions found in 4.4 BSD derviations (e.g. FreeBSD, ?). - */ -#define USE_ARP_ACL 1 - -/* - * Define this to include code for the Hypertext Cache Protocol (HTCP) - */ -#define USE_HTCP 1 - -/* - * Use Cache Digests for locating objects in neighbor caches. This - * code is still semi-experimental. - */ -#define USE_CACHE_DIGESTS 1 - -/* - * Cache Array Routing Protocol - */ -/* #undef USE_CARP */ - -/* Define if NTLM is allowed to fail gracefully when a helper has problems */ -/* #undef NTLM_FAIL_OPEN */ - -/* - * Define Windows NT & Windows 2000 run service mode - */ -#define USE_WIN32_SERVICE 1 - -/******************************** - * END OF CONFIGURABLE OPTIONS * - ********************************/ - -/* Define if struct tm has tm_gmtoff member */ -/* #undef HAVE_TM_GMTOFF */ - -/* Define if struct mallinfo has mxfast member */ -/* #undef HAVE_EXT_MALLINFO */ - -/* Default FD_SETSIZE value */ -#define DEFAULT_FD_SETSIZE 64 +/* Enable authentication support in accelerators */ +/* #undef AUTH_ON_ACCELERATION */ -/* Maximum number of open filedescriptors */ -#define SQUID_MAXFD 2048 - -/* UDP send buffer size */ -#define SQUID_UDP_SO_SNDBUF 8192 - -/* UDP receive buffer size */ -#define SQUID_UDP_SO_RCVBUF 8192 +/* If you are upset that the cachemgr.cgi form comes up with the hostname + field blank, then define this to getfullhostname() */ +/* #undef CACHEMGR_HOSTNAME */ -/* TCP send buffer size */ -#define SQUID_TCP_SO_SNDBUF 8192 +/* What default TCP port to use for HTTP listening? */ +#define CACHE_HTTP_PORT 3128 -/* TCP receive buffer size */ -#define SQUID_TCP_SO_RCVBUF 8192 +/* What default UDP port to use for ICP listening? */ +#define CACHE_ICP_PORT 3130 /* Host type from configure */ #define CONFIG_HOST_TYPE "i686-pc-winnt" -/* If we need to declare sys_errlist[] as external */ -/* #undef NEED_SYS_ERRLIST */ - -/* If gettimeofday is known to take only one argument */ -/* #undef GETTIMEOFDAY_NO_TZP */ - -/* If libresolv.a has been hacked to export _dns_ttl_ */ -/* #undef LIBRESOLV_DNS_TTL_HACK */ - -/* Define if struct ip has ip_hl member */ -/* #undef HAVE_IP_HL */ - -/* Define if your compiler supports prototyping */ -/* #undef HAVE_ANSI_PROTOTYPES */ - -/* Define if we should use GNU regex */ -#define USE_GNUREGEX 1 - -/* signed size_t, grr */ -/* #undef ssize_t */ - -/* - * Yay! Another Linux brokenness. Its not good enough to know that - * setresuid() exists, because RedHat 5.0 declare setresuid() but - * doesn't implement it. - */ -/* #undef HAVE_SETRESUID */ - -/* Define if you have struct rusage */ -#define HAVE_STRUCT_RUSAGE 1 - -/* Define if you have PSAPI.DLL on Windows systems */ -#define HAVE_WIN32_PSAPI 1 - -/* - * This makes warnings go away. If you have socklen_t defined in your - * /usr/include files, then this should remain undef'd. Otherwise it - * should be defined to int. - */ -#define socklen_t int - -/* - * By default (for now anyway) Squid includes options which allows - * the cache administrator to violate the HTTP protocol specification - * in terms of cache behaviour. Setting this to '0' will disable - * such code. - */ -#define HTTP_VIOLATIONS 1 - -/* - * Enable support for Transparent Proxy on systems using IP-Filter - * address redirection. This provides "masquerading" support for non - * Linux system. - */ -/* #undef IPF_TRANSPARENT */ - -/* - * Enable support for Transparent Proxy on systems using PF address - * redirection. This provides "masquerading" support for OpenBSD. - */ -/* #undef PF_TRANSPARENT */ - -/* - * Enable code for assiting in finding memory leaks. Hacker stuff only. - */ -/* #undef USE_LEAKFINDER */ - -/* - * type of fd_set array - */ -#define fd_mask int - -/* - * If _res structure has nsaddr_list member - */ -/* #undef HAVE_RES_NSADDR_LIST */ - -/* - * If _res structure has ns_list member - */ -/* #undef HAVE_RES_NS_LIST */ - -/* - * Compile in support for Ident (RFC 931) lookups? Enabled by default. - */ -#define USE_IDENT 1 - -/* - * If your system has statvfs(), and if it actually works! - */ -/* #undef HAVE_STATVFS */ - -/* - * If --disable-internal-dns was given to configure, then we'll use - * the dnsserver processes instead. - */ -/* #undef USE_DNSSERVERS */ - -/* - * we check for the existance of struct mallinfo - */ -/* #undef HAVE_STRUCT_MALLINFO */ - -/* - * Some systems dont have va_copy */ -/* #undef HAVE_VA_COPY */ - -/* - * Some systems support __va_copy */ -/* #undef HAVE___VA_COPY */ - - -/* - * Do we want to use truncate(2) or unlink(2)? - */ -/* #undef USE_TRUNCATE */ - -/* - * Allow underscores in host names - */ -#define ALLOW_HOSTNAME_UNDERSCORES 1 - -/* - * Use the heap-based replacement techniques - */ -/* #undef HEAP_REPLACEMENT */ - -/* - * message type for message queues - */ -#define mtyp_t long - -/* - * Define this to include code for SSL encryption. - */ -/* #undef USE_SSL */ - -/* - * Define this to make use of the OpenSSL libraries for - * MD5 calculation rather than Squid's own MD5 implementation - * or if building with SSL encryption (USE_SSL) - */ -/* #undef USE_OPENSSL */ - /* Define if you want to set the COSS membuf size */ /* #undef COSS_MEMBUF_SZ */ -/* Print stacktraces on fatal errors */ -/* #undef PRINT_STACK_TRACE */ - -/* - * Define this if unlinkd is required - * (strongly recommended for ufs storage type) - */ -#define USE_UNLINKD 1 - -/* - * Enable support for Transparent Proxy on Linux 2.4 systems - */ -/* #undef LINUX_NETFILTER */ - -/* - * Do we have unix sockets? (required for the winbind ntlm helper - */ -/* #undef HAVE_UNIXSOCKET */ - -/* - * Known-size integers - */ - -#define int16_t short - -#define u_int16_t unsigned short - -#define int32_t int - -#define u_int32_t unsigned int - -#define int64_t __int64 - -#define u_int64_t unsigned __int64 - -/* The number of bytes in a __int64. */ -#define SIZEOF___INT64 8 - -/* The number of bytes in a int16_t. */ -#define SIZEOF_INT16_T 2 - -/* The number of bytes in a int32_t. */ -#define SIZEOF_INT32_T 4 - -/* The number of bytes in a int64_t. */ -#define SIZEOF_INT64_T 8 - -/* The number of bytes in a off_t. */ -#define SIZEOF_OFF_T 4 - -/* The number of bytes in a size_t. */ -#define SIZEOF_SIZE_T 4 - -/* The number of bytes in a u_int16_t. */ -#define SIZEOF_U_INT16_T 2 - -/* The number of bytes in a u_int32_t. */ -#define SIZEOF_U_INT32_T 4 - -/* The number of bytes in a u_int64_t. */ -#define SIZEOF_U_INT64_T 8 - -/* The number of bytes in a uint16_t. */ -#define SIZEOF_UINT16_T 2 - -/* The number of bytes in a uint32_t. */ -#define SIZEOF_UINT32_T 4 - -/* The number of bytes in a uint64_t. */ -#define SIZEOF_UINT64_T 8 - -/* - * Enable support for the X-Accelerator-Vary HTTP header - */ -/* #undef X_ACCELERATOR_VARY */ - - -/* Enable hostname sanity checks */ -#define CHECK_HOSTNAMES 1 - /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ @@ -424,6 +31,21 @@ /* Define to 1 if using `alloca.c'. */ /* #undef C_ALLOCA */ +/* MemPool debug verifications */ +/* #undef DEBUG_MEMPOOL */ + +/* Default FD_SETSIZE value */ +#define DEFAULT_FD_SETSIZE 256 + +/* Traffic management via "delay pools". */ +/* #undef DELAY_POOLS */ + +/* Enable Forw/Via database */ +/* #undef FORW_VIA_DB */ + +/* If gettimeofday is known to take only one argument */ +/* #undef GETTIMEOFDAY_NO_TZP */ + /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 @@ -431,6 +53,9 @@ */ /* #undef HAVE_ALLOCA_H */ +/* Define if your compiler supports prototyping */ +#define HAVE_ANSI_PROTOTYPES 1 + /* Define to 1 if you have the header file. */ /* #undef HAVE_ARPA_INET_H */ @@ -459,7 +84,7 @@ /* #undef HAVE_BYTESWAP_H */ /* Define to 1 if you have the `crypt' function. */ -#define HAVE_CRYPT 1 +/* #undef HAVE_CRYPT */ /* Define to 1 if you have the header file. */ #define HAVE_CRYPT_H 1 @@ -467,6 +92,12 @@ /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DB_185_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DB_H */ + /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 @@ -474,18 +105,27 @@ /* Define to 1 if you have the `drand48' function. */ /* #undef HAVE_DRAND48 */ +/* Define to 1 if you have the `epoll_ctl' function. */ +/* #undef HAVE_EPOLL_CTL */ + /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXECINFO_H */ +/* Define if struct mallinfo has mxfast member */ +/* #undef HAVE_EXT_MALLINFO */ + /* Define to 1 if you have the `fchmod' function. */ /* #undef HAVE_FCHMOD */ /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 +/* Define to 1 if you have the header file. */ +/* #undef HAVE_FNMATCH_H */ + /* Define to 1 if you have the `getdtablesize' function. */ /* #undef HAVE_GETDTABLESIZE */ @@ -520,7 +160,10 @@ /* #undef HAVE_INITGROUPS */ /* Define to 1 if you have the header file. */ -/* #undef HAVE_INTTYPES_H */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_IPL_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_IP_COMPAT_H */ @@ -531,12 +174,18 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_IP_FIL_H */ +/* Define if struct ip has ip_hl member */ +/* #undef HAVE_IP_HL */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_IP_NAT_H */ /* Define to 1 if you have the `44bsd' library (-l44bsd). */ /* #undef HAVE_LIB44BSD */ +/* Define to 1 if you have the `aio' library (-laio). */ +/* #undef HAVE_LIBAIO */ + /* Define to 1 if you have the `bind' library (-lbind). */ /* #undef HAVE_LIBBIND */ @@ -582,6 +231,10 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_LINUX_NETFILTER_IPV4_H */ +/* Define to 1 if you have the header file. + */ +/* #undef HAVE_LINUX_NETFILTER_IPV4_IP_TPROXY_H */ + /* Define to 1 if you have the `lrand48' function. */ /* #undef HAVE_LRAND48 */ @@ -592,7 +245,7 @@ /* #undef HAVE_MALLOCBLKSIZE */ /* Define to 1 if you have the header file. */ -/* #undef HAVE_MALLOC_H */ +#define HAVE_MALLOC_H 1 /* Define to 1 if you have the `mallopt' function. */ /* #undef HAVE_MALLOPT */ @@ -636,6 +289,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETINET_IN_H */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETINET_IPL_H */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_NETINET_IP_COMPAT_H */ @@ -663,6 +319,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_NSS_H */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_ENGINE_H */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_OPENSSL_ERR_H */ @@ -678,6 +337,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_POLL_H */ +/* Define to 1 if you have the `prctl' function. */ +/* #undef HAVE_PRCTL */ + /* Define to 1 if you have the `pthread_attr_setschedparam' function. */ /* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */ @@ -717,6 +379,12 @@ /* Define to 1 if you have the `res_init' function. */ /* #undef HAVE_RES_INIT */ +/* If _res structure has nsaddr_list member */ +/* #undef HAVE_RES_NSADDR_LIST */ + +/* If _res structure has ns_list member */ +/* #undef HAVE_RES_NS_LIST */ + /* Define to 1 if you have the `rint' function. */ /* #undef HAVE_RINT */ @@ -732,6 +400,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_SCHED_H */ +/* Define to 1 if you have the `select' function. */ +#define HAVE_SELECT 1 + /* Define to 1 if you have the `seteuid' function. */ /* #undef HAVE_SETEUID */ @@ -741,6 +412,10 @@ /* Define to 1 if you have the `setpgrp' function. */ /* #undef HAVE_SETPGRP */ +/* Yay! Another Linux brokenness. Its not good enough to know that setresuid() + exists, because RedHat 5.0 declare setresuid() but doesn't implement it. */ +/* #undef HAVE_SETRESUID */ + /* Define to 1 if you have the `setrlimit' function. */ /* #undef HAVE_SETRLIMIT */ @@ -756,6 +431,9 @@ /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 +/* Define to 1 if you have the `socketpair' function. */ +/* #undef HAVE_SOCKETPAIR */ + /* Define to 1 if you have the `srand48' function. */ /* #undef HAVE_SRAND48 */ @@ -765,6 +443,9 @@ /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 +/* If your system has statvfs(), and if it actually works! */ +/* #undef HAVE_STATVFS */ + /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 @@ -789,9 +470,18 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 +/* Define to 1 if you have the `strsep' function. */ +/* #undef HAVE_STRSEP */ + /* Define to 1 if you have the `strtoll' function. */ #define HAVE_STRTOLL 1 +/* we check for the existance of struct mallinfo */ +/* #undef HAVE_STRUCT_MALLINFO */ + +/* Define if you have struct rusage */ +#define HAVE_STRUCT_RUSAGE 1 + /* Define to 1 if you have the header file. */ /* #undef HAVE_SYSCALL_H */ @@ -830,6 +520,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_PARAM_H */ +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_PRCTL_H */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_RESOURCE_H */ @@ -872,24 +565,68 @@ /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 +/* Define if struct tm has tm_gmtoff member */ +/* #undef HAVE_TM_GMTOFF */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_UNISTD_H */ +/* Do we have unix sockets? (required for the winbind ntlm helper */ +/* #undef HAVE_UNIXSOCKET */ + /* Define to 1 if you have the header file. */ -/* #undef HAVE_UTIME_H */ +#define HAVE_UTIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_VARARGS_H 1 +/* Some systems dont have va_copy */ +#define HAVE_VA_COPY 1 + /* Define to 1 if you have the `vsnprintf' function. */ #define HAVE_VSNPRINTF 1 +/* Define if you have PSAPI.DLL on Windows systems */ +#define HAVE_WIN32_PSAPI 1 + +/* Some systems support __va_copy */ +#define HAVE___VA_COPY 1 + +/* By default (for now anyway) Squid includes options which allows the cache + administrator to violate the HTTP protocol specification in terms of cache + behaviour. Setting this to '0' will disable such code. */ +#define HTTP_VIOLATIONS 1 + +/* Enable support for Transparent Proxy on systems using IP-Filter address + redirection. This provides "masquerading" support for non Linux system. */ +/* #undef IPF_TRANSPARENT */ + +/* A dangerous feature which causes Squid to kill its parent process + (presumably the RunCache script) upon receipt of SIGTERM or SIGINT. Use + with caution. */ +/* #undef KILL_PARENT_OPT */ + /* Support large cache files > 2GB */ #define LARGE_CACHE_FILES 1 +/* If libresolv.a has been hacked to export _dns_ttl_ */ +/* #undef LIBRESOLV_DNS_TTL_HACK */ + +/* Enable support for Transparent Proxy on Linux 2.4 systems */ +/* #undef LINUX_NETFILTER */ + +/* Enable real Transparent Proxy support for Netfilter TPROXY. */ +/* #undef LINUX_TPROXY */ + +/* If we need to declare sys_errlist[] as external */ +/* #undef NEED_SYS_ERRLIST */ + /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ +/* Define if NTLM is allowed to fail gracefully when a helper has problems */ +/* #undef NTLM_FAIL_OPEN */ + /* Name of package */ #define PACKAGE "squid" @@ -908,21 +645,85 @@ /* Define to the version of this package. */ #define PACKAGE_VERSION "" +/* Enable support for Transparent Proxy on systems using PF address + redirection. This provides "masquerading" support for OpenBSD. */ +/* #undef PF_TRANSPARENT */ + +/* Print stacktraces on fatal errors */ +/* #undef PRINT_STACK_TRACE */ + /* The size of a `int', as computed by sizeof. */ #define SIZEOF_INT 4 +/* Size of SIZEOF_INT16_T */ +#define SIZEOF_INT16_T 2 + +/* Size of SIZEOF_INT32_T */ +#define SIZEOF_INT32_T 4 + +/* Size of SIZEOF_INT64_T */ +#define SIZEOF_INT64_T 8 + /* The size of a `long', as computed by sizeof. */ #define SIZEOF_LONG 4 /* The size of a `long long', as computed by sizeof. */ -#define SIZEOF_LONG_LONG 8 +#define SIZEOF_LONG_LONG 0 + +/* Size of SIZEOF_OFF_T */ +#define SIZEOF_OFF_T 4 /* The size of a `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 +/* Size of SIZEOF_SIZE_T */ +#define SIZEOF_SIZE_T 4 + +/* Size of SIZEOF_UINT16_T */ +#define SIZEOF_UINT16_T 2 + +/* Size of SIZEOF_UINT32_T */ +#define SIZEOF_UINT32_T 4 + +/* Size of SIZEOF_UINT64_T */ +#define SIZEOF_UINT64_T 8 + +/* Size of SIZEOF_U_INT16_T */ +#define SIZEOF_U_INT16_T 2 + +/* Size of SIZEOF_U_INT32_T */ +#define SIZEOF_U_INT32_T 4 + +/* Size of SIZEOF_U_INT64_T */ +#define SIZEOF_U_INT64_T 8 + /* The size of a `void *', as computed by sizeof. */ #define SIZEOF_VOID_P 4 +/* Size of SIZEOF___INT64 */ +#define SIZEOF___INT64 8 + +/* configure command line used to configure Squid */ +#define SQUID_CONFIGURE_OPTIONS "'--disable-wccp' '--enable-underscores' '--enable-htcp' '--enable-default-hostsfile=none' '--enable-removal-policies=heap lru' '--enable-auth=basic ntlm digest negotiate' '--enable-basic-auth-helpers=win32_locallogon NCSA LDAP' '--enable-err-languages=English Italian' '--enable-default-err-language=English' '--enable-storeio=ufs awin32 null' '--enable-referer-log' '--enable-useragent-log' '--enable-external-acl-helpers=win32_group ip_user ldap_group' '--enable-ntlm-auth-helpers=NTLMSSP-WIN32 fakeauth' '--enable-win32-service' '--enable-snmp' '--prefix=c:/mgw-2.6' '--enable-ssl' '--enable-arp-acl' '--enable-negotiate-auth-helpers=Win32' '--enable-digest-auth-helpers=password LDAP'" + +/* Maximum number of open filedescriptors */ +#define SQUID_MAXFD 2048 + +/* Define to enable SNMP monitoring of Squid */ +#define SQUID_SNMP 1 + +/* TCP receive buffer size */ +#define SQUID_TCP_SO_RCVBUF 16384 + +/* TCP send buffer size */ +#define SQUID_TCP_SO_SNDBUF 16384 + +/* UDP receive buffer size */ +#define SQUID_UDP_SO_RCVBUF 16384 + +/* UDP send buffer size */ +#define SQUID_UDP_SO_SNDBUF 16384 + /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. @@ -934,15 +735,119 @@ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 +/* Define this to include code which lets you specify access control elements + based on ethernet hardware addresses. This code uses functions found in 4.4 + BSD derviations (e.g. FreeBSD, ?). */ +#define USE_ARP_ACL 1 + +/* Use Cache Digests for locating objects in neighbor caches. This code is + still semi-experimental. */ +/* #undef USE_CACHE_DIGESTS */ + +/* Cache Array Routing Protocol */ +#define USE_CARP 1 + +/* If --disable-internal-dns was given to configure, then we'll use the + dnsserver processes instead. */ +/* #undef USE_DNSSERVERS */ + +/* Use epoll() for the IO loop */ +/* #undef USE_EPOLL */ + +/* Define if we should use GNU regex */ +#define USE_GNUREGEX 1 + +/* Define this to include code for the Hypertext Cache Protocol (HTCP) */ +#define USE_HTCP 1 + +/* If you want to use Squid's ICMP features (highly recommended!) then define + this. When USE_ICMP is defined, Squid will send ICMP pings to origin server + sites. This information is used in numerous ways: - Sent in ICP replies so + neighbor caches know how close you are to the source. - For finding the + closest instance of a URN. - With the 'test_reachability' option. Squid + will return ICP_OP_MISS_NOFETCH for sites which it cannot ping. */ +/* #undef USE_ICMP */ + +/* Compile in support for Ident (RFC 931) lookups? Enabled by default. */ +#define USE_IDENT 1 + +/* Enable code for assiting in finding memory leaks. Hacker stuff only. */ +/* #undef USE_LEAKFINDER */ + +/* Define this to make use of the OpenSSL libraries for MD5 calculation rather + than Squid's own MD5 implementation or if building with SSL encryption + (USE_SSL) */ +/* #undef USE_OPENSSL */ + +/* Use poll() for the IO loop */ +/* #undef USE_POLL */ + +/* If you want to log Referer request header values, define this. By default, + they are written to referer.log in the Squid log directory. */ +#define USE_REFERER_LOG 1 + +/* Use select() for the IO loop */ +/* #undef USE_SELECT */ + +/* Use Winsock select() for the IO loop */ +#define USE_SELECT_WIN32 1 + +/* Define this to include code for SSL encryption. */ +/* #undef USE_SSL */ + +/* Do we want to use truncate(2) or unlink(2)? */ +/* #undef USE_TRUNCATE */ + +/* Define this if unlinkd is required (strongly recommended for ufs storage + type) */ +#define USE_UNLINKD 1 + +/* If you want to log User-Agent request header values, define this. By + default, they are written to useragent.log in the Squid log directory. */ +#define USE_USERAGENT_LOG 1 + +/* Define to enable WCCP */ +/* #undef USE_WCCP */ + +/* Define to enable WCCP V2 */ +/* #undef USE_WCCPv2 */ + +/* Define Windows NT & Windows 2000 run service mode */ +#define USE_WIN32_SERVICE 1 + +/* Valgrind memory debugger support */ +/* #undef WITH_VALGRIND */ + /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ +/* Define to have malloc statistics */ +/* #undef XMALLOC_STATISTICS */ + +/* Enable support for the X-Accelerator-Vary HTTP header */ +/* #undef X_ACCELERATOR_VARY */ + /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if does not define. */ -/* #undef fd_mask */ +#define fd_mask int + +/* Have int datatype */ +#define int16_t short + +/* Have long datatype */ +#define int32_t int + +/* Have unsigned __int64 datatype */ +/#define int64_t __int64 + +/* Define to `unsigned short' if does not define. */ +/* #undef mode_t */ + +/* message type for message queues */ +#define mtyp_t long /* Define to `int' if does not define. */ /* #undef off_t */ @@ -953,9 +858,23 @@ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ +/* This makes warnings go away. If you have socklen_t defined in your + /usr/include files, then this should remain undef'd. Otherwise it should be + defined to int. */ +#define socklen_t int + /* Define to `int' if does not define. */ /* #undef ssize_t */ +/* Have unsigned int datatype */ +#define u_int16_t unsigned short + +/* Have unsigned long datatype */ +#define u_int32_t unsigned int + +/* Have unsigned long long datatype */ +#define u_int64_t unsigned __int64 + #if DELAY_POOLS #define STR_DELAY_POOLS "--enable-delay-pools " #else @@ -989,8 +908,8 @@ #define SQUID_CONFIGURE_OPTIONS "--enable-win32-service --enable-underscores --enable-storeio='ufs awin32 null' " \ "--enable-removal-policies='heap lru' --enable-snmp --enable-htcp --disable-wccp --enable-useragent-log " \ - "--enable-referer-log --enable-auth='basic ntlm digest' --enable-basic-auth-helpers='LDAP ncsa_auth win32_locallogon' " \ - "--enable-ntlm-auth-helpers=NTLMSSP-WIN32 --enable-external-acl-helpers='win32_group ldap_group' --enable-large-cache-files "\ + "--enable-referer-log --enable-auth='basic ntlm digest negotiate' --enable-basic-auth-helpers='LDAP ncsa_auth win32_locallogon' " \ + "--enable-ntlm-auth-helpers=mswin_sspi --enable-external-acl-helpers='win32_group ldap_group' --enable-large-cache-files "\ STR_DELAY_POOLS \ STR_USE_ICMP \ STR_USE_DNSSERVERS \ @@ -998,5 +917,3 @@ STR_USE_CARP \ STR_USE_ARP_ACL \ "--prefix=c:/squid" - -#endif /* __CONFIGURE_H__ */