⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 autoconf.h

📁 功能强大的代理服务器
💻 H
📖 第 1 页 / 共 2 页
字号:
/* 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 <syscall.h> header file. *//* #undef HAVE_SYSCALL_H *//* Define to 1 if you have the `sysconf' function. *//* #undef HAVE_SYSCONF *//* Define to 1 if you have the `syslog' function. *//* #undef HAVE_SYSLOG *//* Define to 1 if you have the <syslog.h> header file. *//* #undef HAVE_SYSLOG_H *//* Define to 1 if you have the <sys/bitypes.h> header file. *//* #undef HAVE_SYS_BITYPES_H *//* Define to 1 if you have the <sys/capability.h> header file. *//* #undef HAVE_SYS_CAPABILITY_H *//* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.   *//* #undef HAVE_SYS_DIR_H *//* Define to 1 if you have the <sys/event.h> header file. *//* #undef HAVE_SYS_EVENT_H *//* Define to 1 if you have the <sys/file.h> header file. *//* #undef HAVE_SYS_FILE_H *//* Define to 1 if you have the <sys/ioctl.h> header file. *//* #undef HAVE_SYS_IOCTL_H *//* Define to 1 if you have the <sys/mount.h> header file. *//* #undef HAVE_SYS_MOUNT_H *//* Define to 1 if you have the <sys/msg.h> header file. *//* #undef HAVE_SYS_MSG_H *//* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.   *//* #undef HAVE_SYS_NDIR_H *//* Define to 1 if you have the <sys/param.h> header file. *//* #undef HAVE_SYS_PARAM_H *//* Define to 1 if you have the <sys/poll.h> header file. *//* #undef HAVE_SYS_POLL_H *//* Define to 1 if you have the <sys/prctl.h> header file. *//* #undef HAVE_SYS_PRCTL_H *//* Define to 1 if you have the <sys/resource.h> header file. *//* #undef HAVE_SYS_RESOURCE_H *//* Define to 1 if you have the <sys/select.h> header file. *//* #undef HAVE_SYS_SELECT_H *//* Define to 1 if you have the <sys/socket.h> header file. *//* #undef HAVE_SYS_SOCKET_H *//* Define to 1 if you have the <sys/statfs.h> header file. *//* #undef HAVE_SYS_STATFS_H *//* Define to 1 if you have the <sys/statvfs.h> header file. *//* #undef HAVE_SYS_STATVFS_H *//* Define to 1 if you have the <sys/stat.h> header file. */#define HAVE_SYS_STAT_H 1/* Define to 1 if you have the <sys/syscall.h> header file. *//* #undef HAVE_SYS_SYSCALL_H *//* Define to 1 if you have the <sys/time.h> header file. *//* #undef HAVE_SYS_TIME_H *//* Define to 1 if you have the <sys/types.h> header file. */#define HAVE_SYS_TYPES_H 1/* Define to 1 if you have the <sys/un.h> header file. *//* #undef HAVE_SYS_UN_H *//* Define to 1 if you have the <sys/vfs.h> header file. *//* #undef HAVE_SYS_VFS_H *//* Define to 1 if you have the <sys/wait.h> header file. *//* #undef HAVE_SYS_WAIT_H *//* Define to 1 if you have the `tempnam' function. */#define HAVE_TEMPNAM 1/* Define to 1 if you have the `timegm' function. *//* #undef HAVE_TIMEGM *//* Define to 1 if you have the <time.h> 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 <unistd.h> 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 <utime.h> header file. *//* #undef HAVE_UTIME_H *//* Define to 1 if you have the <varargs.h> header file. */#define HAVE_VARARGS_H 1/* Some systems dont have va_copy *//* #undef HAVE_VA_COPY *//* 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 *//* #undef HAVE___VA_COPY *//* 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/* Enable support for Transparent Proxy on Linux (Netfilter) systems *//* #undef LINUX_NETFILTER *//* Enable real Transparent Proxy support for Netfilter TPROXY. *//* #undef LINUX_TPROXY *//* Define to enable experimental multicast of cache miss URLs *//* #undef MULTICAST_MISS_STREAM *//* 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 *//* 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 `char', as computed by sizeof. */#define SIZEOF_CHAR 1/* The size of `int', as computed by sizeof. */#define SIZEOF_INT 4/* The size of `int16_t', as computed by sizeof. */#define SIZEOF_INT16_T 0/* The size of `int32_t', as computed by sizeof. */#define SIZEOF_INT32_T 0/* The size of `int64_t', as computed by sizeof. */#define SIZEOF_INT64_T 0/* The size of `int8_t', as computed by sizeof. */#define SIZEOF_INT8_T 0/* The size of `long', as computed by sizeof. */#define SIZEOF_LONG 4/* The size of `long long', as computed by sizeof. */#define SIZEOF_LONG_LONG 0/* The size of `off_t', as computed by sizeof. */#define SIZEOF_OFF_T 4/* The size of `short', as computed by sizeof. */#define SIZEOF_SHORT 2/* The size of `size_t', as computed by sizeof. */#define SIZEOF_SIZE_T 4/* The size of `uint16_t', as computed by sizeof. */#define SIZEOF_UINT16_T 0/* The size of `uint32_t', as computed by sizeof. */#define SIZEOF_UINT32_T 0/* The size of `uint64_t', as computed by sizeof. */#define SIZEOF_UINT64_T 0/* The size of `uint8_t', as computed by sizeof. */#define SIZEOF_UINT8_T 0/* The size of `u_int16_t', as computed by sizeof. */#define SIZEOF_U_INT16_T 0/* The size of `u_int32_t', as computed by sizeof. */#define SIZEOF_U_INT32_T 0/* The size of `u_int64_t', as computed by sizeof. */#define SIZEOF_U_INT64_T 0/* The size of `u_int8_t', as computed by sizeof. */#define SIZEOF_U_INT8_T 0/* The size of `void *', as computed by sizeof. */#define SIZEOF_VOID_P 4/* The size of `__int64', as computed by sizeof. */#define SIZEOF___INT64 8/* 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 runtime.	STACK_DIRECTION > 0 => grows toward higher addresses	STACK_DIRECTION < 0 => grows toward lower addresses	STACK_DIRECTION = 0 => direction of growth unknown *//* #undef STACK_DIRECTION *//* Define to 1 if you have the ANSI C header files. */#define STDC_HEADERS 1/* Supports large dgram sockets over AF_UNIX sockets *//* #undef SUPPORTS_LARGE_AF_UNIX_DGRAM *//* 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 if you would like to use the aufs I/O method for disk I/O   instead of the POSIX AIO method. */#define USE_AUFSOPS 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 */#define USE_CARP 1/* If --disable-internal-dns was given to configure, then we'll use the   dnsserver processes instead. *//* #undef USE_DNSSERVERS *//* 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 *//* 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/* 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/* Define to enable experimental forward_log directive *//* #undef WIP_FWD_LOG *//* 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 *//* Have int datatype */#define fd_mask int/* Define to `__inline__' or `__inline' if that's what the C compiler   calls it, or to nothing if 'inline' is not supported under any name.  */#ifndef __cplusplus#define inline __inline#endif/* Have int datatype */#define int16_t short/* Have long datatype */#define int32_t int/* Have __int64 datatype */#define int64_t  __int64/* Have char datatype */#define int8_t char/* Have unsigned short datatype *//* #undef mode_t *//* message type for message queues */#define mtyp_t long/* Have int datatype *//* #undef off_t *//* Have int datatype */#define pid_t int/* Have unsigned int datatype *//* #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/* Have int datatype *//* #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 __int64 datatype */#define u_int64_t unsigned __int64/* Have unsigned char datatype */#define u_int8_t unsigned char/* Have unsigned int datatype */#define uint16_t unsigned short/* Have unsigned long datatype */#define uint32_t unsigned int /* Have unsigned __int64 datatype */#define uint64_t unsigned __int64/* Have unsigned char datatype */#define uint8_t  unsigned char#if DELAY_POOLS#define STR_DELAY_POOLS "--enable-delay-pools "#else#define STR_DELAY_POOLS ""#endif#if USE_ICMP#define STR_USE_ICMP "--enable-icmp "#else#define STR_USE_ICMP ""#endif#if USE_DNSSERVERS#define STR_USE_DNSSERVERS "--disable-internal-dns "#else#define STR_USE_DNSSERVERS ""#endif#if USE_SSL#define STR_USE_SSL "--enable-ssl "#else#define STR_USE_SSL ""#endif#if USE_ARP_ACL#define STR_USE_ARP_ACL "--enable-arp-acl "#else#define STR_USE_ARP_ACL ""#endif#define SQUID_CONFIGURE_OPTIONS "--enable-win32-service --enable-storeio='ufs aufs null coss' " \    "--enable-removal-policies='heap lru' --enable-snmp --enable-htcp --disable-wccp --disable-wccpv2 --enable-useragent-log " \    "--enable-referer-log --enable-cache-digests --enable-auth='basic ntlm digest negotiate' --enable-coss-aio-ops " \    "--enable-basic-auth-helpers='LDAP NCSA mswin_sspi' --enable-negotiate-auth-helpers=mswin_sspi" \    "--enable-ntlm-auth-helpers='mswin_sspi fakeauth' --enable-external-acl-helpers='mswin_lm_group ldap_group' " \    "--enable-large-cache-files --enable-digest-auth-helpers='password LDAP'" \    STR_DELAY_POOLS \    STR_USE_ICMP \    STR_USE_DNSSERVERS \    STR_USE_SSL \    STR_USE_ARP_ACL \    "--prefix=c:/squid"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -