------------------------------------------------------------ revno: 12283 revision-id: kinkie@squid-cache.org-20120814115307-npwzzackw0iu4k79 parent: squid3@treenet.co.nz-20120813072450-ytqp6veu41lj3f5h committer: Francesco Chemolli branch nick: trunk timestamp: Tue 2012-08-14 13:53:07 +0200 message: Removed squid-old.h ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: kinkie@squid-cache.org-20120814115307-npwzzackw0iu4k79 # target_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # testament_sha1: 13bd7fe880a6a9c5449b3f5b8ff9c2108ead16ed # timestamp: 2012-08-14 12:08:28 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # base_revision_id: squid3@treenet.co.nz-20120813072450-\ # ytqp6veu41lj3f5h # # Begin patch === modified file 'compat/compat.dox' --- compat/compat.dox 2012-01-21 08:06:33 +0000 +++ compat/compat.dox 2012-08-14 11:53:07 +0000 @@ -69,12 +69,9 @@ individual part separately a risky operation. \par -Squid coding guidelines require each .c and .cc file to include squid-old.h or squid.h first +Squid coding guidelines require each .c and .cc file to include squid.h first in their included files. squid.h begin with an order-specific sequence of defines and includes compat/compat.h to incorporate the compat layer appropriately in every soure file. -squid-old.h begins by including squid.h to prepare for its sub-includes and definitions. -It is recommended to include squid.h and not squid-old.h for new developments; squid-old.h -is being deprecated. \par Internally the compat/ directory contains the public API file compat/compat.h which structures === modified file 'compat/stdio.h' --- compat/stdio.h 2011-04-06 13:58:14 +0000 +++ compat/stdio.h 2012-08-14 11:53:07 +0000 @@ -50,4 +50,8 @@ #include #endif +#ifndef MAXPATHLEN +#define MAXPATHLEN SQUID_MAXPATHLEN +#endif + #endif /* _SQUID_COMPAT_STDIO_H */ === modified file 'scripts/source-maintenance.sh' --- scripts/source-maintenance.sh 2012-03-19 04:39:36 +0000 +++ scripts/source-maintenance.sh 2012-08-14 11:53:07 +0000 @@ -68,18 +68,18 @@ fi # - # REQUIRE squid.h/squid-old.h as first #include + # REQUIRE squid.h first #include # case ${FILENAME} in *.c|*.cc) FI=`grep "#include" ${FILENAME} | head -1`; - if test "${FI}" != "#include \"squid.h\"" -a "${FI}" != "#include \"squid-old.h\"" -a "${FILENAME}" != "cf_gen.cc"; then - echo "ERROR: ${PWD}/${FILENAME} does not include squid.h or squid-old.h first!" + if test "${FI}" != "#include \"squid.h\"" -a "${FILENAME}" != "cf_gen.cc"; then + echo "ERROR: ${PWD}/${FILENAME} does not include squid.h first!" fi ;; *.h|*.cci) FI=`grep "#include \"squid.h\"" ${FILENAME}`; - if test "x${FI}" != "x" -a "${FILENAME}" != "squid-old.h" ; then + if test "x${FI}" != "x" ; then echo "ERROR: ${PWD}/${FILENAME} duplicate include of squid.h" fi ;; === modified file 'src/AccessLogEntry.cc' --- src/AccessLogEntry.cc 2012-07-18 16:21:47 +0000 +++ src/AccessLogEntry.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ #include "squid.h" #include "AccessLogEntry.h" +#include "HttpReply.h" #include "HttpRequest.h" #include "ssl/support.h" === modified file 'src/AclRegs.cc' --- src/AclRegs.cc 2012-08-13 07:24:50 +0000 +++ src/AclRegs.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" /** This file exists to provide satic registration code to executables that need ACLs. We cannot place this code in acl/lib*.la because it === modified file 'src/AsyncEngine.h' --- src/AsyncEngine.h 2012-01-20 18:55:04 +0000 +++ src/AsyncEngine.h 2012-08-14 11:53:07 +0000 @@ -34,9 +34,6 @@ #ifndef SQUID_ASYNCENGINE_H #define SQUID_ASYNCENGINE_H -#include "squid-old.h" - - /* Abstract interface for async engines which an event loop can utilise. * * Some implementations will be truely async, others like the event engine === modified file 'src/BodyPipe.cc' --- src/BodyPipe.cc 2012-06-22 03:49:38 +0000 +++ src/BodyPipe.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,5 @@ -#include "squid-old.h" +#include "squid.h" #include "base/AsyncJobCalls.h" #include "base/TextException.h" #include "BodyPipe.h" === modified file 'src/CacheDigest.cc' --- src/CacheDigest.cc 2012-07-13 10:48:12 +0000 +++ src/CacheDigest.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,9 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "md5.h" +#include "protos.h" #include "StatCounters.h" #include "Store.h" === modified file 'src/CacheManager.h' --- src/CacheManager.h 2010-11-04 10:09:05 +0000 +++ src/CacheManager.h 2012-08-14 11:53:07 +0000 @@ -49,6 +49,7 @@ \ingroup CacheManagerAPI */ +class HttpRequest; /** \ingroup CacheManagerAPI * a CacheManager - the menu system for interacting with squid. === modified file 'src/ChunkedCodingParser.cc' --- src/ChunkedCodingParser.cc 2012-01-20 18:55:04 +0000 +++ src/ChunkedCodingParser.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ -#include "squid-old.h" +#include "squid.h" #include "base/TextException.h" +#include "Debug.h" #include "Parsing.h" #include "ChunkedCodingParser.h" #include "MemBuf.h" === modified file 'src/ClientDelayConfig.cc' --- src/ClientDelayConfig.cc 2012-08-06 17:41:08 +0000 +++ src/ClientDelayConfig.cc 2012-08-14 11:53:07 +0000 @@ -1,11 +1,10 @@ #include "squid.h" -#include "squid-old.h" +#include "acl/Acl.h" +#include "acl/Gadgets.h" +#include "ClientDelayConfig.h" #include "ConfigParser.h" -#include "ClientDelayConfig.h" #include "Parsing.h" #include "Store.h" -#include "acl/Acl.h" -#include "acl/Gadgets.h" void ClientDelayPool::dump(StoreEntry * entry, unsigned int poolNumberMinusOne) const { === modified file 'src/ClientRequestContext.h' --- src/ClientRequestContext.h 2012-06-19 21:51:49 +0000 +++ src/ClientRequestContext.h 2012-08-14 11:53:07 +0000 @@ -1,18 +1,18 @@ #ifndef SQUID_CLIENTREQUESTCONTEXT_H #define SQUID_CLIENTREQUESTCONTEXT_H +#include "cbdata.h" +#include "RefCount.h" +#include "ipcache.h" + +#if USE_ADAPTATION +#include "adaptation/forward.h" +#endif + class ACLChecklist; class ClientHttpRequest; class DnsLookupDetails; - -/* for RefCountable */ -#include "RefCount.h" -/* for CBDATA_CLASS() */ -#include "cbdata.h" - -#if USE_ADAPTATION -#include "adaptation/forward.h" -#endif +class ErrorState; class ClientRequestContext : public RefCountable { === modified file 'src/CommCalls.cc' --- src/CommCalls.cc 2012-01-20 18:55:04 +0000 +++ src/CommCalls.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,8 @@ -#include "squid-old.h" -#include "fde.h" +#include "squid.h" #include "comm/Connection.h" #include "CommCalls.h" +#include "fde.h" +#include "globals.h" /* CommCommonCbParams */ === modified file 'src/CommRead.h' --- src/CommRead.h 2012-01-20 18:55:04 +0000 +++ src/CommRead.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,6 @@ #ifndef COMMREAD_H #define COMMREAD_H -#include "squid-old.h" #include "comm.h" #include "CommCalls.h" #include "comm/forward.h" === modified file 'src/CommonPool.h' --- src/CommonPool.h 2012-01-20 18:55:04 +0000 +++ src/CommonPool.h 2012-08-14 11:53:07 +0000 @@ -39,7 +39,6 @@ #define COMMONPOOL_H #if USE_DELAY_POOLS -#include "squid-old.h" #include "SquidString.h" #include "CompositePoolNode.h" === modified file 'src/CompletionDispatcher.h' --- src/CompletionDispatcher.h 2012-01-20 18:55:04 +0000 +++ src/CompletionDispatcher.h 2012-08-14 11:53:07 +0000 @@ -34,9 +34,6 @@ #ifndef SQUID_COMPLETIONDISPATCHER_H #define SQUID_COMPLETIONDISPATCHER_H -#include "squid-old.h" - - /* Dispatch code to handle events that have completed. Completed events are queued * with a completion dispatcher by the OS Async engine - i.e. the poll or kqueue or * select loop, or a signal reciever, or the diskd/diskthreads/etc modules. === modified file 'src/CompositePoolNode.h' --- src/CompositePoolNode.h 2012-01-20 18:55:04 +0000 +++ src/CompositePoolNode.h 2012-08-14 11:53:07 +0000 @@ -37,12 +37,12 @@ #define COMPOSITEPOOLNODE_H #if USE_DELAY_POOLS -#include "squid-old.h" #include "auth/UserRequest.h" +#include "CommRead.h" +#include "DelayIdComposite.h" #include "DelayPools.h" -#include "DelayIdComposite.h" -#include "CommRead.h" #include "ip/Address.h" +#include "SquidString.h" class StoreEntry; === modified file 'src/ConfigOption.cc' --- src/ConfigOption.cc 2012-01-20 18:55:04 +0000 +++ src/ConfigOption.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "ConfigOption.h" ConfigOptionVector::~ConfigOptionVector() === modified file 'src/ConfigParser.cc' --- src/ConfigParser.cc 2012-08-06 17:41:08 +0000 +++ src/ConfigParser.cc 2012-08-14 11:53:07 +0000 @@ -35,7 +35,9 @@ #include "squid.h" #include "ConfigParser.h" +#include "Debug.h" #include "globals.h" +#include "protos.h" void ConfigParser::destruct() === modified file 'src/ConfigParser.h' --- src/ConfigParser.h 2012-07-17 14:25:06 +0000 +++ src/ConfigParser.h 2012-08-14 11:53:07 +0000 @@ -36,8 +36,9 @@ #ifndef SQUID_CONFIGPARSER_H #define SQUID_CONFIGPARSER_H -#include "squid-old.h" +#include "SquidString.h" +class wordlist; /** * Limit to how long any given config line may be. * This affects squid.conf and all included files. === modified file 'src/CpuAffinity.cc' --- src/CpuAffinity.cc 2012-01-20 18:55:04 +0000 +++ src/CpuAffinity.cc 2012-08-14 11:53:07 +0000 @@ -10,6 +10,8 @@ #include "CpuAffinity.h" #include "CpuAffinityMap.h" #include "CpuAffinitySet.h" +#include "Debug.h" +#include "protos.h" #include "structs.h" #include === modified file 'src/DelayBucket.cc' --- src/DelayBucket.cc 2012-01-20 18:55:04 +0000 +++ src/DelayBucket.cc 2012-08-14 11:53:07 +0000 @@ -39,7 +39,6 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" #include "DelayBucket.h" #include "DelaySpec.h" #include "Store.h" === modified file 'src/DelayConfig.cc' --- src/DelayConfig.cc 2012-08-06 17:41:08 +0000 +++ src/DelayConfig.cc 2012-08-14 11:53:07 +0000 @@ -40,14 +40,13 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" +#include "acl/Acl.h" +#include "acl/Gadgets.h" +#include "ConfigParser.h" #include "DelayConfig.h" -#include "ConfigParser.h" +#include "DelayPool.h" #include "DelayPools.h" -#include "DelayPool.h" #include "Store.h" -#include "acl/Acl.h" -#include "acl/Gadgets.h" void DelayConfig::parsePoolCount() === modified file 'src/DelayId.cc' --- src/DelayId.cc 2012-07-17 17:38:50 +0000 +++ src/DelayId.cc 2012-08-14 11:53:07 +0000 @@ -43,15 +43,13 @@ * #if to exclude the delay pools code from compile process when not needed. */ #if USE_DELAY_POOLS - -#include "squid-old.h" +#include "acl/FilledChecklist.h" +#include "client_side_request.h" +#include "CommRead.h" #include "DelayId.h" -#include "client_side_request.h" -#include "acl/FilledChecklist.h" +#include "DelayPool.h" #include "DelayPools.h" -#include "DelayPool.h" #include "HttpRequest.h" -#include "CommRead.h" DelayId::DelayId () : pool_ (0), compositeId(NULL), markedAsNoDelay(false) {} === modified file 'src/DelayIdComposite.h' --- src/DelayIdComposite.h 2012-01-20 18:55:04 +0000 +++ src/DelayIdComposite.h 2012-08-14 11:53:07 +0000 @@ -40,7 +40,7 @@ #define DELAYIDCOMPOSITE_H #if USE_DELAY_POOLS -#include "squid-old.h" +#include "fatal.h" #include "RefCount.h" class DeferredRead; === modified file 'src/DelayPool.h' --- src/DelayPool.h 2012-01-20 18:55:04 +0000 +++ src/DelayPool.h 2012-08-14 11:53:07 +0000 @@ -40,7 +40,6 @@ #define DELAYPOOL_H #if USE_DELAY_POOLS -#include "squid-old.h" #include "CompositePoolNode.h" class StoreEntry; === modified file 'src/DelaySpec.cc' --- src/DelaySpec.cc 2012-06-22 03:49:38 +0000 +++ src/DelaySpec.cc 2012-08-14 11:53:07 +0000 @@ -40,10 +40,10 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" #include "DelaySpec.h" +#include "Parsing.h" +#include "protos.h" #include "Store.h" -#include "Parsing.h" DelaySpec::DelaySpec() : restore_bps(-1), max_bytes (-1) {} === modified file 'src/DelayTagged.cc' --- src/DelayTagged.cc 2012-01-20 18:55:04 +0000 +++ src/DelayTagged.cc 2012-08-14 11:53:07 +0000 @@ -38,7 +38,6 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" #include "comm/Connection.h" #include "DelayTagged.h" #include "NullDelayId.h" === modified file 'src/DelayTagged.h' --- src/DelayTagged.h 2012-01-20 18:55:04 +0000 +++ src/DelayTagged.h 2012-08-14 11:53:07 +0000 @@ -38,7 +38,6 @@ #if USE_DELAY_POOLS -#include "squid-old.h" #include "auth/Gadgets.h" #include "CompositePoolNode.h" #include "DelayIdComposite.h" === modified file 'src/DelayUser.cc' --- src/DelayUser.cc 2012-01-20 18:55:04 +0000 +++ src/DelayUser.cc 2012-08-14 11:53:07 +0000 @@ -38,11 +38,10 @@ #include "squid.h" #if USE_DELAY_POOLS && USE_AUTH -#include "squid-old.h" -#include "DelayUser.h" +#include "auth/User.h" #include "auth/UserRequest.h" -#include "auth/User.h" #include "comm/Connection.h" +#include "DelayUser.h" #include "NullDelayId.h" #include "Store.h" === modified file 'src/DelayUser.h' --- src/DelayUser.h 2012-01-20 18:55:04 +0000 +++ src/DelayUser.h 2012-08-14 11:53:07 +0000 @@ -38,7 +38,6 @@ #if USE_DELAY_POOLS && USE_AUTH -#include "squid-old.h" #include "auth/Gadgets.h" #include "auth/User.h" #include "CompositePoolNode.h" === modified file 'src/DelayVector.cc' --- src/DelayVector.cc 2012-01-20 18:55:04 +0000 +++ src/DelayVector.cc 2012-08-14 11:53:07 +0000 @@ -40,10 +40,9 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" #include "comm/Connection.h" +#include "CommRead.h" #include "DelayVector.h" -#include "CommRead.h" void * DelayVector::operator new(size_t size) === modified file 'src/DescriptorSet.cc' --- src/DescriptorSet.cc 2012-07-20 12:44:39 +0000 +++ src/DescriptorSet.cc 2012-08-14 11:53:07 +0000 @@ -4,6 +4,7 @@ * DEBUG: section 05 Comm */ #include "squid.h" +#include "globals.h" /* for Squid_MaxFD */ #include "DescriptorSet.h" // pre-allocates descriptor store and index for Squid_MaxFD descriptors === modified file 'src/DescriptorSet.h' --- src/DescriptorSet.h 2012-01-20 18:55:04 +0000 +++ src/DescriptorSet.h 2012-08-14 11:53:07 +0000 @@ -1,7 +1,6 @@ #ifndef SQUID_DESCRIPTOR_SET_H #define SQUID_DESCRIPTOR_SET_H -#include "squid-old.h" /** \ingroup Comm === modified file 'src/DiskIO/AIO/AIODiskFile.cc' --- src/DiskIO/AIO/AIODiskFile.cc 2012-08-06 17:21:57 +0000 +++ src/DiskIO/AIO/AIODiskFile.cc 2012-08-14 11:53:07 +0000 @@ -44,12 +44,13 @@ * per storedir it should work just fine. */ -#include "squid-old.h" +#include "squid.h" #include "AIODiskFile.h" #include "AIODiskIOStrategy.h" #include "DiskIO/IORequestor.h" #include "DiskIO/ReadRequest.h" #include "DiskIO/WriteRequest.h" +#include "protos.h" CBDATA_CLASS_INIT(AIODiskFile); void * === modified file 'src/DiskIO/AIO/AIODiskFile.h' --- src/DiskIO/AIO/AIODiskFile.h 2012-08-07 15:12:08 +0000 +++ src/DiskIO/AIO/AIODiskFile.h 2012-08-14 11:53:07 +0000 @@ -38,6 +38,7 @@ #include "DiskIO/DiskFile.h" #include "async_io.h" #include "cbdata.h" +#include "SquidString.h" class AIODiskIOStrategy; === modified file 'src/DiskIO/AIO/AIODiskIOModule.cc' --- src/DiskIO/AIO/AIODiskIOModule.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/AIO/AIODiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -31,7 +31,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "AIODiskIOModule.h" #include "AIODiskIOStrategy.h" #include "Store.h" === modified file 'src/DiskIO/AIO/AIODiskIOStrategy.cc' --- src/DiskIO/AIO/AIODiskIOStrategy.cc 2012-07-12 09:08:16 +0000 +++ src/DiskIO/AIO/AIODiskIOStrategy.cc 2012-08-14 11:53:07 +0000 @@ -42,7 +42,7 @@ * per storedir it should work just fine. */ -#include "squid-old.h" +#include "squid.h" #include "AIODiskIOStrategy.h" #include "AIODiskFile.h" #include "DiskIO/IORequestor.h" === modified file 'src/DiskIO/AIO/aio_win32.cc' --- src/DiskIO/AIO/aio_win32.cc 2012-08-06 17:21:57 +0000 +++ src/DiskIO/AIO/aio_win32.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm.h" #include "aio_win32.h" === modified file 'src/DiskIO/Blocking/BlockingDiskIOModule.cc' --- src/DiskIO/Blocking/BlockingDiskIOModule.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/Blocking/BlockingDiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -31,7 +31,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "BlockingDiskIOModule.h" #include "BlockingIOStrategy.h" === modified file 'src/DiskIO/Blocking/BlockingFile.cc' --- src/DiskIO/Blocking/BlockingFile.cc 2012-08-06 17:41:08 +0000 +++ src/DiskIO/Blocking/BlockingFile.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,11 @@ */ #include "squid.h" #include "BlockingFile.h" +#include "Debug.h" #include "DiskIO/IORequestor.h" #include "DiskIO/ReadRequest.h" #include "DiskIO/WriteRequest.h" +#include "protos.h" CBDATA_CLASS_INIT(BlockingFile); === modified file 'src/DiskIO/Blocking/BlockingIOStrategy.cc' --- src/DiskIO/Blocking/BlockingIOStrategy.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/Blocking/BlockingIOStrategy.cc 2012-08-14 11:53:07 +0000 @@ -37,6 +37,7 @@ #include "squid.h" #include "BlockingIOStrategy.h" #include "BlockingFile.h" +#include "protos.h" bool BlockingIOStrategy::shedLoad() === modified file 'src/DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc' --- src/DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc 2012-08-06 17:21:57 +0000 +++ src/DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -31,7 +31,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "DiskDaemonDiskIOModule.h" #include "DiskdIOStrategy.h" #include "DiskIO/DiskDaemon/DiskdAction.h" === modified file 'src/DiskIO/DiskDaemon/DiskdAction.cc' --- src/DiskIO/DiskDaemon/DiskdAction.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/DiskDaemon/DiskdAction.cc 2012-08-14 11:53:07 +0000 @@ -7,12 +7,13 @@ #include "squid.h" #include "base/TextException.h" -#include "Store.h" +#include "DiskIO/DiskDaemon/DiskdAction.h" +#include "DiskIO/DiskDaemon/DiskdIOStrategy.h" #include "ipc/Messages.h" #include "ipc/TypedMsgHdr.h" #include "mgr/ActionWriter.h" -#include "DiskIO/DiskDaemon/DiskdAction.h" -#include "DiskIO/DiskDaemon/DiskdIOStrategy.h" +#include "Store.h" +#include "protos.h" DiskdActionData::DiskdActionData() === modified file 'src/DiskIO/DiskDaemon/DiskdFile.cc' --- src/DiskIO/DiskDaemon/DiskdFile.cc 2012-08-06 17:21:57 +0000 +++ src/DiskIO/DiskDaemon/DiskdFile.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * CopyRight (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include #include === modified file 'src/DiskIO/DiskDaemon/DiskdIOStrategy.cc' --- src/DiskIO/DiskDaemon/DiskdIOStrategy.cc 2012-08-06 17:41:08 +0000 +++ src/DiskIO/DiskDaemon/DiskdIOStrategy.cc 2012-08-14 11:53:07 +0000 @@ -33,22 +33,22 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "comm/Loops.h" - -#include -#include -#include +#include "ConfigOption.h" #include "DiskdIOStrategy.h" -#include "ConfigOption.h" #include "DiskIO/DiskFile.h" #include "DiskdFile.h" #include "diomsg.h" -/* for statfs */ +#include "protos.h" #include "Store.h" #include "StatCounters.h" #include "SquidTime.h" +#include +#include +#include + diskd_stats_t diskd_stats; size_t DiskdIOStrategy::nextInstanceID (0); === modified file 'src/DiskIO/DiskFile.h' --- src/DiskIO/DiskFile.h 2012-01-20 18:55:04 +0000 +++ src/DiskIO/DiskFile.h 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ #ifndef SQUID_DISKFILE_H #define SQUID_DISKFILE_H -#include "squid-old.h" +#include "typedefs.h" #include "RefCount.h" === modified file 'src/DiskIO/DiskIOModule.cc' --- src/DiskIO/DiskIOModule.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/DiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "DiskIOModule.h" Vector *DiskIOModule::_Modules = NULL; === modified file 'src/DiskIO/DiskIOModule.h' --- src/DiskIO/DiskIOModule.h 2012-01-20 18:55:04 +0000 +++ src/DiskIO/DiskIOModule.h 2012-08-14 11:53:07 +0000 @@ -34,7 +34,6 @@ #ifndef SQUID_DISKIOMODULE_H #define SQUID_DISKIOMODULE_H -#include "squid-old.h" #include "Array.h" /* forward decls */ === modified file 'src/DiskIO/DiskIOStrategy.h' --- src/DiskIO/DiskIOStrategy.h 2012-01-20 18:55:04 +0000 +++ src/DiskIO/DiskIOStrategy.h 2012-08-14 11:53:07 +0000 @@ -33,8 +33,8 @@ #ifndef SQUID_DISKIOSTRATEGY_H #define SQUID_DISKIOSTRATEGY_H -#include "squid-old.h" - +#include "squid.h" +#include "Store.h" #include "RefCount.h" class DiskFile; === modified file 'src/DiskIO/DiskThreads/CommIO.cc' --- src/DiskIO/DiskThreads/CommIO.cc 2012-05-27 23:51:04 +0000 +++ src/DiskIO/DiskThreads/CommIO.cc 2012-08-14 11:53:07 +0000 @@ -33,9 +33,10 @@ */ #include "squid.h" -#include "squid-old.h" #include "comm/Loops.h" #include "DiskIO/DiskThreads/CommIO.h" +#include "globals.h" +#include "protos.h" void CommIO::Initialise() === modified file 'src/DiskIO/DiskThreads/CommIO.h' --- src/DiskIO/DiskThreads/CommIO.h 2012-02-06 01:01:23 +0000 +++ src/DiskIO/DiskThreads/CommIO.h 2012-08-14 11:53:07 +0000 @@ -2,6 +2,7 @@ #define SQUID_SRC_DISKIO_DISKTHREADS_COMMIO_H #include "fde.h" +#include "globals.h" class CommIO { === modified file 'src/DiskIO/DiskThreads/DiskThreadsDiskFile.cc' --- src/DiskIO/DiskThreads/DiskThreadsDiskFile.cc 2012-08-06 17:41:08 +0000 +++ src/DiskIO/DiskThreads/DiskThreadsDiskFile.cc 2012-08-14 11:53:07 +0000 @@ -34,14 +34,16 @@ */ -#include "squid-old.h" +#include "squid.h" #include "DiskThreadsDiskFile.h" -#include "Store.h" -#include "Generic.h" #include "DiskIO/IORequestor.h" #include "DiskIO/ReadRequest.h" #include "DiskIO/WriteRequest.h" +#include "Generic.h" +#include "globals.h" #include "StatCounters.h" +#include "Store.h" +#include "protos.h" /* === PUBLIC =========================================================== */ === modified file 'src/DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc' --- src/DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -31,7 +31,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "DiskThreadsDiskIOModule.h" #include "DiskThreadsIOStrategy.h" === modified file 'src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc' --- src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc 2012-07-12 09:08:16 +0000 +++ src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "DiskThreadsDiskFile.h" #include "DiskThreadsIOStrategy.h" === modified file 'src/DiskIO/DiskThreads/aiops.cc' --- src/DiskIO/DiskThreads/aiops.cc 2012-08-06 17:41:08 +0000 +++ src/DiskIO/DiskThreads/aiops.cc 2012-08-14 11:53:07 +0000 @@ -36,7 +36,7 @@ #error "_REENTRANT MUST be defined to build squid async io support." #endif -#include "squid-old.h" +#include "squid.h" #include "DiskThreads.h" #include === modified file 'src/DiskIO/DiskThreads/aiops_win32.cc' --- src/DiskIO/DiskThreads/aiops_win32.cc 2012-08-06 17:41:08 +0000 +++ src/DiskIO/DiskThreads/aiops_win32.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "squid_windows.h" #include "DiskIO/DiskThreads/CommIO.h" #include "DiskThreads.h" === modified file 'src/DiskIO/DiskThreads/async_io.cc' --- src/DiskIO/DiskThreads/async_io.cc 2012-08-06 17:21:57 +0000 +++ src/DiskIO/DiskThreads/async_io.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "DiskThreads.h" #include "Store.h" #include "fde.h" === modified file 'src/DiskIO/IORequestor.h' --- src/DiskIO/IORequestor.h 2012-01-20 18:55:04 +0000 +++ src/DiskIO/IORequestor.h 2012-08-14 11:53:07 +0000 @@ -34,8 +34,6 @@ #ifndef SQUID_IOREQUESTOR_H #define SQUID_IOREQUESTOR_H -#include "squid-old.h" - #include "RefCount.h" class ReadRequest; === modified file 'src/DiskIO/IpcIo/IpcIoDiskIOModule.cc' --- src/DiskIO/IpcIo/IpcIoDiskIOModule.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/IpcIo/IpcIoDiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "IpcIoDiskIOModule.h" #include "IpcIoIOStrategy.h" === modified file 'src/DiskIO/IpcIo/IpcIoFile.cc' --- src/DiskIO/IpcIo/IpcIoFile.cc 2012-08-06 17:41:08 +0000 +++ src/DiskIO/IpcIo/IpcIoFile.cc 2012-08-14 11:53:07 +0000 @@ -11,6 +11,7 @@ #include "DiskIO/IpcIo/IpcIoFile.h" #include "DiskIO/ReadRequest.h" #include "DiskIO/WriteRequest.h" +#include "globals.h" #include "ipc/Messages.h" #include "ipc/Port.h" #include "ipc/Queue.h" @@ -19,6 +20,7 @@ #include "ipc/mem/Pages.h" #include "StatCounters.h" #include "SquidTime.h" +#include "protos.h" CBDATA_CLASS_INIT(IpcIoFile); === modified file 'src/DiskIO/IpcIo/IpcIoFile.h' --- src/DiskIO/IpcIo/IpcIoFile.h 2011-09-15 17:51:23 +0000 +++ src/DiskIO/IpcIo/IpcIoFile.h 2012-08-14 11:53:07 +0000 @@ -5,6 +5,7 @@ #include "cbdata.h" #include "DiskIO/DiskFile.h" #include "DiskIO/IORequestor.h" +#include "SquidString.h" #include "ipc/forward.h" #include "ipc/mem/Page.h" #include === modified file 'src/DiskIO/IpcIo/IpcIoIOStrategy.cc' --- src/DiskIO/IpcIo/IpcIoIOStrategy.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/IpcIo/IpcIoIOStrategy.cc 2012-08-14 11:53:07 +0000 @@ -8,6 +8,7 @@ #include "squid.h" #include "IpcIoFile.h" #include "IpcIoIOStrategy.h" +#include "protos.h" bool IpcIoIOStrategy::shedLoad() === modified file 'src/DiskIO/Mmapped/MmappedDiskIOModule.cc' --- src/DiskIO/Mmapped/MmappedDiskIOModule.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/Mmapped/MmappedDiskIOModule.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "MmappedDiskIOModule.h" #include "MmappedIOStrategy.h" === modified file 'src/DiskIO/Mmapped/MmappedFile.cc' --- src/DiskIO/Mmapped/MmappedFile.cc 2012-08-06 17:21:57 +0000 +++ src/DiskIO/Mmapped/MmappedFile.cc 2012-08-14 11:53:07 +0000 @@ -5,11 +5,20 @@ */ #include "squid.h" +#include "Debug.h" #include "DiskIO/IORequestor.h" #include "DiskIO/Mmapped/MmappedFile.h" #include "DiskIO/ReadRequest.h" #include "DiskIO/WriteRequest.h" +#include "globals.h" +#include "protos.h" + +#if HAVE_SYS_MMAN_H #include +#endif +#if HAVE_SYS_STAT_H +#include +#endif CBDATA_CLASS_INIT(MmappedFile); === modified file 'src/DiskIO/Mmapped/MmappedIOStrategy.cc' --- src/DiskIO/Mmapped/MmappedIOStrategy.cc 2012-01-20 18:55:04 +0000 +++ src/DiskIO/Mmapped/MmappedIOStrategy.cc 2012-08-14 11:53:07 +0000 @@ -8,6 +8,7 @@ #include "squid.h" #include "MmappedFile.h" #include "MmappedIOStrategy.h" +#include "protos.h" bool MmappedIOStrategy::shedLoad() === modified file 'src/DiskIO/ReadRequest.h' --- src/DiskIO/ReadRequest.h 2012-01-20 18:55:04 +0000 +++ src/DiskIO/ReadRequest.h 2012-08-14 11:53:07 +0000 @@ -34,8 +34,6 @@ #ifndef SQUID_READREQUEST_H #define SQUID_READREQUEST_H -#include "squid-old.h" - #include "cbdata.h" #include "RefCount.h" === modified file 'src/DiskIO/WriteRequest.h' --- src/DiskIO/WriteRequest.h 2012-01-20 18:55:04 +0000 +++ src/DiskIO/WriteRequest.h 2012-08-14 11:53:07 +0000 @@ -34,8 +34,6 @@ #ifndef SQUID_WRITEREQUEST_H #define SQUID_WRITEREQUEST_H -#include "squid-old.h" - #include "cbdata.h" #include "RefCount.h" === modified file 'src/EventLoop.cc' --- src/EventLoop.cc 2012-08-06 17:41:08 +0000 +++ src/EventLoop.cc 2012-08-14 11:53:07 +0000 @@ -33,6 +33,7 @@ */ #include "squid.h" +#include "Debug.h" #include "EventLoop.h" #include "base/AsyncCallQueue.h" === modified file 'src/EventLoop.h' --- src/EventLoop.h 2012-01-20 18:55:04 +0000 +++ src/EventLoop.h 2012-08-14 11:53:07 +0000 @@ -33,7 +33,6 @@ #ifndef SQUID_EVENTLOOP_H #define SQUID_EVENTLOOP_H -#include "squid-old.h" #include "Array.h" #include "AsyncEngine.h" #include "SquidTime.h" === modified file 'src/ExternalACLEntry.cc' --- src/ExternalACLEntry.cc 2012-01-20 18:55:04 +0000 +++ src/ExternalACLEntry.cc 2012-08-14 11:53:07 +0000 @@ -41,7 +41,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "ExternalACLEntry.h" #include "SquidTime.h" === modified file 'src/FadingCounter.cc' --- src/FadingCounter.cc 2012-01-20 18:55:04 +0000 +++ src/FadingCounter.cc 2012-08-14 11:53:07 +0000 @@ -2,11 +2,15 @@ * $Id$ */ -#include "squid-old.h" +#include "squid.h" #include "base/TextException.h" #include "SquidTime.h" #include "FadingCounter.h" +#if HAVE_MATH_H +#include +#endif /* HAVE_MATH_H */ + FadingCounter::FadingCounter(): horizon(-1), precision(10), delta(-1), lastTime(0), total(0) { === modified file 'src/HelperChildConfig.cc' --- src/HelperChildConfig.cc 2012-08-06 17:41:08 +0000 +++ src/HelperChildConfig.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,8 @@ #include "squid.h" +#include "Debug.h" #include "HelperChildConfig.h" #include "globals.h" +#include "protos.h" #include === modified file 'src/HttpBody.cc' --- src/HttpBody.cc 2012-01-20 18:55:04 +0000 +++ src/HttpBody.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "HttpBody.h" #include "MemBuf.h" === modified file 'src/HttpHdrCc.cc' --- src/HttpHdrCc.cc 2012-07-23 15:34:12 +0000 +++ src/HttpHdrCc.cc 2012-08-14 11:53:07 +0000 @@ -30,13 +30,14 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "base/StringArea.h" #include "HttpHeader.h" #include "HttpHeaderStat.h" #include "HttpHdrCc.h" #include "StatHist.h" #include "Store.h" +#include "protos.h" #if HAVE_MAP #include === modified file 'src/HttpHdrCc.cci' --- src/HttpHdrCc.cci 2011-10-05 00:19:46 +0000 +++ src/HttpHdrCc.cci 2012-08-14 11:53:07 +0000 @@ -29,6 +29,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * */ + +#include "defines.h" +#include "Debug.h" + bool HttpHdrCc::isSet(http_hdr_cc_type id) const { === modified file 'src/HttpHdrCc.h' --- src/HttpHdrCc.h 2011-10-30 02:42:27 +0000 +++ src/HttpHdrCc.h 2012-08-14 11:53:07 +0000 @@ -32,7 +32,9 @@ #ifndef SQUID_HTTPHDRCC_H #define SQUID_HTTPHDRCC_H +#include "enums.h" #include "MemPool.h" +#include "Packer.h" #include "SquidString.h" /** Http Cache-Control header representation === modified file 'src/HttpHdrContRange.cc' --- src/HttpHdrContRange.cc 2012-07-17 17:38:50 +0000 +++ src/HttpHdrContRange.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,12 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" +#include "enums.h" #include "HttpHdrContRange.h" +#include "HttpHeaderTools.h" +#include "protos.h" /* * Currently only byte ranges are supported === modified file 'src/HttpHdrRange.cc' --- src/HttpHdrRange.cc 2012-07-17 17:38:50 +0000 +++ src/HttpHdrRange.cc 2012-08-14 11:53:07 +0000 @@ -33,11 +33,12 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "HttpHeaderRange.h" #include "client_side_request.h" #include "HttpReply.h" +#include "protos.h" /* * Currently only byte ranges are supported === modified file 'src/HttpHdrSc.cc' --- src/HttpHdrSc.cc 2012-07-23 15:34:12 +0000 +++ src/HttpHdrSc.cc 2012-08-14 11:53:07 +0000 @@ -36,11 +36,12 @@ * */ -#include "squid-old.h" -#include "Store.h" +#include "squid.h" +#include "HttpHdrSc.h" #include "HttpHeader.h" #include "HttpHeaderStat.h" -#include "HttpHdrSc.h" +#include "Store.h" +#include "protos.h" #if HAVE_MAP #include === modified file 'src/HttpHdrSc.h' --- src/HttpHdrSc.h 2011-12-03 12:40:23 +0000 +++ src/HttpHdrSc.h 2012-08-14 11:53:07 +0000 @@ -37,6 +37,8 @@ #include "dlink.h" #include "HttpHdrScTarget.h" +class StatHist; + /* http surogate control header field */ class HttpHdrSc === modified file 'src/HttpHdrScTarget.cc' --- src/HttpHdrScTarget.cc 2012-01-20 18:55:04 +0000 +++ src/HttpHdrScTarget.cc 2012-08-14 11:53:07 +0000 @@ -35,7 +35,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "HttpHdrSc.h" #include "StatHist.h" === modified file 'src/HttpHdrScTarget.h' --- src/HttpHdrScTarget.h 2011-12-04 01:33:38 +0000 +++ src/HttpHdrScTarget.h 2012-08-14 11:53:07 +0000 @@ -32,14 +32,16 @@ #ifndef SQUID_HTTPHDRSURROGATECONTROLTARGET_H #define SQUID_HTTPHDRSURROGATECONTROLTARGET_H -class Packer; -class StoreEntry; - #include "MemPool.h" +#include "defines.h" #include "dlink.h" #include "SquidString.h" #include "typedefs.h" +class StatHist; +class Packer; +class StoreEntry; + /** Representation of HTTP Surogate-Control header field targeted directive * * \see HttpHdrSc === modified file 'src/HttpHeader.cc' --- src/HttpHeader.cc 2012-08-06 17:41:08 +0000 +++ src/HttpHeader.cc 2012-08-14 11:53:07 +0000 @@ -33,15 +33,17 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "base64.h" +#include "HttpHdrCc.h" #include "HttpHdrContRange.h" -#include "HttpHdrCc.h" #include "HttpHdrSc.h" #include "HttpHeader.h" #include "HttpHeaderStat.h" #include "MemBuf.h" #include "mgr/Registration.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "rfc1123.h" #include "StatHist.h" #include "Store.h" === modified file 'src/HttpHeaderTools.cc' --- src/HttpHeaderTools.cc 2012-07-23 07:02:06 +0000 +++ src/HttpHeaderTools.cc 2012-08-14 11:53:07 +0000 @@ -32,11 +32,11 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "acl/Gadgets.h" +#include "client_side_request.h" #include "client_side.h" -#include "client_side_request.h" #include "comm/Connection.h" #include "compat/strtoll.h" #include "fde.h" @@ -45,14 +45,15 @@ #include "HttpHeaderTools.h" #include "HttpRequest.h" #include "MemBuf.h" +#include "protos.h" +#include "Store.h" + #if USE_SSL #include "ssl/support.h" #endif -#include "Store.h" + #include -#if HAVE_STRING #include -#endif static void httpHeaderPutStrvf(HttpHeader * hdr, http_hdr_type id, const char *fmt, va_list vargs); === modified file 'src/HttpHeaderTools.h' --- src/HttpHeaderTools.h 2012-07-17 14:25:06 +0000 +++ src/HttpHeaderTools.h 2012-08-14 11:53:07 +0000 @@ -2,6 +2,7 @@ #define SQUID_HTTPHEADERTOOLS_H #include "format/Format.h" +#include "HttpHeader.h" #if HAVE_LIST #include @@ -89,4 +90,7 @@ /// whether fieldValue may contain macros bool quoted; }; + +SQUIDCEXTERN int httpHeaderParseOffset(const char *start, int64_t * off); + #endif === modified file 'src/HttpMsg.cc' --- src/HttpMsg.cc 2012-08-06 17:21:57 +0000 +++ src/HttpMsg.cc 2012-08-14 11:53:07 +0000 @@ -33,9 +33,12 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "HttpMsg.h" #include "MemBuf.h" +#include "profiler/Profiler.h" +#include "protos.h" HttpMsg::HttpMsg(http_hdr_owner_type owner): header(owner), cache_control(NULL), hdr_sz(0), content_length(0), protocol(AnyP::PROTO_NONE), === modified file 'src/HttpMsg.h' --- src/HttpMsg.h 2011-05-27 13:56:42 +0000 +++ src/HttpMsg.h 2012-08-14 11:53:07 +0000 @@ -35,6 +35,7 @@ #include "typedefs.h" #include "HttpHeader.h" +#include "HttpRequestMethod.h" #include "HttpStatusCode.h" #include "HttpVersion.h" #include "BodyPipe.h" === modified file 'src/HttpParser.cc' --- src/HttpParser.cc 2012-07-20 15:31:04 +0000 +++ src/HttpParser.cc 2012-08-14 11:53:07 +0000 @@ -2,6 +2,7 @@ #include "Debug.h" #include "HttpParser.h" #include "structs.h" +#include "profiler/Profiler.h" void HttpParser::clear() === modified file 'src/HttpReply.cc' --- src/HttpReply.cc 2012-06-12 07:01:02 +0000 +++ src/HttpReply.cc 2012-08-14 11:53:07 +0000 @@ -33,17 +33,19 @@ * */ -#include "squid-old.h" -#include "SquidTime.h" -#include "Store.h" +#include "squid.h" +#include "acl/FilledChecklist.h" +#include "globals.h" #include "HttpBody.h" -#include "HttpReply.h" +#include "HttpHdrCc.h" #include "HttpHdrContRange.h" -#include "HttpHdrCc.h" #include "HttpHdrSc.h" -#include "acl/FilledChecklist.h" +#include "HttpReply.h" #include "HttpRequest.h" #include "MemBuf.h" +#include "protos.h" +#include "SquidTime.h" +#include "Store.h" /* local constants */ === modified file 'src/HttpReply.h' --- src/HttpReply.h 2011-12-04 13:52:07 +0000 +++ src/HttpReply.h 2012-08-14 11:53:07 +0000 @@ -34,6 +34,7 @@ #include "HttpBody.h" #include "HttpMsg.h" +#include "HttpRequest.h" #include "HttpStatusLine.h" extern void httpReplyInitModule(void); === modified file 'src/HttpRequest.cc' --- src/HttpRequest.cc 2012-08-06 17:21:57 +0000 +++ src/HttpRequest.cc 2012-08-14 11:53:07 +0000 @@ -34,23 +34,26 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "AccessLogEntry.h" +#include "acl/FilledChecklist.h" +#include "client_side.h" #include "DnsLookupDetails.h" -#include "HttpRequest.h" +#include "err_detail_type.h" #include "HttpHdrCc.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif #include "HttpHeaderRange.h" +#include "HttpRequest.h" #include "log/Config.h" #include "MemBuf.h" +#include "protos.h" #include "Store.h" + +#if USE_AUTH +#include "auth/UserRequest.h" +#endif #if ICAP_CLIENT #include "adaptation/icap/icap_log.h" #endif -#include "acl/FilledChecklist.h" -#include "err_detail_type.h" HttpRequest::HttpRequest() : HttpMsg(hoRequest) { @@ -703,3 +706,10 @@ // others must support 1xx control messages return true; } + +ConnStateData * +HttpRequest::pinnedConnection() { + if (clientConnectionManager.valid() && clientConnectionManager->pinning.pinned) + return clientConnectionManager.get(); + return NULL; +} === modified file 'src/HttpRequest.h' --- src/HttpRequest.h 2012-07-22 03:15:02 +0000 +++ src/HttpRequest.h 2012-08-14 11:53:07 +0000 @@ -33,21 +33,27 @@ #ifndef SQUID_HTTPREQUEST_H #define SQUID_HTTPREQUEST_H +#include "base/CbcPointer.h" +#include "Debug.h" +#include "HierarchyLogEntry.h" +#include "HttpMsg.h" +#include "HttpRequestMethod.h" + +#if USE_AUTH +#include "auth/UserRequest.h" +#endif #if USE_ADAPTATION #include "adaptation/History.h" #endif #if ICAP_CLIENT #include "adaptation/icap/History.h" #endif -#include "base/CbcPointer.h" -#include "client_side.h" #if USE_SQUID_EUI #include "eui/Eui48.h" #include "eui/Eui64.h" #endif -#include "HierarchyLogEntry.h" -#include "HttpMsg.h" -#include "HttpRequestMethod.h" + +class ConnStateData; /* Http Request */ //DEAD?: extern int httpRequestHdrAllowedByName(http_hdr_type id); @@ -229,11 +235,7 @@ static HttpRequest * CreateFromUrl(char * url); - ConnStateData *pinnedConnection() { - if (clientConnectionManager.valid() && clientConnectionManager->pinning.pinned) - return clientConnectionManager.get(); - return NULL; - } + ConnStateData *pinnedConnection(); /** * The client connection manager, if known; === modified file 'src/HttpRequestMethod.cc' --- src/HttpRequestMethod.cc 2012-08-06 17:21:57 +0000 +++ src/HttpRequestMethod.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "HttpRequestMethod.h" #include "wordlist.h" === modified file 'src/HttpRequestMethod.h' --- src/HttpRequestMethod.h 2012-01-20 18:55:04 +0000 +++ src/HttpRequestMethod.h 2012-08-14 11:53:07 +0000 @@ -33,9 +33,10 @@ #ifndef SQUID_HTTPREQUESTMETHOD_H #define SQUID_HTTPREQUESTMETHOD_H -#include "squid-old.h" +#include "SquidString.h" +#include "structs.h" + #include -#include "SquidString.h" enum _method_t { METHOD_NONE, /* 000 */ === modified file 'src/HttpStatusLine.cc' --- src/HttpStatusLine.cc 2012-05-22 00:39:25 +0000 +++ src/HttpStatusLine.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,11 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "HttpStatusLine.h" +#include "protos.h" +#include "Packer.h" /* local constants */ /* AYJ: see bug 2469 - RFC2616 confirms stating 'SP characters' plural! */ === modified file 'src/HttpStatusLine.h' --- src/HttpStatusLine.h 2011-03-02 07:27:24 +0000 +++ src/HttpStatusLine.h 2012-08-14 11:53:07 +0000 @@ -77,4 +77,7 @@ /* pack fields using Packer */ SQUIDCEXTERN void httpStatusLinePackInto(const HttpStatusLine * sline, Packer * p); +SQUIDCEXTERN const char *httpStatusString(http_status status); + + #endif /* SQUID_HTTPSTATUSLINE_H */ === modified file 'src/ICP.h' --- src/ICP.h 2012-04-25 05:29:20 +0000 +++ src/ICP.h 2012-08-14 11:53:07 +0000 @@ -39,9 +39,12 @@ */ #include "comm/forward.h" +#include "icp_opcode.h" #include "ip/Address.h" #include "StoreClient.h" +class HttpRequest; + /** \ingroup ServerProtocolICPAPI * === modified file 'src/LeakFinder.cc' --- src/LeakFinder.cc 2012-08-06 17:21:57 +0000 +++ src/LeakFinder.cc 2012-08-14 11:53:07 +0000 @@ -36,7 +36,7 @@ * Use these to find memory leaks */ -#include "squid-old.h" +#include "squid.h" #include "LeakFinder.h" #include "Store.h" #include "SquidTime.h" === modified file 'src/LoadableModule.cc' --- src/LoadableModule.cc 2012-01-20 18:55:04 +0000 +++ src/LoadableModule.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" /* The original code has this constant ./configure-able. * The "#else" branches use raw dlopen interface and have not been tested. === modified file 'src/LoadableModules.cc' --- src/LoadableModules.cc 2012-08-06 17:21:57 +0000 +++ src/LoadableModules.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,8 @@ -#include "squid-old.h" -#include "wordlist.h" +#include "squid.h" +#include "Debug.h" #include "LoadableModule.h" #include "LoadableModules.h" +#include "wordlist.h" static void LoadModule(const char *fname) === modified file 'src/Makefile.am' --- src/Makefile.am 2012-08-11 04:42:17 +0000 +++ src/Makefile.am 2012-08-14 11:53:07 +0000 @@ -426,7 +426,6 @@ send-announce.cc \ $(SBUF_SOURCE) \ $(SNMP_SOURCE) \ - squid-old.h \ SquidMath.h \ SquidMath.cc \ SquidNew.cc \ @@ -693,7 +692,6 @@ tests/stub_HelperChildConfig.cc \ HttpRequestMethod.cc \ RemovalPolicy.cc \ - squid-old.h \ $(WIN32_SOURCE) \ tests/stub_fd.cc ufsdump_LDADD = \ === modified file 'src/MemBuf.cc' --- src/MemBuf.cc 2012-07-20 15:31:04 +0000 +++ src/MemBuf.cc 2012-08-14 11:53:07 +0000 @@ -99,10 +99,10 @@ \endverbatim */ -/* if you have configure you can use this */ -#if defined(HAVE_CONFIG_H) #include "squid.h" -#endif +#include "MemBuf.h" +#include "profiler/Profiler.h" +#include "protos.h" #ifdef VA_COPY #undef VA_COPY @@ -113,9 +113,6 @@ #define VA_COPY __va_copy #endif -#include "squid-old.h" -#include "MemBuf.h" - /* local constants */ /* default values for buffer sizes, used by memBufDefInit */ === modified file 'src/MemObject.cc' --- src/MemObject.cc 2012-08-06 17:21:57 +0000 +++ src/MemObject.cc 2012-08-14 11:53:07 +0000 @@ -33,18 +33,21 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm/Connection.h" +#include "Generic.h" +#include "HttpReply.h" +#include "HttpRequest.h" +#include "MemBuf.h" #include "MemObject.h" -#include "HttpRequest.h" -#include "HttpReply.h" +#include "profiler/Profiler.h" #include "Store.h" #include "StoreClient.h" -#include "Generic.h" +#include "protos.h" + #if USE_DELAY_POOLS #include "DelayPools.h" #endif -#include "MemBuf.h" /* TODO: make this global or private */ #if URL_CHECKSUM_DEBUG === modified file 'src/MemObject.h' --- src/MemObject.h 2012-06-18 23:08:56 +0000 +++ src/MemObject.h 2012-08-14 11:53:07 +0000 @@ -43,6 +43,7 @@ typedef void STMCB (void *data, StoreIOBuffer wroteBuffer); class store_client; +class HttpRequest; #if USE_DELAY_POOLS #include "DelayId.h" #endif === modified file 'src/MemStore.cc' --- src/MemStore.cc 2012-07-13 14:33:19 +0000 +++ src/MemStore.cc 2012-08-14 11:53:07 +0000 @@ -7,12 +7,13 @@ #include "squid.h" #include "base/RunnersRegistry.h" +#include "HttpReply.h" #include "ipc/mem/Page.h" #include "ipc/mem/Pages.h" #include "MemObject.h" #include "MemStore.h" +#include "protos.h" #include "StoreStats.h" -#include "HttpReply.h" /// shared memory segment path to use for MemStore maps static const char *ShmLabel = "cache_mem"; === modified file 'src/NullDelayId.cc' --- src/NullDelayId.cc 2012-01-20 18:55:04 +0000 +++ src/NullDelayId.cc 2012-08-14 11:53:07 +0000 @@ -40,9 +40,8 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" +#include "DelayPools.h" #include "NullDelayId.h" -#include "DelayPools.h" void * NullDelayId::operator new(size_t size) === modified file 'src/NullDelayId.h' --- src/NullDelayId.h 2012-01-20 18:55:04 +0000 +++ src/NullDelayId.h 2012-08-14 11:53:07 +0000 @@ -38,8 +38,8 @@ */ #ifndef NULLDELAYID_H #define NULLDELAYID_H + #if USE_DELAY_POOLS -#include "squid-old.h" #include "RefCount.h" #include "DelayIdComposite.h" === modified file 'src/Packer.cc' --- src/Packer.cc 2012-01-20 18:55:04 +0000 +++ src/Packer.cc 2012-08-14 11:53:07 +0000 @@ -71,7 +71,7 @@ */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "MemBuf.h" === modified file 'src/Parsing.cc' --- src/Parsing.cc 2012-07-23 19:37:47 +0000 +++ src/Parsing.cc 2012-08-14 11:53:07 +0000 @@ -35,6 +35,7 @@ #include "squid.h" #include "compat/strtoll.h" #include "Parsing.h" +#include "protos.h" /* * These functions is the same as atoi/l/f, except that they check for errors === modified file 'src/Parsing.h' --- src/Parsing.h 2012-01-20 18:55:04 +0000 +++ src/Parsing.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,7 @@ #ifndef SQUID_PARSING_H #define SQUID_PARSING_H -#include "squid-old.h" +#include "ip/Address.h" extern double xatof(const char *token); extern int xatoi(const char *token); === modified file 'src/PeerDigest.h' --- src/PeerDigest.h 2012-01-20 18:55:04 +0000 +++ src/PeerDigest.h 2012-08-14 11:53:07 +0000 @@ -34,12 +34,9 @@ #ifndef SQUID_PEERDIGEST_H #define SQUID_PEERDIGEST_H -#include "squid-old.h" - #if USE_CACHE_DIGESTS #include "cbdata.h" - /* for CacheDigestGuessStats */ #include "StatCounters.h" === modified file 'src/ProfStats.cc' --- src/ProfStats.cc 2012-07-18 15:47:58 +0000 +++ src/ProfStats.cc 2012-08-14 11:53:07 +0000 @@ -33,12 +33,13 @@ * */ -#include "squid-old.h" +#include "squid.h" #if USE_XPROF_STATS #include "event.h" #include "mgr/Registration.h" +#include "profiler/Profiler.h" #include "SquidMath.h" #include "Store.h" === modified file 'src/RemovalPolicy.h' --- src/RemovalPolicy.h 2012-01-20 18:55:04 +0000 +++ src/RemovalPolicy.h 2012-08-14 11:53:07 +0000 @@ -35,7 +35,6 @@ #ifndef SQUID_REMOVALPOLICY_H #define SQUID_REMOVALPOLICY_H -#include "squid-old.h" #include "cbdata.h" class RemovalPolicyWalker; === modified file 'src/Server.cc' --- src/Server.cc 2012-08-06 17:21:57 +0000 +++ src/Server.cc 2012-08-14 11:53:07 +0000 @@ -32,20 +32,21 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "acl/Gadgets.h" #include "base/TextException.h" #include "comm/Connection.h" #include "comm/forward.h" #include "comm/Write.h" +#include "err_detail_type.h" +#include "errorpage.h" +#include "HttpReply.h" +#include "HttpRequest.h" +#include "protos.h" #include "Server.h" +#include "SquidTime.h" +#include "StatCounters.h" #include "Store.h" -#include "HttpRequest.h" -#include "HttpReply.h" -#include "errorpage.h" -#include "err_detail_type.h" -#include "StatCounters.h" -#include "SquidTime.h" #if USE_ADAPTATION #include "adaptation/AccessCheck.h" === modified file 'src/SquidNew.cc' --- src/SquidNew.cc 2012-01-20 18:55:04 +0000 +++ src/SquidNew.cc 2012-08-14 11:53:07 +0000 @@ -35,7 +35,7 @@ #define _SQUID_EXTERNNEW_ -#include "squid-old.h" +#include "squid.h" #ifdef __SUNPRO_CC === modified file 'src/StatHist.cc' --- src/StatHist.cc 2012-05-14 12:45:54 +0000 +++ src/StatHist.cc 2012-08-14 11:53:07 +0000 @@ -34,6 +34,9 @@ #include "squid.h" #include "StatHist.h" +#if HAVE_MATH_H +#include +#endif /* Local functions */ static StatHistBinDumper statHistBinDumper; === modified file 'src/Store.h' --- src/Store.h 2012-07-13 14:33:19 +0000 +++ src/Store.h 2012-08-14 11:53:07 +0000 @@ -37,14 +37,14 @@ \ingroup FileSystems */ -#include "squid-old.h" -#include "StoreIOBuffer.h" +#include "comm/forward.h" +#include "CommRead.h" +#include "HttpRequestMethod.h" +#include "Packer.h" #include "Range.h" #include "RefCount.h" -#include "CommRead.h" -#include "comm/forward.h" -#include "Packer.h" #include "RemovalPolicy.h" +#include "StoreIOBuffer.h" #include "StoreStats.h" #if USE_SQUID_ESI @@ -57,8 +57,9 @@ class AsyncCall; +class HttpRequest; +class MemObject; class StoreClient; -class MemObject; class StoreSearch; class SwapDir; === modified file 'src/StoreClient.h' --- src/StoreClient.h 2012-08-07 15:12:08 +0000 +++ src/StoreClient.h 2012-08-14 11:53:07 +0000 @@ -34,6 +34,7 @@ #ifndef SQUID_STORECLIENT_H #define SQUID_STORECLIENT_H +#include "dlink.h" #include "StoreIOBuffer.h" #include "StoreIOState.h" === modified file 'src/StoreFileSystem.cc' --- src/StoreFileSystem.cc 2012-01-20 18:55:04 +0000 +++ src/StoreFileSystem.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "StoreFileSystem.h" Vector *StoreFileSystem::_FileSystems = NULL; === modified file 'src/StoreFileSystem.h' --- src/StoreFileSystem.h 2012-01-20 18:55:04 +0000 +++ src/StoreFileSystem.h 2012-08-14 11:53:07 +0000 @@ -33,7 +33,6 @@ #ifndef SQUID_STOREFILESYSTEM_H #define SQUID_STOREFILESYSTEM_H -#include "squid-old.h" #include "Array.h" /* ****** DOCUMENTATION ***** */ === modified file 'src/StoreIOState.cc' --- src/StoreIOState.cc 2012-01-20 18:55:04 +0000 +++ src/StoreIOState.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,9 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" +#include "defines.h" #include "StoreIOState.h" void * === modified file 'src/StoreMeta.cc' --- src/StoreMeta.cc 2012-08-06 17:41:08 +0000 +++ src/StoreMeta.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "StoreMeta.h" #include "Store.h" #include "MemObject.h" === modified file 'src/StoreMetaMD5.cc' --- src/StoreMetaMD5.cc 2012-08-06 17:21:57 +0000 +++ src/StoreMetaMD5.cc 2012-08-14 11:53:07 +0000 @@ -33,10 +33,12 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "md5.h" +#include "MemObject.h" +#include "protos.h" +#include "Store.h" #include "StoreMetaMD5.h" -#include "Store.h" -#include "MemObject.h" bool StoreMetaMD5::validLength(int len) const === modified file 'src/StoreMetaSTD.cc' --- src/StoreMetaSTD.cc 2012-01-20 18:55:04 +0000 +++ src/StoreMetaSTD.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "StoreMetaSTD.h" #include "Store.h" #include "MemObject.h" === modified file 'src/StoreMetaSTDLFS.cc' --- src/StoreMetaSTDLFS.cc 2012-01-20 18:55:04 +0000 +++ src/StoreMetaSTDLFS.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "StoreMetaSTDLFS.h" #include "Store.h" #include "MemObject.h" === modified file 'src/StoreMetaURL.cc' --- src/StoreMetaURL.cc 2012-08-06 17:21:57 +0000 +++ src/StoreMetaURL.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "StoreMetaURL.h" #include "Store.h" #include "MemObject.h" === modified file 'src/StoreMetaUnpacker.cc' --- src/StoreMetaUnpacker.cc 2012-08-06 17:41:08 +0000 +++ src/StoreMetaUnpacker.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,9 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "defines.h" +#include "Debug.h" #include "StoreMetaUnpacker.h" #include "StoreMeta.h" === modified file 'src/StoreMetaVary.cc' --- src/StoreMetaVary.cc 2012-01-20 18:55:04 +0000 +++ src/StoreMetaVary.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "StoreMetaVary.h" #include "Store.h" #include "MemObject.h" === modified file 'src/StoreSearch.h' --- src/StoreSearch.h 2012-01-20 18:55:04 +0000 +++ src/StoreSearch.h 2012-08-14 11:53:07 +0000 @@ -33,7 +33,6 @@ #ifndef SQUID_STORESEARCH_H #define SQUID_STORESEARCH_H -#include "squid-old.h" #include "RefCount.h" #include "Store.h" === modified file 'src/StoreSwapLogData.h' --- src/StoreSwapLogData.h 2012-04-11 00:15:57 +0000 +++ src/StoreSwapLogData.h 2012-08-14 11:53:07 +0000 @@ -59,7 +59,9 @@ * the value for MemObject->swap_hdr_sz. */ -#include "squid-old.h" +#include "md5.h" +#include "MemPool.h" +#include "typedefs.h" /// maintains a 24-bit checksum over integer fields class SwapChecksum24 === modified file 'src/String.cc' --- src/String.cc 2012-07-20 12:44:39 +0000 +++ src/String.cc 2012-08-14 11:53:07 +0000 @@ -33,11 +33,17 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "base/TextException.h" #include "mgr/Registration.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "Store.h" +#if HAVE_LIMITS_H +#include +#endif + int String::psize() const { === modified file 'src/String.cci' --- src/String.cci 2011-09-12 23:25:55 +0000 +++ src/String.cci 2012-08-14 11:53:07 +0000 @@ -35,7 +35,7 @@ #include #if HAVE_STDINT_H -#include //for INT_MAX +#include #else /* HAVE_STDINT_H */ #ifndef INT_MAX #define INT_MAX 1<<31 //hack but a safe bet === modified file 'src/SwapDir.cc' --- src/SwapDir.cc 2012-08-06 17:21:57 +0000 +++ src/SwapDir.cc 2012-08-14 11:53:07 +0000 @@ -32,11 +32,12 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "compat/strtoll.h" +#include "ConfigOption.h" +#include "protos.h" +#include "StoreFileSystem.h" #include "SwapDir.h" -#include "StoreFileSystem.h" -#include "ConfigOption.h" SwapDir::SwapDir(char const *aType): theType(aType), max_size(0), === modified file 'src/WinSvc.cc' --- src/WinSvc.cc 2012-08-06 17:21:57 +0000 +++ src/WinSvc.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "squid_windows.h" #if _SQUID_MSWIN_ === modified file 'src/acl/Acl.cc' --- src/acl/Acl.cc 2012-08-06 17:41:08 +0000 +++ src/acl/Acl.cc 2012-08-14 11:53:07 +0000 @@ -34,10 +34,11 @@ #include "squid.h" #include "acl/Acl.h" #include "acl/Checklist.h" +#include "anyp/PortCfg.h" #include "ConfigParser.h" #include "Debug.h" #include "dlink.h" -#include "anyp/PortCfg.h" +#include "globals.h" const char *AclMatchedName = NULL; === modified file 'src/acl/Acl.h' --- src/acl/Acl.h 2012-07-19 00:12:22 +0000 +++ src/acl/Acl.h 2012-08-14 11:53:07 +0000 @@ -37,7 +37,10 @@ #include "Array.h" #include "cbdata.h" +#include "defines.h" #include "dlink.h" +#include "MemPool.h" +#include "structs.h" #if HAVE_OSTREAM #include === modified file 'src/acl/Arp.cc' --- src/acl/Arp.cc 2012-08-06 17:41:08 +0000 +++ src/acl/Arp.cc 2012-08-14 11:53:07 +0000 @@ -32,14 +32,16 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #if USE_SQUID_EUI #include "acl/Arp.h" #include "acl/FilledChecklist.h" +#include "Debug.h" #include "eui/Eui48.h" #include "ip/Address.h" +#include "protos.h" #include "wordlist.h" static void aclParseArpList(SplayNode **curlist); === modified file 'src/acl/Asn.cc' --- src/acl/Asn.cc 2012-08-06 17:21:57 +0000 +++ src/acl/Asn.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "mgr/Registration.h" #include "radix.h" #include "HttpRequest.h" @@ -48,6 +48,7 @@ #include "HttpReply.h" #include "ipcache.h" #include "forward.h" +#include "protos.h" #include "wordlist.h" #define WHOIS_PORT 43 === modified file 'src/acl/Browser.cc' --- src/acl/Browser.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Browser.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Checklist.h" #include "acl/Browser.h" #include "acl/RegexData.h" === modified file 'src/acl/Certificate.cc' --- src/acl/Certificate.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Certificate.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the SSL code from compile process when not needed. @@ -44,8 +44,10 @@ #include "acl/Certificate.h" #include "acl/Checklist.h" #include "acl/CertificateData.h" +#include "HttpRequest.h" +#include "client_side.h" #include "fde.h" -#include "client_side.h" +#include "globals.h" int === modified file 'src/acl/CertificateData.cc' --- src/acl/CertificateData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/CertificateData.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,10 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/CertificateData.h" #include "acl/Checklist.h" +#include "protos.h" #include "wordlist.h" ACLCertificateData::ACLCertificateData(SSLGETATTRIBUTE *sslStrategy) : attribute (NULL), values (), sslAttributeCall (sslStrategy) === modified file 'src/acl/Checklist.cc' --- src/acl/Checklist.cc 2012-06-19 16:08:52 +0000 +++ src/acl/Checklist.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,10 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Checklist.h" +#include "Debug.h" +#include "profiler/Profiler.h" void ACLChecklist::matchNonBlocking() === modified file 'src/acl/DestinationDomain.cc' --- src/acl/DestinationDomain.cc 2012-01-20 18:55:04 +0000 +++ src/acl/DestinationDomain.cc 2012-08-14 11:53:07 +0000 @@ -34,13 +34,14 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/DestinationDomain.h" #include "acl/Checklist.h" #include "acl/RegexData.h" #include "acl/DomainData.h" #include "HttpRequest.h" #include "ipcache.h" +#include "protos.h" DestinationDomainLookup DestinationDomainLookup::instance_; === modified file 'src/acl/DestinationIp.cc' --- src/acl/DestinationIp.cc 2012-07-02 12:28:10 +0000 +++ src/acl/DestinationIp.cc 2012-08-14 11:53:07 +0000 @@ -33,12 +33,12 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/DestinationIp.h" #include "acl/FilledChecklist.h" +#include "client_side.h" #include "comm/Connection.h" #include "HttpRequest.h" -// for Config.* #include "structs.h" char const * === modified file 'src/acl/DomainData.cc' --- src/acl/DomainData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/DomainData.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/DomainData.h" #include "acl/Checklist.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" template === modified file 'src/acl/Eui64.cc' --- src/acl/Eui64.cc 2012-08-06 17:41:08 +0000 +++ src/acl/Eui64.cc 2012-08-14 11:53:07 +0000 @@ -32,14 +32,16 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #if USE_SQUID_EUI #include "acl/Eui64.h" #include "acl/FilledChecklist.h" +#include "Debug.h" #include "eui/Eui64.h" #include "ip/Address.h" +#include "protos.h" #include "wordlist.h" static void aclParseEuiList(SplayNode **curlist); === modified file 'src/acl/ExtUser.cc' --- src/acl/ExtUser.cc 2012-01-20 18:55:04 +0000 +++ src/acl/ExtUser.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #if USE_AUTH @@ -43,7 +43,6 @@ #include "acl/RegexData.h" #include "acl/UserData.h" #include "client_side.h" -#include "HttpRequest.h" ACLExtUser::~ACLExtUser() { === modified file 'src/acl/FilledChecklist.cc' --- src/acl/FilledChecklist.cc 2012-06-28 18:26:44 +0000 +++ src/acl/FilledChecklist.cc 2012-08-14 11:53:07 +0000 @@ -1,14 +1,15 @@ -#include "squid-old.h" +#include "squid.h" +#include "acl/FilledChecklist.h" +#include "client_side.h" +#include "comm/Connection.h" +#include "comm/forward.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" -#include "client_side.h" #if USE_AUTH #include "auth/UserRequest.h" #include "auth/AclProxyAuth.h" #endif -#include "acl/FilledChecklist.h" -#include "comm/Connection.h" -#include "comm/forward.h" + CBDATA_CLASS_INIT(ACLFilledChecklist); === modified file 'src/acl/FilledChecklist.h' --- src/acl/FilledChecklist.h 2012-08-07 15:12:08 +0000 +++ src/acl/FilledChecklist.h 2012-08-14 11:53:07 +0000 @@ -11,6 +11,7 @@ class ExternalACLEntry; class ConnStateData; +class HttpRequest; /** \ingroup ACLAPI ACLChecklist filled with specific data, representing Squid and transaction === modified file 'src/acl/Gadgets.cc' --- src/acl/Gadgets.cc 2012-08-06 17:41:08 +0000 +++ src/acl/Gadgets.cc 2012-08-14 11:53:07 +0000 @@ -38,14 +38,16 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "acl/Acl.h" #include "acl/Checklist.h" #include "acl/Strategised.h" #include "acl/Gadgets.h" #include "ConfigParser.h" #include "errorpage.h" +#include "globals.h" #include "HttpRequest.h" +#include "protos.h" /* does name lookup, returns page_id */ === modified file 'src/acl/HierCode.cc' --- src/acl/HierCode.cc 2012-01-20 18:55:04 +0000 +++ src/acl/HierCode.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "acl/HierCode.h" #include "acl/HierCodeData.h" #include "acl/Checklist.h" === modified file 'src/acl/HierCodeData.cc' --- src/acl/HierCodeData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/HierCodeData.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,8 @@ -#include "squid-old.h" +#include "squid.h" #include "acl/HierCodeData.h" #include "acl/Checklist.h" #include "hier_code.h" +#include "protos.h" #include "wordlist.h" ACLHierCodeData::ACLHierCodeData() === modified file 'src/acl/HttpHeaderData.cc' --- src/acl/HttpHeaderData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/HttpHeaderData.cc 2012-08-14 11:53:07 +0000 @@ -34,11 +34,13 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/HttpHeaderData.h" #include "acl/Checklist.h" #include "acl/Acl.h" #include "acl/RegexData.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" #include "ConfigParser.h" === modified file 'src/acl/HttpRepHeader.cc' --- src/acl/HttpRepHeader.cc 2012-01-20 18:55:04 +0000 +++ src/acl/HttpRepHeader.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/HttpRepHeader.h" #include "acl/HttpHeaderData.h" #include "acl/Checklist.h" === modified file 'src/acl/HttpReqHeader.cc' --- src/acl/HttpReqHeader.cc 2012-01-20 18:55:04 +0000 +++ src/acl/HttpReqHeader.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/HttpReqHeader.h" #include "acl/HttpHeaderData.h" #include "acl/Checklist.h" === modified file 'src/acl/HttpStatus.cc' --- src/acl/HttpStatus.cc 2012-08-06 17:41:08 +0000 +++ src/acl/HttpStatus.cc 2012-08-14 11:53:07 +0000 @@ -35,16 +35,18 @@ */ #include "squid.h" -#if _SQUID_CYGWIN_ -#include -#endif -#include "squid-old.h" #include "acl/HttpStatus.h" #include "acl/FilledChecklist.h" +#include "Debug.h" #include "HttpReply.h" +#include "protos.h" #include "wordlist.h" +#if HAVE_LIMITS_H +#include +#endif + static void aclParseHTTPStatusList(SplayNode **curlist); static int aclHTTPStatusCompare(acl_httpstatus_data * const &a, acl_httpstatus_data * const &b); static int aclMatchHTTPStatus(SplayNode **dataptr, http_status status); === modified file 'src/acl/IntRange.cc' --- src/acl/IntRange.cc 2012-08-06 17:41:08 +0000 +++ src/acl/IntRange.cc 2012-08-14 11:53:07 +0000 @@ -34,10 +34,12 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/IntRange.h" +#include "Debug.h" #include "wordlist.h" #include "Parsing.h" +#include "protos.h" /* explicit instantiation required for some systems */ /** \cond AUTODOCS-IGNORE */ === modified file 'src/acl/Ip.cc' --- src/acl/Ip.cc 2012-08-06 17:41:08 +0000 +++ src/acl/Ip.cc 2012-08-14 11:53:07 +0000 @@ -33,12 +33,13 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" -//#include "compat/getaddrinfo.h" +#include "squid.h" #include "acl/Ip.h" #include "acl/Checklist.h" +#include "Debug.h" #include "ip/tools.h" #include "MemBuf.h" +#include "protos.h" #include "wordlist.h" void * === modified file 'src/acl/LocalIp.cc' --- src/acl/LocalIp.cc 2012-01-20 18:55:04 +0000 +++ src/acl/LocalIp.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/LocalIp.h" #include "acl/FilledChecklist.h" === modified file 'src/acl/LocalPort.cc' --- src/acl/LocalPort.cc 2012-01-20 18:55:04 +0000 +++ src/acl/LocalPort.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/LocalPort.h" #include "acl/IntRange.h" #include "acl/Checklist.h" === modified file 'src/acl/MaxConnection.cc' --- src/acl/MaxConnection.cc 2012-08-06 17:41:08 +0000 +++ src/acl/MaxConnection.cc 2012-08-14 11:53:07 +0000 @@ -34,13 +34,13 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "acl/MaxConnection.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" - - ACL * ACLMaxConnection::clone() const { === modified file 'src/acl/Method.cc' --- src/acl/Method.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Method.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Method.h" #include "acl/MethodData.h" #include "acl/Checklist.h" === modified file 'src/acl/Method.h' --- src/acl/Method.h 2009-03-08 21:53:27 +0000 +++ src/acl/Method.h 2012-08-14 11:53:07 +0000 @@ -37,13 +37,14 @@ #include "acl/Strategy.h" #include "acl/Strategised.h" +#include "HttpRequestMethod.h" /// \ingroup ACLAPI class ACLMethodStrategy : public ACLStrategy { public: - virtual int match (ACLData * &, ACLFilledChecklist *); + virtual int match (ACLData * &, ACLFilledChecklist *); virtual bool requiresRequest() const {return true;} static ACLMethodStrategy *Instance(); === modified file 'src/acl/MethodData.cc' --- src/acl/MethodData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/MethodData.cc 2012-08-14 11:53:07 +0000 @@ -34,10 +34,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/MethodData.h" #include "acl/Checklist.h" #include "HttpRequestMethod.h" +#include "protos.h" #include "wordlist.h" int ACLMethodData::ThePurgeCount = 0; === modified file 'src/acl/MethodData.h' --- src/acl/MethodData.h 2009-07-27 01:41:02 +0000 +++ src/acl/MethodData.h 2012-08-14 11:53:07 +0000 @@ -38,6 +38,7 @@ #include "acl/Acl.h" #include "acl/Data.h" #include "CbDataList.h" +#include "HttpRequestMethod.h" /// \ingroup ACLAPI class ACLMethodData : public ACLData === modified file 'src/acl/MyPortName.cc' --- src/acl/MyPortName.cc 2012-04-25 05:29:20 +0000 +++ src/acl/MyPortName.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/MyPortName.h" #include "acl/StringData.h" #include "acl/Checklist.h" === modified file 'src/acl/PeerName.cc' --- src/acl/PeerName.cc 2012-08-13 07:24:50 +0000 +++ src/acl/PeerName.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "acl/PeerName.h" #include "acl/RegexData.h" #include "acl/StringData.h" === modified file 'src/acl/Protocol.cc' --- src/acl/Protocol.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Protocol.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Protocol.h" #include "acl/ProtocolData.h" #include "acl/Checklist.h" === modified file 'src/acl/ProtocolData.cc' --- src/acl/ProtocolData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/ProtocolData.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/ProtocolData.h" #include "acl/Checklist.h" +#include "Debug.h" +#include "protos.h" #include "URLScheme.h" #include "wordlist.h" === modified file 'src/acl/Random.cc' --- src/acl/Random.cc 2012-08-06 17:41:08 +0000 +++ src/acl/Random.cc 2012-08-14 11:53:07 +0000 @@ -32,10 +32,12 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "acl/Random.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" ACL * === modified file 'src/acl/Referer.cc' --- src/acl/Referer.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Referer.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Referer.h" #include "acl/Checklist.h" #include "acl/RegexData.h" === modified file 'src/acl/RegexData.cc' --- src/acl/RegexData.cc 2012-07-23 15:15:27 +0000 +++ src/acl/RegexData.cc 2012-08-14 11:53:07 +0000 @@ -36,12 +36,14 @@ * Copyright (c) 2011, Marcus Kool */ -#include "squid-old.h" +#include "squid.h" #include "acl/RegexData.h" #include "acl/Checklist.h" #include "acl/Acl.h" +#include "ConfigParser.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" -#include "ConfigParser.h" static void aclDestroyRegexList(relist * data) === modified file 'src/acl/ReplyMimeType.cc' --- src/acl/ReplyMimeType.cc 2012-01-20 18:55:04 +0000 +++ src/acl/ReplyMimeType.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/ReplyMimeType.h" #include "acl/Checklist.h" #include "acl/RegexData.h" === modified file 'src/acl/RequestMimeType.cc' --- src/acl/RequestMimeType.cc 2012-01-20 18:55:04 +0000 +++ src/acl/RequestMimeType.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/RequestMimeType.h" #include "acl/Checklist.h" #include "acl/RegexData.h" === modified file 'src/acl/SourceDomain.cc' --- src/acl/SourceDomain.cc 2012-01-20 18:55:04 +0000 +++ src/acl/SourceDomain.cc 2012-08-14 11:53:07 +0000 @@ -34,12 +34,13 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/SourceDomain.h" #include "acl/Checklist.h" #include "acl/RegexData.h" #include "acl/DomainData.h" #include "HttpRequest.h" +#include "protos.h" SourceDomainLookup SourceDomainLookup::instance_; === modified file 'src/acl/SourceIp.cc' --- src/acl/SourceIp.cc 2012-01-20 18:55:04 +0000 +++ src/acl/SourceIp.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/SourceIp.h" #include "acl/FilledChecklist.h" === modified file 'src/acl/SslError.cc' --- src/acl/SslError.cc 2012-06-19 21:51:49 +0000 +++ src/acl/SslError.cc 2012-08-14 11:53:07 +0000 @@ -3,7 +3,7 @@ * $Id$ */ -#include "squid-old.h" +#include "squid.h" #include "acl/SslError.h" #include "acl/SslErrorData.h" #include "acl/Checklist.h" === modified file 'src/acl/SslErrorData.cc' --- src/acl/SslErrorData.cc 2012-06-19 21:51:49 +0000 +++ src/acl/SslErrorData.cc 2012-08-14 11:53:07 +0000 @@ -2,9 +2,10 @@ * $Id$ */ -#include "squid-old.h" +#include "squid.h" #include "acl/SslErrorData.h" #include "acl/Checklist.h" +#include "protos.h" #include "wordlist.h" ACLSslErrorData::ACLSslErrorData() : values (NULL) === modified file 'src/acl/Strategised.cc' --- src/acl/Strategised.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Strategised.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Strategised.h" /* === modified file 'src/acl/StringData.cc' --- src/acl/StringData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/StringData.cc 2012-08-14 11:53:07 +0000 @@ -34,12 +34,12 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/StringData.h" #include "acl/Checklist.h" +#include "protos.h" #include "wordlist.h" - ACLStringData::ACLStringData() : values (NULL) {} === modified file 'src/acl/Tag.cc' --- src/acl/Tag.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Tag.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2009, Henrik Nordstrom */ -#include "squid-old.h" +#include "squid.h" #include "acl/Tag.h" #include "acl/StringData.h" #include "acl/Checklist.h" === modified file 'src/acl/Time.cc' --- src/acl/Time.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Time.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Time.h" #include "acl/TimeData.h" #include "SquidTime.h" === modified file 'src/acl/TimeData.cc' --- src/acl/TimeData.cc 2012-08-06 17:41:08 +0000 +++ src/acl/TimeData.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/TimeData.h" #include "acl/Checklist.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" ACLTimeData::ACLTimeData () : weekbits (0), start (0), stop (0), next (NULL) {} === modified file 'src/acl/Url.cc' --- src/acl/Url.cc 2012-01-20 18:55:04 +0000 +++ src/acl/Url.cc 2012-08-14 11:53:07 +0000 @@ -34,10 +34,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/Url.h" #include "acl/Checklist.h" #include "acl/RegexData.h" +#include "protos.h" #include "rfc1738.h" int === modified file 'src/acl/UrlPath.cc' --- src/acl/UrlPath.cc 2012-01-20 18:55:04 +0000 +++ src/acl/UrlPath.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/UrlPath.h" #include "acl/Checklist.h" #include "acl/RegexData.h" === modified file 'src/acl/UrlPort.cc' --- src/acl/UrlPort.cc 2012-01-20 18:55:04 +0000 +++ src/acl/UrlPort.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/UrlPort.h" #include "acl/IntRange.h" #include "acl/Checklist.h" === modified file 'src/acl/UserData.cc' --- src/acl/UserData.cc 2012-01-20 18:55:04 +0000 +++ src/acl/UserData.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,10 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/UserData.h" #include "acl/Checklist.h" +#include "Debug.h" #include "wordlist.h" #include "ConfigParser.h" === modified file 'src/adaptation/AccessCheck.cc' --- src/adaptation/AccessCheck.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/AccessCheck.cc 2012-08-14 11:53:07 +0000 @@ -1,17 +1,18 @@ -#include "squid-old.h" -#include "structs.h" - -#include "ConfigParser.h" -#include "HttpRequest.h" -#include "HttpReply.h" +#include "squid.h" #include "acl/FilledChecklist.h" +#include "adaptation/AccessCheck.h" +#include "adaptation/AccessRule.h" +#include "adaptation/Config.h" #include "adaptation/Initiator.h" #include "adaptation/Service.h" #include "adaptation/ServiceGroups.h" -#include "adaptation/AccessRule.h" -#include "adaptation/Config.h" -#include "adaptation/AccessCheck.h" +#include "base/AsyncJobCalls.h" #include "base/TextException.h" +#include "ConfigParser.h" +#include "globals.h" +#include "HttpReply.h" +#include "HttpRequest.h" +#include "structs.h" /** \cond AUTODOCS-IGNORE */ cbdata_type Adaptation::AccessCheck::CBDATA_AccessCheck = CBDATA_UNKNOWN; === modified file 'src/adaptation/AccessRule.cc' --- src/adaptation/AccessRule.cc 2012-08-06 17:41:08 +0000 +++ src/adaptation/AccessRule.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "structs.h" #include "ConfigParser.h" @@ -6,7 +6,7 @@ #include "adaptation/AccessRule.h" #include "adaptation/Service.h" #include "adaptation/ServiceGroups.h" - +#include "Debug.h" int Adaptation::AccessRule::LastId = 0; === modified file 'src/adaptation/Config.cc' --- src/adaptation/Config.cc 2012-08-06 17:41:08 +0000 +++ src/adaptation/Config.cc 2012-08-14 11:53:07 +0000 @@ -30,21 +30,21 @@ * */ -#include "squid-old.h" -#include "structs.h" - -#include "ConfigParser.h" +#include "squid.h" +#include "acl/FilledChecklist.h" #include "acl/Gadgets.h" -#include "Store.h" -#include "Array.h" // really Vector -#include "acl/FilledChecklist.h" +#include "adaptation/AccessRule.h" #include "adaptation/Config.h" +#include "adaptation/History.h" #include "adaptation/Service.h" -#include "adaptation/AccessRule.h" #include "adaptation/ServiceGroups.h" -#include "adaptation/History.h" +#include "Array.h" +#include "ConfigParser.h" +#include "globals.h" +#include "HttpReply.h" #include "HttpRequest.h" - +#include "Store.h" +#include "structs.h" bool Adaptation::Config::Enabled = false; char *Adaptation::Config::masterx_shared_name = NULL; === modified file 'src/adaptation/Config.h' --- src/adaptation/Config.h 2011-10-29 02:01:54 +0000 +++ src/adaptation/Config.h 2012-08-14 11:53:07 +0000 @@ -6,9 +6,12 @@ #include "base/AsyncCall.h" #include "adaptation/forward.h" #include "adaptation/Elements.h" +#include "SquidString.h" class acl_access; class ConfigParser; +class HttpRequest; +class HttpReply; namespace Adaptation { === modified file 'src/adaptation/Elements.cc' --- src/adaptation/Elements.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/Elements.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "adaptation/Elements.h" const char *Adaptation::crlf = "\r\n"; === modified file 'src/adaptation/History.cc' --- src/adaptation/History.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/History.cc 2012-08-14 11:53:07 +0000 @@ -3,6 +3,7 @@ #include "adaptation/History.h" #include "base/TextException.h" #include "globals.h" +#include "protos.h" #include "SquidTime.h" /// impossible services value to identify unset theNextServices === modified file 'src/adaptation/Initiate.cc' --- src/adaptation/Initiate.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/Initiate.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" #include "HttpMsg.h" #include "adaptation/Answer.h" #include "adaptation/Initiator.h" === modified file 'src/adaptation/Initiator.cc' --- src/adaptation/Initiator.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/Initiator.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" #include "adaptation/Initiate.h" #include "adaptation/Initiator.h" #include "base/AsyncJobCalls.h" === modified file 'src/adaptation/Iterator.cc' --- src/adaptation/Iterator.cc 2012-04-20 17:14:56 +0000 +++ src/adaptation/Iterator.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 Adaptation */ -#include "squid-old.h" +#include "squid.h" #include "adaptation/Answer.h" #include "adaptation/Config.h" #include "adaptation/Iterator.h" === modified file 'src/adaptation/Message.cc' --- src/adaptation/Message.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/Message.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 Adaptation */ -#include "squid-old.h" +#include "squid.h" #include "adaptation/Message.h" #include "base/TextException.h" #include "HttpMsg.h" === modified file 'src/adaptation/Service.cc' --- src/adaptation/Service.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/Service.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 Adaptation */ -#include "squid-old.h" +#include "squid.h" #include "HttpRequest.h" #include "adaptation/ServiceFilter.h" #include "adaptation/Service.h" === modified file 'src/adaptation/ServiceConfig.cc' --- src/adaptation/ServiceConfig.cc 2012-08-06 17:41:08 +0000 +++ src/adaptation/ServiceConfig.cc 2012-08-14 11:53:07 +0000 @@ -2,9 +2,11 @@ * DEBUG: section 93 Adaptation */ -#include "squid-old.h" +#include "squid.h" +#include "adaptation/ServiceConfig.h" #include "ConfigParser.h" -#include "adaptation/ServiceConfig.h" +#include "Debug.h" +#include "globals.h" #include "ip/tools.h" #include === modified file 'src/adaptation/ServiceFilter.cc' --- src/adaptation/ServiceFilter.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/ServiceFilter.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "HttpRequest.h" #include "HttpReply.h" #include "adaptation/ServiceFilter.h" === modified file 'src/adaptation/ServiceGroups.cc' --- src/adaptation/ServiceGroups.cc 2012-08-06 17:41:08 +0000 +++ src/adaptation/ServiceGroups.cc 2012-08-14 11:53:07 +0000 @@ -1,12 +1,14 @@ -#include "squid-old.h" - -#include "ConfigParser.h" +#include "squid.h" +#include "adaptation/AccessRule.h" #include "adaptation/Config.h" -#include "adaptation/AccessRule.h" #include "adaptation/DynamicGroupCfg.h" #include "adaptation/Service.h" #include "adaptation/ServiceFilter.h" #include "adaptation/ServiceGroups.h" +#include "ConfigParser.h" +#include "Debug.h" +#include "protos.h" +#include "wordlist.h" Adaptation::ServiceGroup::ServiceGroup(const String &aKind, bool allSame): === modified file 'src/adaptation/ecap/Config.cc' --- src/adaptation/ecap/Config.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/ecap/Config.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * $Id$ * DEBUG: section 93 eCAP Interface */ -#include "squid-old.h" +#include "squid.h" #include "adaptation/ecap/Host.h" #include "adaptation/ecap/ServiceRep.h" === modified file 'src/adaptation/ecap/Host.cc' --- src/adaptation/ecap/Host.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/ecap/Host.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,7 @@ /* * DEBUG: section 93 eCAP Interface */ -#include "squid-old.h" +#include "squid.h" #include #include #include === modified file 'src/adaptation/ecap/MessageRep.cc' --- src/adaptation/ecap/MessageRep.cc 2012-06-11 06:03:50 +0000 +++ src/adaptation/ecap/MessageRep.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,7 @@ /* * DEBUG: section 93 eCAP Interface */ -#include "squid-old.h" +#include "squid.h" #include "HttpRequest.h" #include "HttpReply.h" #include "BodyPipe.h" === modified file 'src/adaptation/ecap/ServiceRep.cc' --- src/adaptation/ecap/ServiceRep.cc 2012-08-06 17:21:57 +0000 +++ src/adaptation/ecap/ServiceRep.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,7 @@ /* * DEBUG: section 93 eCAP Interface */ -#include "squid-old.h" +#include "squid.h" #include #include #include === modified file 'src/adaptation/ecap/XactionRep.cc' --- src/adaptation/ecap/XactionRep.cc 2012-05-31 00:20:44 +0000 +++ src/adaptation/ecap/XactionRep.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,7 @@ /* * DEBUG: section 93 eCAP Interface */ -#include "squid-old.h" +#include "squid.h" #include #include #include === modified file 'src/adaptation/icap/Client.cc' --- src/adaptation/icap/Client.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/icap/Client.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,5 @@ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "adaptation/icap/Client.h" void Adaptation::Icap::InitModule() === modified file 'src/adaptation/icap/Config.cc' --- src/adaptation/icap/Config.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/icap/Config.cc 2012-08-14 11:53:07 +0000 @@ -32,11 +32,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "ConfigParser.h" #include "Store.h" -#include "Array.h" // really Vector +#include "Array.h" #include "adaptation/icap/Config.h" #include "adaptation/icap/ServiceRep.h" #include "HttpRequest.h" === modified file 'src/adaptation/icap/Elements.cc' --- src/adaptation/icap/Elements.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/icap/Elements.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "adaptation/icap/Elements.h" // TODO: remove this file? === modified file 'src/adaptation/icap/History.cc' --- src/adaptation/icap/History.cc 2012-08-06 17:21:57 +0000 +++ src/adaptation/icap/History.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ -#include "squid-old.h" +#include "squid.h" #include "adaptation/icap/History.h" +#include "Debug.h" #include "globals.h" #include "SquidTime.h" === modified file 'src/adaptation/icap/History.h' --- src/adaptation/icap/History.h 2011-02-18 19:39:05 +0000 +++ src/adaptation/icap/History.h 2012-08-14 11:53:07 +0000 @@ -1,8 +1,9 @@ #ifndef SQUID_ICAPHISTORY_H #define SQUID_ICAPHISTORY_H +#include "enums.h" #include "RefCount.h" -#include "enums.h" +#include "SquidString.h" namespace Adaptation { === modified file 'src/adaptation/icap/Launcher.cc' --- src/adaptation/icap/Launcher.cc 2012-04-20 17:14:56 +0000 +++ src/adaptation/icap/Launcher.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "adaptation/Answer.h" #include "adaptation/icap/Launcher.h" @@ -10,6 +10,7 @@ #include "adaptation/icap/ServiceRep.h" #include "adaptation/icap/Config.h" #include "base/TextException.h" +#include "globals.h" #include "HttpMsg.h" #include "HttpRequest.h" #include "HttpReply.h" === modified file 'src/adaptation/icap/ModXact.cc' --- src/adaptation/icap/ModXact.cc 2012-07-19 00:12:22 +0000 +++ src/adaptation/icap/ModXact.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" #include "AccessLogEntry.h" #include "adaptation/Answer.h" #include "adaptation/History.h" @@ -19,11 +19,12 @@ #include "ChunkedCodingParser.h" #include "comm.h" #include "comm/Connection.h" +#include "err_detail_type.h" #include "HttpMsg.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" +#include "protos.h" #include "SquidTime.h" -#include "err_detail_type.h" // flow and terminology: // HTTP| --> receive --> encode --> write --> |network === modified file 'src/adaptation/icap/OptXact.cc' --- src/adaptation/icap/OptXact.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/icap/OptXact.cc 2012-08-14 11:53:07 +0000 @@ -2,17 +2,17 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" -#include "comm.h" -#include "HttpReply.h" - +#include "squid.h" #include "adaptation/Answer.h" +#include "adaptation/icap/Config.h" +#include "adaptation/icap/Options.h" #include "adaptation/icap/OptXact.h" -#include "adaptation/icap/Options.h" -#include "adaptation/icap/Config.h" #include "base/TextException.h" +#include "comm.h" +#include "HttpReply.h" +#include "HttpRequest.h" +#include "protos.h" #include "SquidTime.h" -#include "HttpRequest.h" CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, OptXact); CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, OptXactLauncher); === modified file 'src/adaptation/icap/Options.cc' --- src/adaptation/icap/Options.cc 2012-01-20 18:55:04 +0000 +++ src/adaptation/icap/Options.cc 2012-08-14 11:53:07 +0000 @@ -1,8 +1,9 @@ -#include "squid-old.h" +#include "squid.h" #include "adaptation/icap/Config.h" #include "adaptation/icap/Options.h" #include "base/TextException.h" #include "HttpReply.h" +#include "protos.h" #include "SquidTime.h" #include "wordlist.h" === modified file 'src/adaptation/icap/Options.h' --- src/adaptation/icap/Options.h 2012-01-20 18:55:04 +0000 +++ src/adaptation/icap/Options.h 2012-08-14 11:53:07 +0000 @@ -34,9 +34,9 @@ #ifndef SQUID_ICAPOPTIONS_H #define SQUID_ICAPOPTIONS_H -#include "squid-old.h" #include "adaptation/icap/ServiceRep.h" +class HttpHeader; class wordlist; namespace Adaptation === modified file 'src/adaptation/icap/ServiceRep.cc' --- src/adaptation/icap/ServiceRep.cc 2012-08-06 17:21:57 +0000 +++ src/adaptation/icap/ServiceRep.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" #include "adaptation/Answer.h" #include "adaptation/icap/Config.h" #include "adaptation/icap/ModXact.h" @@ -12,10 +12,12 @@ #include "base/TextException.h" #include "comm/Connection.h" #include "ConfigParser.h" +#include "Debug.h" +#include "fde.h" +#include "HttpReply.h" #include "ip/tools.h" -#include "HttpReply.h" +#include "protos.h" #include "SquidTime.h" -#include "fde.h" CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, ServiceRep); === modified file 'src/adaptation/icap/Xaction.cc' --- src/adaptation/icap/Xaction.cc 2012-07-17 14:11:24 +0000 +++ src/adaptation/icap/Xaction.cc 2012-08-14 11:53:07 +0000 @@ -2,26 +2,28 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" +#include "acl/FilledChecklist.h" +#include "adaptation/icap/Config.h" +#include "adaptation/icap/Launcher.h" +#include "adaptation/icap/Xaction.h" +#include "base/TextException.h" #include "comm.h" #include "comm/Connection.h" #include "comm/ConnOpener.h" #include "comm/Write.h" #include "CommCalls.h" +#include "err_detail_type.h" +#include "fde.h" +#include "globals.h" #include "HttpMsg.h" -#include "adaptation/icap/Xaction.h" -#include "adaptation/icap/Launcher.h" -#include "adaptation/icap/Config.h" -#include "base/TextException.h" -#include "pconn.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" +#include "icap_log.h" #include "ipcache.h" -#include "acl/FilledChecklist.h" -#include "icap_log.h" -#include "fde.h" +#include "pconn.h" +#include "protos.h" #include "SquidTime.h" -#include "err_detail_type.h" //CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, Xaction); === modified file 'src/adaptation/icap/icap_log.cc' --- src/adaptation/icap/icap_log.cc 2012-07-17 14:11:24 +0000 +++ src/adaptation/icap/icap_log.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "icap_log.h" #include "AccessLogEntry.h" #include "log/File.h" === modified file 'src/adaptation/icap/icap_log.h' --- src/adaptation/icap/icap_log.h 2012-07-17 14:11:24 +0000 +++ src/adaptation/icap/icap_log.h 2012-08-14 11:53:07 +0000 @@ -1,6 +1,7 @@ #ifndef ICAP_LOG_H_ #define ICAP_LOG_H_ +#include "AccessLogEntry.h" #include "RefCount.h" typedef RefCount AccessLogEntryPointer; === modified file 'src/auth/Acl.cc' --- src/auth/Acl.cc 2012-06-19 16:08:52 +0000 +++ src/auth/Acl.cc 2012-08-14 11:53:07 +0000 @@ -1,9 +1,10 @@ -#include "squid-old.h" +#include "squid.h" #include "acl/Acl.h" #include "acl/FilledChecklist.h" #include "auth/UserRequest.h" #include "auth/Acl.h" #include "auth/AclProxyAuth.h" +#include "client_side.h" #include "HttpRequest.h" /** === modified file 'src/auth/AclMaxUserIp.cc' --- src/auth/AclMaxUserIp.cc 2012-08-06 17:21:57 +0000 +++ src/auth/AclMaxUserIp.cc 2012-08-14 11:53:07 +0000 @@ -1,44 +1,15 @@ /* - * $Id$ - * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels - * - * SQUID Web Proxy Cache http://www.squid-cache.org/ - * ---------------------------------------------------------- - * - * Squid is the result of efforts by numerous individuals from - * the Internet community; see the CONTRIBUTORS file for full - * details. Many organizations have provided support for Squid's - * development; see the SPONSORS file for full details. Squid is - * Copyrighted (C) 2001 by the Regents of the University of - * California; see the COPYRIGHT file for full details. Squid - * incorporates software developed and/or copyrighted by other - * sources; see the CREDITS file for full details. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. - * - * - * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "auth/Acl.h" #include "auth/AclMaxUserIp.h" #include "auth/UserRequest.h" +#include "Debug.h" +#include "protos.h" #include "wordlist.h" #include "ConfigParser.h" === modified file 'src/auth/AclMaxUserIp.h' --- src/auth/AclMaxUserIp.h 2011-12-30 01:24:57 +0000 +++ src/auth/AclMaxUserIp.h 2012-08-14 11:53:07 +0000 @@ -1,6 +1,4 @@ /* - * $Id$ - * * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- === modified file 'src/auth/AclProxyAuth.cc' --- src/auth/AclProxyAuth.cc 2012-08-06 17:41:08 +0000 +++ src/auth/AclProxyAuth.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,4 @@ /* - * $Id$ - * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels * @@ -34,7 +32,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "auth/AclProxyAuth.h" #include "auth/Gadgets.h" #include "acl/FilledChecklist.h" === modified file 'src/auth/AclProxyAuth.h' --- src/auth/AclProxyAuth.h 2012-07-18 16:21:47 +0000 +++ src/auth/AclProxyAuth.h 2012-08-14 11:53:07 +0000 @@ -1,7 +1,4 @@ /* - * $Id$ - * - * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * === modified file 'src/auth/Config.cc' --- src/auth/Config.cc 2012-01-20 18:55:04 +0000 +++ src/auth/Config.cc 2012-08-14 11:53:07 +0000 @@ -32,9 +32,11 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "auth/Config.h" #include "auth/UserRequest.h" +#include "Debug.h" +#include "globals.h" Auth::ConfigVector Auth::TheConfig; === modified file 'src/auth/Gadgets.cc' --- src/auth/Gadgets.cc 2012-01-20 18:55:04 +0000 +++ src/auth/Gadgets.cc 2012-08-14 11:53:07 +0000 @@ -36,7 +36,7 @@ * They DO NOT perform access control or auditing. * See acl.c for access control and client_side.c for auditing */ -#include "squid-old.h" +#include "squid.h" #include "acl/Acl.h" #include "acl/FilledChecklist.h" #include "client_side.h" @@ -46,6 +46,7 @@ #include "auth/User.h" #include "auth/UserRequest.h" #include "auth/AclProxyAuth.h" +#include "globals.h" #include "HttpReply.h" #include "HttpRequest.h" === modified file 'src/auth/Scheme.cc' --- src/auth/Scheme.cc 2012-01-20 18:55:04 +0000 +++ src/auth/Scheme.cc 2012-08-14 11:53:07 +0000 @@ -33,10 +33,11 @@ * Copyright (c) 2004, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "auth/Scheme.h" #include "auth/Gadgets.h" #include "auth/Config.h" +#include "globals.h" Vector *Auth::Scheme::_Schemes = NULL; === modified file 'src/auth/User.cc' --- src/auth/User.cc 2012-07-10 15:44:23 +0000 +++ src/auth/User.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "auth/User.h" #include "auth/UserRequest.h" #include "auth/Config.h" @@ -41,6 +41,7 @@ #include "acl/Acl.h" #include "acl/Gadgets.h" #include "event.h" +#include "globals.h" #include "SquidTime.h" #include "Store.h" === modified file 'src/auth/UserRequest.cc' --- src/auth/UserRequest.cc 2012-06-19 23:16:13 +0000 +++ src/auth/UserRequest.cc 2012-08-14 11:53:07 +0000 @@ -39,11 +39,12 @@ * They DO NOT perform access control or auditing. * See acl.c for access control and client_side.c for auditing */ -#include "squid-old.h" +#include "squid.h" #include "auth/Config.h" #include "auth/Scheme.h" #include "auth/UserRequest.h" #include "auth/User.h" +#include "client_side.h" #include "comm/Connection.h" #include "HttpReply.h" #include "HttpRequest.h" === modified file 'src/auth/basic/Scheme.cc' --- src/auth/basic/Scheme.cc 2012-01-20 18:55:04 +0000 +++ src/auth/basic/Scheme.cc 2012-08-14 11:53:07 +0000 @@ -32,6 +32,7 @@ #include "squid.h" #include "auth/basic/Scheme.h" +#include "Debug.h" #include "helper.h" /* for Auth::Config */ === modified file 'src/auth/basic/User.cc' --- src/auth/basic/User.cc 2012-01-20 18:55:04 +0000 +++ src/auth/basic/User.cc 2012-08-14 11:53:07 +0000 @@ -3,6 +3,7 @@ #include "auth/basic/User.h" #include "Debug.h" #include "SquidTime.h" +#include "structs.h" Auth::Basic::User::User(Auth::Config *aConfig) : Auth::User(aConfig), === modified file 'src/auth/basic/UserRequest.cc' --- src/auth/basic/UserRequest.cc 2012-07-23 15:15:27 +0000 +++ src/auth/basic/UserRequest.cc 2012-08-14 11:53:07 +0000 @@ -4,6 +4,7 @@ #include "auth/basic/UserRequest.h" #include "auth/State.h" #include "charset.h" +#include "Debug.h" #include "rfc1738.h" #include "SquidTime.h" === modified file 'src/auth/basic/auth_basic.cc' --- src/auth/basic/auth_basic.cc 2012-07-02 12:28:10 +0000 +++ src/auth/basic/auth_basic.cc 2012-08-14 11:53:07 +0000 @@ -37,7 +37,7 @@ * See acl.c for access control and client_side.c for auditing */ -#include "squid-old.h" +#include "squid.h" #include "auth/basic/auth_basic.h" #include "auth/basic/Scheme.h" #include "auth/basic/User.h" @@ -48,6 +48,7 @@ #include "mgr/Registration.h" #include "Store.h" #include "HttpReply.h" +#include "protos.h" #include "rfc1738.h" #include "uudecode.h" #include "wordlist.h" === modified file 'src/auth/digest/Scheme.cc' --- src/auth/digest/Scheme.cc 2012-01-20 18:55:04 +0000 +++ src/auth/digest/Scheme.cc 2012-08-14 11:53:07 +0000 @@ -32,6 +32,8 @@ #include "squid.h" #include "auth/digest/Scheme.h" +#include "Debug.h" +#include "globals.h" #include "helper.h" Auth::Scheme::Pointer Auth::Digest::Scheme::_instance = NULL; === modified file 'src/auth/digest/User.cc' --- src/auth/digest/User.cc 2012-01-20 18:55:04 +0000 +++ src/auth/digest/User.cc 2012-08-14 11:53:07 +0000 @@ -4,6 +4,7 @@ #include "Debug.h" #include "dlink.h" #include "SquidTime.h" +#include "structs.h" Auth::Digest::User::User(Auth::Config *aConfig) : Auth::User(aConfig), === modified file 'src/auth/digest/UserRequest.cc' --- src/auth/digest/UserRequest.cc 2012-07-23 15:15:27 +0000 +++ src/auth/digest/UserRequest.cc 2012-08-14 11:53:07 +0000 @@ -6,6 +6,7 @@ #include "charset.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "protos.h" #include "SquidTime.h" Auth::Digest::UserRequest::UserRequest() : === modified file 'src/auth/digest/auth_digest.cc' --- src/auth/digest/auth_digest.cc 2012-08-06 17:41:08 +0000 +++ src/auth/digest/auth_digest.cc 2012-08-14 11:53:07 +0000 @@ -37,7 +37,7 @@ * See acl.c for access control and client_side.c for auditing */ -#include "squid-old.h" +#include "squid.h" #include "rfc2617.h" #include "auth/digest/auth_digest.h" #include "auth/digest/Scheme.h" @@ -52,6 +52,7 @@ #include "Store.h" #include "HttpRequest.h" #include "HttpReply.h" +#include "protos.h" #include "wordlist.h" #include "SquidTime.h" === modified file 'src/auth/negotiate/Scheme.cc' --- src/auth/negotiate/Scheme.cc 2012-01-20 18:55:04 +0000 +++ src/auth/negotiate/Scheme.cc 2012-08-14 11:53:07 +0000 @@ -32,6 +32,7 @@ #include "squid.h" #include "auth/negotiate/Scheme.h" +#include "Debug.h" #include "helper.h" Auth::Scheme::Pointer Auth::Negotiate::Scheme::_instance = NULL; === modified file 'src/auth/negotiate/UserRequest.cc' --- src/auth/negotiate/UserRequest.cc 2012-08-06 17:21:57 +0000 +++ src/auth/negotiate/UserRequest.cc 2012-08-14 11:53:07 +0000 @@ -3,9 +3,12 @@ #include "auth/negotiate/UserRequest.h" #include "auth/State.h" #include "auth/User.h" +#include "client_side.h" +#include "globals.h" #include "helper.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "protos.h" #include "SquidTime.h" Auth::Negotiate::UserRequest::UserRequest() === modified file 'src/auth/negotiate/auth_negotiate.cc' --- src/auth/negotiate/auth_negotiate.cc 2012-01-20 18:55:04 +0000 +++ src/auth/negotiate/auth_negotiate.cc 2012-08-14 11:53:07 +0000 @@ -37,7 +37,7 @@ * See acl.c for access control and client_side.c for auditing */ -#include "squid-old.h" +#include "squid.h" #include "auth/negotiate/auth_negotiate.h" #include "auth/Gadgets.h" #include "auth/State.h" @@ -46,6 +46,7 @@ #include "client_side.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "protos.h" #include "SquidTime.h" #include "auth/negotiate/Scheme.h" #include "auth/negotiate/User.h" === modified file 'src/auth/ntlm/Scheme.cc' --- src/auth/ntlm/Scheme.cc 2012-01-20 18:55:04 +0000 +++ src/auth/ntlm/Scheme.cc 2012-08-14 11:53:07 +0000 @@ -33,6 +33,7 @@ #include "squid.h" #include "auth/ntlm/auth_ntlm.h" #include "auth/ntlm/Scheme.h" +#include "Debug.h" #include "helper.h" Auth::Scheme::Pointer Auth::Ntlm::Scheme::_instance = NULL; === modified file 'src/auth/ntlm/UserRequest.cc' --- src/auth/ntlm/UserRequest.cc 2012-08-06 17:21:57 +0000 +++ src/auth/ntlm/UserRequest.cc 2012-08-14 11:53:07 +0000 @@ -3,6 +3,8 @@ #include "auth/ntlm/UserRequest.h" #include "auth/State.h" #include "cbdata.h" +#include "client_side.h" +#include "globals.h" #include "HttpRequest.h" #include "SquidTime.h" === modified file 'src/auth/ntlm/auth_ntlm.cc' --- src/auth/ntlm/auth_ntlm.cc 2012-01-20 18:55:04 +0000 +++ src/auth/ntlm/auth_ntlm.cc 2012-08-14 11:53:07 +0000 @@ -37,7 +37,7 @@ * See acl.c for access control and client_side.c for auditing */ -#include "squid-old.h" +#include "squid.h" #include "auth/Gadgets.h" #include "auth/ntlm/auth_ntlm.h" #include "auth/ntlm/Scheme.h" @@ -49,6 +49,7 @@ #include "client_side.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "protos.h" #include "wordlist.h" #include "SquidTime.h" === modified file 'src/base/AsyncCall.cc' --- src/base/AsyncCall.cc 2012-07-10 20:37:04 +0000 +++ src/base/AsyncCall.cc 2012-08-14 11:53:07 +0000 @@ -2,11 +2,11 @@ * $Id$ */ -#include "squid-old.h" +#include "squid.h" #include "base/AsyncCall.h" #include "base/AsyncCallQueue.h" #include "cbdata.h" - +#include "Debug.h" #include InstanceIdDefinitions(AsyncCall, "call"); === modified file 'src/base/AsyncCallQueue.cc' --- src/base/AsyncCallQueue.cc 2012-01-20 18:55:04 +0000 +++ src/base/AsyncCallQueue.cc 2012-08-14 11:53:07 +0000 @@ -9,6 +9,7 @@ #include "squid.h" #include "base/AsyncCallQueue.h" #include "base/AsyncCall.h" +#include "Debug.h" AsyncCallQueue *AsyncCallQueue::TheInstance = 0; === modified file 'src/base/AsyncCallQueue.h' --- src/base/AsyncCallQueue.h 2012-01-20 18:55:04 +0000 +++ src/base/AsyncCallQueue.h 2012-08-14 11:53:07 +0000 @@ -1,13 +1,6 @@ - -/* - * $Id$ - * - */ - #ifndef SQUID_ASYNCCALLQUEUE_H #define SQUID_ASYNCCALLQUEUE_H -#include "squid-old.h" #include "base/AsyncCall.h" //class AsyncCall; === modified file 'src/base/AsyncJob.cc' --- src/base/AsyncJob.cc 2012-01-20 18:55:04 +0000 +++ src/base/AsyncJob.cc 2012-08-14 11:53:07 +0000 @@ -2,7 +2,7 @@ * DEBUG: section 93 ICAP (RFC 3507) Client */ -#include "squid-old.h" +#include "squid.h" #include "base/AsyncCall.h" #include "base/AsyncJob.h" #include "base/AsyncJobCalls.h" === modified file 'src/base/AsyncJobCalls.h' --- src/base/AsyncJobCalls.h 2010-10-28 18:52:59 +0000 +++ src/base/AsyncJobCalls.h 2012-08-14 11:53:07 +0000 @@ -8,6 +8,7 @@ #include "base/AsyncJob.h" #include "base/CbcPointer.h" +#include "Debug.h" /** \ingroup AsyncJobAPI === modified file 'src/base/TextException.cc' --- src/base/TextException.cc 2012-07-23 15:15:27 +0000 +++ src/base/TextException.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "base/TextException.h" #include "Debug.h" #include "util.h" === modified file 'src/cache_cf.cc' --- src/cache_cf.cc 2012-08-06 17:41:08 +0000 +++ src/cache_cf.cc 2012-08-14 11:53:07 +0000 @@ -32,56 +32,61 @@ * */ -#include "squid-old.h" - +#include "squid.h" #include "acl/Acl.h" #include "acl/Gadgets.h" #include "acl/MethodData.h" -#if USE_ADAPTATION -#include "adaptation/Config.h" -#endif -#if ICAP_CLIENT -#include "adaptation/icap/Config.h" -#endif -#if USE_ECAP -#include "adaptation/ecap/Config.h" -#endif #include "anyp/PortCfg.h" -#if USE_SSL -#include "ssl/support.h" -#include "ssl/Config.h" -#endif -#if USE_AUTH -#include "auth/Config.h" -#include "auth/Scheme.h" -#endif #include "base/RunnersRegistry.h" #include "ConfigParser.h" #include "CpuAffinityMap.h" #include "DiskIO/DiskIOModule.h" #include "eui/Config.h" -#if USE_SQUID_ESI -#include "esi/Parser.h" -#endif #include "format/Format.h" +#include "globals.h" #include "HttpRequestMethod.h" #include "ident/Config.h" #include "ip/Intercept.h" #include "ip/QosConfig.h" #include "ip/tools.h" +#include "ipc/Kids.h" #include "log/Config.h" #include "MemBuf.h" #include "mgr/Registration.h" #include "Parsing.h" +#include "protos.h" #include "rfc1738.h" -#if SQUID_SNMP -#include "snmp.h" -#endif #include "Store.h" #include "StoreFileSystem.h" +#include "structs.h" #include "SwapDir.h" #include "wordlist.h" -#include "ipc/Kids.h" +#if USE_ADAPTATION +#include "adaptation/Config.h" +#endif +#if ICAP_CLIENT +#include "adaptation/icap/Config.h" +#endif +#if USE_ECAP +#include "adaptation/ecap/Config.h" +#endif +#if USE_SSL +#include "ssl/support.h" +#include "ssl/Config.h" +#endif +#if USE_AUTH +#include "auth/Config.h" +#include "auth/Scheme.h" +#endif +#if USE_SQUID_ESI +#include "esi/Parser.h" +#endif +#if SQUID_SNMP +#include "snmp.h" +#endif + + + #if HAVE_GLOB_H #include @@ -94,6 +99,18 @@ #if HAVE_LIST #include #endif +#if HAVE_SYS_TYPES_H +#include +#endif +#if HAVE_PWD_H +#include +#endif +#if HAVE_GRP_H +#include +#endif +#if HAVE_SYS_STAT_H +#include +#endif #if USE_SSL #include "ssl/gadgets.h" === modified file 'src/cache_diff.cc' --- src/cache_diff.cc 2012-07-20 15:31:04 +0000 +++ src/cache_diff.cc 2012-08-14 11:53:07 +0000 @@ -38,7 +38,7 @@ * Reports the percentage of common files and other stats */ -#include "squid-old.h" +#include "squid.h" typedef struct { const char *name; === modified file 'src/carp.cc' --- src/carp.cc 2012-07-23 15:34:12 +0000 +++ src/carp.cc 2012-08-14 11:53:07 +0000 @@ -34,12 +34,17 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "HttpRequest.h" #include "mgr/Registration.h" +#include "protos.h" #include "Store.h" #include "URLScheme.h" +#if HAVE_MATH_H +#include +#endif + #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) static int n_carp_peers = 0; === modified file 'src/cbdata.cc' --- src/cbdata.cc 2012-07-23 07:02:06 +0000 +++ src/cbdata.cc 2012-08-14 11:53:07 +0000 @@ -57,6 +57,10 @@ #endif #include "Generic.h" +#if HAVE_LIMITS_H +#include +#endif + #if WITH_VALGRIND #define HASHED_CBDATA 1 #endif === modified file 'src/cbdata.h' --- src/cbdata.h 2012-01-20 18:55:04 +0000 +++ src/cbdata.h 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ #ifndef SQUID_CBDATA_H #define SQUID_CBDATA_H -#include "squid-old.h" +#include "typedefs.h" /** \defgroup CBDATAAPI Callback Data Allocator API === modified file 'src/clientStream.cc' --- src/clientStream.cc 2012-01-20 18:55:04 +0000 +++ src/clientStream.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "clientStream.h" #include "HttpReply.h" #include "HttpRequest.h" === modified file 'src/clientStream.h' --- src/clientStream.h 2009-01-21 03:47:47 +0000 +++ src/clientStream.h 2012-08-14 11:53:07 +0000 @@ -34,8 +34,9 @@ #ifndef SQUID_CLIENTSTREAM_H #define SQUID_CLIENTSTREAM_H +#include "dlink.h" +#include "RefCount.h" #include "StoreIOBuffer.h" -#include "RefCount.h" /** \defgroup ClientStreamAPI Client Streams API @@ -100,8 +101,8 @@ typedef RefCount ClientStreamData; class clientStreamNode; - class ClientHttpRequest; +class HttpReply; /* client stream read callback */ /// \ingroup ClientStreamAPI === modified file 'src/client_db.cc' --- src/client_db.cc 2012-08-06 17:41:08 +0000 +++ src/client_db.cc 2012-08-14 11:53:07 +0000 @@ -32,12 +32,13 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "event.h" #include "format/Token.h" #include "ClientInfo.h" #include "ip/Address.h" #include "mgr/Registration.h" +#include "protos.h" #include "SquidMath.h" #include "SquidTime.h" #include "StatCounters.h" === modified file 'src/client_side.cc' --- src/client_side.cc 2012-08-06 17:21:57 +0000 +++ src/client_side.cc 2012-08-14 11:53:07 +0000 @@ -81,30 +81,24 @@ * data flow. */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif #include "anyp/PortCfg.h" #include "base/Subscription.h" #include "base/TextException.h" #include "ChunkedCodingParser.h" -#include "client_side.h" #include "client_side_reply.h" #include "client_side_request.h" -#if USE_DELAY_POOLS -#include "ClientInfo.h" -#endif +#include "client_side.h" #include "ClientRequestContext.h" #include "clientStream.h" #include "comm.h" #include "comm/Connection.h" -#include "CommCalls.h" #include "comm/Loops.h" +#include "comm/TcpAcceptor.h" #include "comm/Write.h" -#include "comm/TcpAcceptor.h" +#include "CommCalls.h" #include "errorpage.h" #include "eui/Config.h" #include "fde.h" @@ -118,10 +112,21 @@ #include "ipc/StartListening.h" #include "MemBuf.h" #include "MemObject.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "rfc1738.h" +#include "SquidTime.h" #include "StatCounters.h" #include "StatHist.h" -#include "SquidTime.h" +#include "Store.h" +#include "TimeOrTag.h" + +#if USE_AUTH +#include "auth/UserRequest.h" +#endif +#if USE_DELAY_POOLS +#include "ClientInfo.h" +#endif #if USE_SSL #include "ssl/context_storage.h" #include "ssl/helper.h" @@ -133,9 +138,13 @@ #include "ssl/crtd_message.h" #include "ssl/certificate_db.h" #endif -#include "Store.h" -#include "TimeOrTag.h" +#if HAVE_LIMITS_H +#include +#endif +#if HAVE_MATH_H +#include +#endif #if HAVE_LIMITS #include #endif === modified file 'src/client_side.h' --- src/client_side.h 2012-08-07 15:12:08 +0000 +++ src/client_side.h 2012-08-14 11:53:07 +0000 @@ -33,17 +33,18 @@ #ifndef SQUID_CLIENTSIDE_H #define SQUID_CLIENTSIDE_H -#if USE_AUTH -#include "auth/UserRequest.h" -#endif #include "base/AsyncJob.h" #include "BodyPipe.h" #include "comm.h" #include "CommCalls.h" +#include "HttpRequest.h" #include "HttpControlMsg.h" #include "HttpParser.h" #include "RefCount.h" #include "StoreIOBuffer.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif #if USE_SSL #include "ssl/support.h" #endif === modified file 'src/client_side_reply.cc' --- src/client_side_reply.cc 2012-08-06 17:41:08 +0000 +++ src/client_side_reply.cc 2012-08-14 11:53:07 +0000 @@ -32,39 +32,37 @@ * */ #include "squid.h" - -/* for ClientActiveRequests global */ -#include "dlink.h" - -/* old includes without reasons given. */ -#include "squid-old.h" #include "acl/FilledChecklist.h" #include "acl/Gadgets.h" #include "anyp/PortCfg.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif +#include "client_side_reply.h" #include "client_side.h" -#include "client_side_reply.h" #include "clientStream.h" -#if USE_DELAY_POOLS -#include "DelayPools.h" -#endif +#include "dlink.h" #include "errorpage.h" -#if USE_SQUID_ESI -#include "esi/Esi.h" -#endif #include "fde.h" +#include "format/Token.h" #include "forward.h" -#include "format/Token.h" +#include "globals.h" +#include "globals.h" #include "HttpReply.h" #include "HttpRequest.h" #include "ip/QosConfig.h" #include "ipcache.h" #include "MemObject.h" +#include "protos.h" #include "SquidTime.h" +#include "Store.h" #include "StoreClient.h" -#include "Store.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif +#if USE_DELAY_POOLS +#include "DelayPools.h" +#endif +#if USE_SQUID_ESI +#include "esi/Esi.h" +#endif CBDATA_CLASS_INIT(clientReplyContext); === modified file 'src/client_side_request.cc' --- src/client_side_request.cc 2012-08-01 07:55:18 +0000 +++ src/client_side_request.cc 2012-08-14 11:53:07 +0000 @@ -42,42 +42,45 @@ * From that point on it's up to reply management. */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "acl/Gadgets.h" -#if USE_ADAPTATION -#include "adaptation/AccessCheck.h" -#include "adaptation/Answer.h" -#include "adaptation/Iterator.h" -#include "adaptation/Service.h" -#if ICAP_CLIENT -#include "adaptation/icap/History.h" -#endif -#endif #include "anyp/PortCfg.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif -#include "clientStream.h" +#include "ClientRequestContext.h" #include "client_side.h" #include "client_side_reply.h" #include "client_side_request.h" -#include "ClientRequestContext.h" +#include "clientStream.h" #include "comm/Connection.h" #include "comm/Write.h" #include "compat/inet_pton.h" +#include "err_detail_type.h" #include "errorpage.h" #include "fde.h" #include "format/Token.h" #include "HttpHdrCc.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "ipcache.h" #include "ip/QosConfig.h" #include "MemObject.h" +#include "profiler/Profiler.h" +#include "protos.h" +#include "SquidTime.h" #include "Store.h" -#include "SquidTime.h" #include "wordlist.h" -#include "err_detail_type.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif +#if USE_ADAPTATION +#include "adaptation/AccessCheck.h" +#include "adaptation/Answer.h" +#include "adaptation/Iterator.h" +#include "adaptation/Service.h" +#if ICAP_CLIENT +#include "adaptation/icap/History.h" +#endif +#endif #if USE_SSL #include "ssl/support.h" #include "ssl/ServerBump.h" === modified file 'src/client_side_request.h' --- src/client_side_request.h 2012-08-07 15:12:08 +0000 +++ src/client_side_request.h 2012-08-14 11:53:07 +0000 @@ -1,8 +1,4 @@ - /* - * $Id$ - * - * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * @@ -35,7 +31,6 @@ #ifndef SQUID_CLIENTSIDEREQUEST_H #define SQUID_CLIENTSIDEREQUEST_H -#include "squid-old.h" #include "HttpHeader.h" #include "clientStream.h" #include "client_side.h" === modified file 'src/comm.cc' --- src/comm.cc 2012-08-06 17:21:57 +0000 +++ src/comm.cc 2012-08-14 11:53:07 +0000 @@ -32,12 +32,11 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "base/AsyncCall.h" -#include "StoreIOBuffer.h" #include "comm.h" -#include "event.h" -#include "fde.h" +#include "ClientInfo.h" +#include "CommCalls.h" #include "comm/AcceptLimiter.h" #include "comm/comm_internal.h" #include "comm/Connection.h" @@ -46,18 +45,23 @@ #include "comm/Write.h" #include "comm/TcpAcceptor.h" #include "CommRead.h" -#include "MemBuf.h" -#include "pconn.h" -#include "SquidTime.h" -#include "CommCalls.h" +#include "compat/cmsg.h" #include "DescriptorSet.h" +#include "event.h" +#include "fde.h" +#include "globals.h" #include "icmp/net_db.h" #include "ip/Address.h" #include "ip/Intercept.h" #include "ip/QosConfig.h" #include "ip/tools.h" -#include "ClientInfo.h" +#include "MemBuf.h" +#include "pconn.h" +#include "protos.h" +#include "profiler/Profiler.h" +#include "SquidTime.h" #include "StatCounters.h" +#include "StoreIOBuffer.h" #if USE_SSL #include "ssl/support.h" #endif @@ -69,6 +73,12 @@ #ifdef HAVE_NETINET_TCP_H #include #endif +#if HAVE_SYS_UN_H +#include +#endif +#if HAVE_MATH_H +#include +#endif /* * New C-like simple comm code. This stuff is a mess and doesn't really buy us anything. === modified file 'src/comm.h' --- src/comm.h 2012-01-20 18:55:04 +0000 +++ src/comm.h 2012-08-14 11:53:07 +0000 @@ -1,12 +1,12 @@ #ifndef __COMM_H__ #define __COMM_H__ -#include "squid-old.h" #include "AsyncEngine.h" #include "base/AsyncCall.h" #include "CommCalls.h" #include "comm_err_t.h" #include "comm/IoCallback.h" +#include "ip/Address.h" #include "StoreIOBuffer.h" /* comm.c */ === modified file 'src/comm/AcceptLimiter.cc' --- src/comm/AcceptLimiter.cc 2012-07-06 10:18:43 +0000 +++ src/comm/AcceptLimiter.cc 2012-08-14 11:53:07 +0000 @@ -3,6 +3,7 @@ #include "comm/Connection.h" #include "comm/TcpAcceptor.h" #include "fde.h" +#include "globals.h" Comm::AcceptLimiter Comm::AcceptLimiter::Instance_; === modified file 'src/comm/ConnOpener.cc' --- src/comm/ConnOpener.cc 2012-07-30 08:49:59 +0000 +++ src/comm/ConnOpener.cc 2012-08-14 11:53:07 +0000 @@ -8,9 +8,11 @@ #include "comm/Loops.h" #include "comm.h" #include "fde.h" +#include "globals.h" #include "icmp/net_db.h" #include "ipcache.h" #include "SquidTime.h" +#include "protos.h" CBDATA_NAMESPACED_CLASS_INIT(Comm, ConnOpener); === modified file 'src/comm/Connection.h' --- src/comm/Connection.h 2012-08-11 02:04:03 +0000 +++ src/comm/Connection.h 2012-08-14 11:53:07 +0000 @@ -38,6 +38,7 @@ #define _SQUIDCONNECTIONDETAIL_H_ #include "comm/forward.h" +#include "defines.h" #include "hier_code.h" #include "ip/Address.h" #include "MemPool.h" === modified file 'src/comm/IoCallback.cc' --- src/comm/IoCallback.cc 2012-07-02 12:37:13 +0000 +++ src/comm/IoCallback.cc 2012-08-14 11:53:07 +0000 @@ -6,6 +6,7 @@ #include "comm/Write.h" #include "CommCalls.h" #include "fde.h" +#include "globals.h" Comm::CbEntry *Comm::iocb_table; === modified file 'src/comm/ModDevPoll.cc' --- src/comm/ModDevPoll.cc 2012-07-06 10:18:43 +0000 +++ src/comm/ModDevPoll.cc 2012-08-14 11:53:07 +0000 @@ -54,10 +54,10 @@ #if USE_DEVPOLL -#include "squid-old.h" #include "comm/Loops.h" #include "fde.h" #include "mgr/Registration.h" +#include "profiler/Profiler.h" #include "SquidTime.h" #include "StatCounters.h" #include "StatHist.h" === modified file 'src/comm/ModEpoll.cc' --- src/comm/ModEpoll.cc 2012-07-06 10:18:43 +0000 +++ src/comm/ModEpoll.cc 2012-08-14 11:53:07 +0000 @@ -55,10 +55,11 @@ #if USE_EPOLL -#include "squid-old.h" #include "comm/Loops.h" #include "fde.h" +#include "globals.h" #include "mgr/Registration.h" +#include "profiler/Profiler.h" #include "SquidTime.h" #include "StatCounters.h" #include "StatHist.h" === modified file 'src/comm/ModKqueue.cc' --- src/comm/ModKqueue.cc 2012-08-06 17:21:57 +0000 +++ src/comm/ModKqueue.cc 2012-08-14 11:53:07 +0000 @@ -55,13 +55,11 @@ #include "squid.h" #if USE_KQUEUE - -#include "squid-old.h" #include "comm/Loops.h" #include "fde.h" -#include "Store.h" #include "SquidTime.h" #include "StatCounters.h" +#include "Store.h" #if HAVE_SYS_EVENT_H #include === modified file 'src/comm/ModPoll.cc' --- src/comm/ModPoll.cc 2012-08-06 17:41:08 +0000 +++ src/comm/ModPoll.cc 2012-08-14 11:53:07 +0000 @@ -33,14 +33,15 @@ #include "squid.h" #if USE_POLL - -#include "squid-old.h" #include "anyp/PortCfg.h" #include "comm/Connection.h" #include "comm/Loops.h" #include "fde.h" +#include "globals.h" #include "ICP.h" #include "mgr/Registration.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "SquidTime.h" #include "StatCounters.h" #include "Store.h" === modified file 'src/comm/ModSelect.cc' --- src/comm/ModSelect.cc 2012-08-06 17:41:08 +0000 +++ src/comm/ModSelect.cc 2012-08-14 11:53:07 +0000 @@ -34,11 +34,11 @@ #if USE_SELECT -#include "squid-old.h" #include "anyp/PortCfg.h" #include "comm/Connection.h" #include "comm/Loops.h" #include "fde.h" +#include "globals.h" #include "ICP.h" #include "mgr/Registration.h" #include "SquidTime.h" @@ -46,6 +46,10 @@ #include "StatHist.h" #include "Store.h" +#if HAVE_SYS_STAT_H +#include +#endif + static int MAX_POLL_TIME = 1000; /* see also Comm::QuickPollRequired() */ #ifndef howmany === modified file 'src/comm/ModSelectWin32.cc' --- src/comm/ModSelectWin32.cc 2012-08-06 17:41:08 +0000 +++ src/comm/ModSelectWin32.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,6 @@ #include "squid.h" #if USE_SELECT_WIN32 - -#include "squid-old.h" #include "anyp/PortCfg.h" #include "comm/Connection.h" #include "comm/Loops.h" === modified file 'src/comm/TcpAcceptor.cc' --- src/comm/TcpAcceptor.cc 2012-08-06 17:21:57 +0000 +++ src/comm/TcpAcceptor.cc 2012-08-14 11:53:07 +0000 @@ -32,16 +32,17 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "base/TextException.h" +#include "comm/AcceptLimiter.h" #include "CommCalls.h" -#include "comm/AcceptLimiter.h" #include "comm/comm_internal.h" #include "comm/Connection.h" #include "comm/Loops.h" #include "comm/TcpAcceptor.h" #include "fde.h" #include "ip/Intercept.h" +#include "profiler/Profiler.h" #include "protos.h" #include "SquidTime.h" #include "StatCounters.h" === modified file 'src/comm/Write.cc' --- src/comm/Write.cc 2012-08-06 17:21:57 +0000 +++ src/comm/Write.cc 2012-08-14 11:53:07 +0000 @@ -6,9 +6,12 @@ #include "comm/IoCallback.h" #include "comm/Write.h" #include "fde.h" +#include "globals.h" #include "StatCounters.h" #include "SquidTime.h" #include "MemBuf.h" +#include "profiler/Profiler.h" +#include "protos.h" void Comm::Write(const Comm::ConnectionPointer &conn, MemBuf *mb, AsyncCall::Pointer &callback) === modified file 'src/comm/Write.h' --- src/comm/Write.h 2010-12-03 00:18:43 +0000 +++ src/comm/Write.h 2012-08-14 11:53:07 +0000 @@ -3,7 +3,9 @@ #include "base/AsyncCall.h" #include "comm/forward.h" +#include "typedefs.h" +class MemBuf; namespace Comm { === modified file 'src/delay_pools.cc' --- src/delay_pools.cc 2012-08-06 17:41:08 +0000 +++ src/delay_pools.cc 2012-08-14 11:53:07 +0000 @@ -42,30 +42,29 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" -#include "mgr/Registration.h" -#include "DelaySpec.h" -#include "DelayPools.h" -#include "event.h" -#include "StoreClient.h" -#include "Store.h" -#include "MemObject.h" +#include "Array.h" #include "client_side_request.h" +#include "comm/Connection.h" +#include "CommonPool.h" +#include "CompositePoolNode.h" #include "ConfigParser.h" +#include "DelayBucket.h" #include "DelayId.h" -#include "Array.h" -#include "SquidString.h" -#include "SquidTime.h" -#include "CommonPool.h" -#include "CompositePoolNode.h" #include "DelayPool.h" +#include "DelayPools.h" +#include "DelaySpec.h" +#include "DelayTagged.h" +#include "DelayUser.h" #include "DelayVector.h" +#include "event.h" +#include "ip/Address.h" +#include "MemObject.h" +#include "mgr/Registration.h" #include "NullDelayId.h" -#include "DelayBucket.h" -#include "DelayUser.h" -#include "DelayTagged.h" -#include "ip/Address.h" -#include "comm/Connection.h" +#include "SquidString.h" +#include "SquidTime.h" +#include "StoreClient.h" +#include "Store.h" /// \ingroup DelayPoolsInternal long DelayPools::MemoryUsed = 0; === modified file 'src/disk.cc' --- src/disk.cc 2012-08-06 17:21:57 +0000 +++ src/disk.cc 2012-08-14 11:53:07 +0000 @@ -32,10 +32,12 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm/Loops.h" #include "fde.h" #include "MemBuf.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "StatCounters.h" static PF diskHandleRead; === modified file 'src/dns.cc' --- src/dns.cc 2012-08-06 17:21:57 +0000 +++ src/dns.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "wordlist.h" #include "SquidTime.h" === modified file 'src/dns_internal.cc' --- src/dns_internal.cc 2012-08-06 17:41:08 +0000 +++ src/dns_internal.cc 2012-08-14 11:53:07 +0000 @@ -32,22 +32,24 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "base/InstanceId.h" #include "comm/Connection.h" #include "comm/ConnOpener.h" #include "comm.h" #include "comm/Loops.h" #include "comm/Write.h" #include "event.h" -#include "SquidTime.h" -#include "Store.h" #include "fde.h" #include "ip/tools.h" #include "MemBuf.h" #include "mgr/Registration.h" +#include "protos.h" +#include "rfc3596.h" +#include "SquidTime.h" +#include "Store.h" #include "util.h" #include "wordlist.h" -#include "base/InstanceId.h" #if HAVE_ARPA_NAMESER_H #include === modified file 'src/errorpage.cc' --- src/errorpage.cc 2012-08-06 17:41:08 +0000 +++ src/errorpage.cc 2012-08-14 11:53:07 +0000 @@ -34,6 +34,7 @@ #include "squid.h" #include "comm/Connection.h" #include "comm/Write.h" +#include "err_detail_type.h" #include "errorpage.h" #if USE_AUTH #include "auth/UserRequest.h" @@ -49,10 +50,10 @@ #include "MemObject.h" #include "fde.h" #include "MemBuf.h" +#include "protos.h" #include "rfc1738.h" #include "URLScheme.h" #include "wordlist.h" -#include "err_detail_type.h" /** \defgroup ErrorPageInternal Error Page Internals === modified file 'src/errorpage.h' --- src/errorpage.h 2012-07-18 15:19:04 +0000 +++ src/errorpage.h 2012-08-14 11:53:07 +0000 @@ -34,15 +34,16 @@ #ifndef SQUID_ERRORPAGE_H #define SQUID_ERRORPAGE_H -#include "squid-old.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif #include "cbdata.h" #include "comm/forward.h" #include "err_detail_type.h" +#include "err_type.h" #include "ip/Address.h" #include "MemBuf.h" +#include "SquidString.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif #if USE_SSL #include "ssl/ErrorDetail.h" #endif @@ -90,6 +91,7 @@ */ class HttpReply; +class HttpRequest; class MemBuf; /// \ingroup ErrorPageAPI === modified file 'src/esi/Assign.cc' --- src/esi/Assign.cc 2012-01-20 18:55:04 +0000 +++ src/esi/Assign.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the ESI code from compile process when not needed. === modified file 'src/esi/Assign.h' --- src/esi/Assign.h 2012-01-20 18:55:04 +0000 +++ src/esi/Assign.h 2012-08-14 11:53:07 +0000 @@ -36,10 +36,9 @@ #ifndef SQUID_ESIASSIGN_H #define SQUID_ESIASSIGN_H -#include "squid-old.h" #include "esi/Element.h" +#include "esi/VarState.h" #include "SquidString.h" -#include "esi/VarState.h" /* ESIVariableExpression */ /* This is a variable that is itself and expression */ === modified file 'src/esi/Attempt.h' --- src/esi/Attempt.h 2012-01-20 18:55:04 +0000 +++ src/esi/Attempt.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,6 @@ #ifndef SQUID_ESIATTEMPT_H #define SQUID_ESIATTEMPT_H -#include "squid-old.h" #include "esi/Element.h" #include "esi/Sequence.h" === modified file 'src/esi/Context.cc' --- src/esi/Context.cc 2012-01-20 18:55:04 +0000 +++ src/esi/Context.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the ESI code from compile process when not needed. === modified file 'src/esi/Context.h' --- src/esi/Context.h 2012-08-07 15:12:08 +0000 +++ src/esi/Context.h 2012-08-14 11:53:07 +0000 @@ -34,15 +34,14 @@ #ifndef SQUID_ESICONTEXT_H #define SQUID_ESICONTEXT_H +#include "esi/Parser.h" #include "esi/Element.h" #include "clientStream.h" +#include "err_type.h" class ESIVarState; - class ClientHttpRequest; -#include "esi/Parser.h" - /* ESIContext */ class ESIContext : public esiTreeParent, public ESIParserClient === modified file 'src/esi/CustomParser.cc' --- src/esi/CustomParser.cc 2012-01-20 18:55:04 +0000 +++ src/esi/CustomParser.cc 2012-08-14 11:53:07 +0000 @@ -33,11 +33,12 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Array.h" #include "esi/CustomParser.h" +#include "Debug.h" #include "Trie.h" #include "TrieCharTransform.h" -#include "Array.h" Trie *ESICustomParser::SearchTrie=NULL; === modified file 'src/esi/Element.h' --- src/esi/Element.h 2009-03-10 20:52:45 +0000 +++ src/esi/Element.h 2012-08-14 11:53:07 +0000 @@ -33,8 +33,9 @@ #ifndef SQUID_ESIELEMENT_H #define SQUID_ESIELEMENT_H +#include "Debug.h" +#include "esi/Segment.h" #include "RefCount.h" -#include "esi/Segment.h" typedef enum { ESI_PROCESS_COMPLETE = 0, === modified file 'src/esi/ElementList.h' --- src/esi/ElementList.h 2012-01-20 18:55:04 +0000 +++ src/esi/ElementList.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,6 @@ #ifndef SQUID_ELEMENTLIST_H #define SQUID_ELEMENTLIST_H -#include "squid-old.h" #include "esi/Element.h" class ElementList === modified file 'src/esi/Esi.cc' --- src/esi/Esi.cc 2012-08-06 17:41:08 +0000 +++ src/esi/Esi.cc 2012-08-14 11:53:07 +0000 @@ -31,33 +31,35 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the ESI code from compile process when not needed. */ #if (USE_SQUID_ESI == 1) -#include "esi/Esi.h" +#include "client_side_request.h" +#include "client_side.h" #include "clientStream.h" -#include "client_side_request.h" #include "comm/Connection.h" #include "errorpage.h" +#include "esi/Assign.h" +#include "esi/Attempt.h" +#include "esi/Context.h" +#include "esi/Element.h" +#include "esi/Esi.h" +#include "esi/Except.h" +#include "esi/Expression.h" #include "esi/Segment.h" -#include "esi/Element.h" -#include "esi/Context.h" +#include "esi/VarState.h" #include "HttpHdrSc.h" #include "HttpHdrScTarget.h" #include "HttpReply.h" -#include "esi/Attempt.h" -#include "esi/Except.h" -#include "client_side.h" -#include "esi/VarState.h" -#include "esi/Assign.h" -#include "esi/Expression.h" #include "HttpRequest.h" +#include "ip/Address.h" #include "MemBuf.h" -#include "ip/Address.h" +#include "profiler/Profiler.h" +#include "protos.h" /* quick reference on behaviour here. * The ESI specification 1.0 requires the ESI processor to be able to === modified file 'src/esi/Except.h' --- src/esi/Except.h 2012-01-20 18:55:04 +0000 +++ src/esi/Except.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,6 @@ #ifndef SQUID_ESIEXCEPT_H #define SQUID_ESIEXCEPT_H -#include "squid-old.h" #include "esi/Element.h" #include "esi/Sequence.h" === modified file 'src/esi/ExpatParser.cc' --- src/esi/ExpatParser.cc 2012-01-20 18:55:04 +0000 +++ src/esi/ExpatParser.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #if USE_SQUID_ESI && HAVE_LIBEXPAT === modified file 'src/esi/Expression.cc' --- src/esi/Expression.cc 2012-08-06 17:21:57 +0000 +++ src/esi/Expression.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,14 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "esi/Expression.h" +#include "profiler/Profiler.h" + +#if HAVE_MATH_H +#include +#endif /* stack precedence rules: * before pushing an operator onto the stack, the === modified file 'src/esi/Expression.h' --- src/esi/Expression.h 2012-01-20 18:55:04 +0000 +++ src/esi/Expression.h 2012-08-14 11:53:07 +0000 @@ -36,8 +36,6 @@ #ifndef SQUID_ESIEXPRESSION_H #define SQUID_ESIEXPRESSION_H -#include "squid-old.h" - class ESIExpression { === modified file 'src/esi/Include.cc' --- src/esi/Include.cc 2012-08-06 17:41:08 +0000 +++ src/esi/Include.cc 2012-08-14 11:53:07 +0000 @@ -34,17 +34,18 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the ESI code from compile process when not needed. */ #if (USE_SQUID_ESI == 1) +#include "client_side_request.h" #include "esi/Include.h" #include "esi/VarState.h" -#include "client_side_request.h" #include "HttpReply.h" +#include "protos.h" CBDATA_CLASS_INIT (ESIStreamContext); === modified file 'src/esi/Include.h' --- src/esi/Include.h 2012-01-20 18:55:04 +0000 +++ src/esi/Include.h 2012-08-14 11:53:07 +0000 @@ -36,10 +36,9 @@ #ifndef SQUID_ESIINCLUDE_H #define SQUID_ESIINCLUDE_H -#include "squid-old.h" +#include "esi/Context.h" +#include "esi/Element.h" #include "esi/Segment.h" -#include "esi/Element.h" -#include "esi/Context.h" class ESIInclude; typedef RefCount ESIIncludePtr; === modified file 'src/esi/Libxml2Parser.cc' --- src/esi/Libxml2Parser.cc 2012-07-12 09:08:16 +0000 +++ src/esi/Libxml2Parser.cc 2012-08-14 11:53:07 +0000 @@ -37,7 +37,7 @@ * mail@joachim-bauch.de */ -#include "squid-old.h" +#include "squid.h" #if USE_SQUID_ESI && HAVE_LIBXML2 === modified file 'src/esi/Literal.h' --- src/esi/Literal.h 2012-01-20 18:55:04 +0000 +++ src/esi/Literal.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,6 @@ #ifndef SQUID_ESILITERAL_H #define SQUID_ESILITERAL_H -#include "squid-old.h" #include "esi/Element.h" class ESIContext; === modified file 'src/esi/Module.cc' --- src/esi/Module.cc 2012-01-20 18:55:04 +0000 +++ src/esi/Module.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "esi/Module.h" #include "esi/CustomParser.h" #include "esi/Libxml2Parser.h" === modified file 'src/esi/Parser.cc' --- src/esi/Parser.cc 2012-01-20 18:55:04 +0000 +++ src/esi/Parser.cc 2012-08-14 11:53:07 +0000 @@ -32,8 +32,9 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "esi/Parser.h" +#include "fatal.h" char *ESIParser::Type = NULL; ESIParser::Register *ESIParser::Parsers = NULL; === modified file 'src/esi/Segment.cc' --- src/esi/Segment.cc 2012-01-20 18:55:04 +0000 +++ src/esi/Segment.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,8 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "esi/Segment.h" #include "SquidString.h" === modified file 'src/esi/Segment.h' --- src/esi/Segment.h 2009-03-10 20:52:45 +0000 +++ src/esi/Segment.h 2012-08-14 11:53:07 +0000 @@ -38,6 +38,7 @@ */ #include "cbdata.h" +#include "defines.h" #include "RefCount.h" #include "SquidString.h" === modified file 'src/esi/Sequence.cc' --- src/esi/Sequence.cc 2012-08-06 17:41:08 +0000 +++ src/esi/Sequence.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,9 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" +#include "fatal.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the ESI code from compile process when not needed. === modified file 'src/esi/Sequence.h' --- src/esi/Sequence.h 2012-01-20 18:55:04 +0000 +++ src/esi/Sequence.h 2012-08-14 11:53:07 +0000 @@ -36,9 +36,9 @@ #ifndef SQUID_ESISEQUENCE_H #define SQUID_ESISEQUENCE_H -#include "squid-old.h" #include "esi/Element.h" #include "esi/ElementList.h" +#include "MemPool.h" /* esiSequence */ === modified file 'src/esi/Var.h' --- src/esi/Var.h 2012-01-20 18:55:04 +0000 +++ src/esi/Var.h 2012-08-14 11:53:07 +0000 @@ -36,7 +36,6 @@ #ifndef SQUID_ESIVAR_H #define SQUID_ESIVAR_H -#include "squid-old.h" #include "esi/Element.h" #include "esi/Sequence.h" === modified file 'src/esi/VarState.cc' --- src/esi/VarState.cc 2012-01-20 18:55:04 +0000 +++ src/esi/VarState.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,10 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "esi/VarState.h" #include "HttpReply.h" +#include "protos.h" CBDATA_TYPE (ESIVarState); FREE ESIVarStateFree; === modified file 'src/event.cc' --- src/event.cc 2012-01-20 18:55:04 +0000 +++ src/event.cc 2012-08-14 11:53:07 +0000 @@ -38,6 +38,8 @@ #include "mgr/Registration.h" #include "Store.h" #include "SquidTime.h" +#include "profiler/Profiler.h" +#include "protos.h" /* The list of event processes */ === modified file 'src/event.h' --- src/event.h 2012-01-20 18:55:04 +0000 +++ src/event.h 2012-08-14 11:53:07 +0000 @@ -34,9 +34,10 @@ #ifndef SQUID_EVENT_H #define SQUID_EVENT_H -#include "squid-old.h" #include "Array.h" #include "AsyncEngine.h" +#include "MemPool.h" +#include "RefCount.h" /* forward decls */ === modified file 'src/external_acl.cc' --- src/external_acl.cc 2012-08-06 17:41:08 +0000 +++ src/external_acl.cc 2012-08-14 11:53:07 +0000 @@ -40,36 +40,37 @@ * */ -#include "squid-old.h" -#include "mgr/Registration.h" -#include "ExternalACL.h" -#include "ExternalACLEntry.h" -#if USE_AUTH -#include "auth/Acl.h" -#include "auth/Gadgets.h" -#include "auth/UserRequest.h" -#endif -#include "SquidTime.h" -#include "Store.h" -#include "fde.h" +#include "squid.h" +#include "acl/Acl.h" #include "acl/FilledChecklist.h" -#include "acl/Acl.h" -#if USE_IDENT -#include "ident/AclIdent.h" -#endif -#include "ip/tools.h" #include "client_side.h" #include "comm/Connection.h" +#include "ExternalACLEntry.h" +#include "ExternalACL.h" +#include "fde.h" +#include "helper.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" -#include "helper.h" +#include "ip/tools.h" #include "MemBuf.h" +#include "mgr/Registration.h" +#include "protos.h" #include "rfc1738.h" +#include "SquidTime.h" +#include "Store.h" #include "URLScheme.h" #include "wordlist.h" #if USE_SSL #include "ssl/support.h" #endif +#if USE_AUTH +#include "auth/Acl.h" +#include "auth/Gadgets.h" +#include "auth/UserRequest.h" +#endif +#if USE_IDENT +#include "ident/AclIdent.h" +#endif #ifndef DEFAULT_EXTERNAL_ACL_TTL #define DEFAULT_EXTERNAL_ACL_TTL 1 * 60 * 60 === modified file 'src/fd.cc' --- src/fd.cc 2012-08-06 17:41:08 +0000 +++ src/fd.cc 2012-08-14 11:53:07 +0000 @@ -33,11 +33,13 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm/Loops.h" +#include "Debug.h" #include "fde.h" +#include "globals.h" +#include "profiler/Profiler.h" #include "SquidTime.h" -#include "Debug.h" // Solaris and possibly others lack MSG_NOSIGNAL optimization === modified file 'src/fde.cc' --- src/fde.cc 2012-07-17 17:38:50 +0000 +++ src/fde.cc 2012-08-14 11:53:07 +0000 @@ -33,11 +33,13 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "comm.h" #include "fde.h" +#include "globals.h" +#include "protos.h" #include "SquidTime.h" #include "Store.h" -#include "comm.h" bool fde::readPending(int fdNumber) === modified file 'src/fde.h' --- src/fde.h 2011-08-26 16:50:49 +0000 +++ src/fde.h 2012-08-14 11:53:07 +0000 @@ -32,6 +32,7 @@ #include "comm.h" #include "ip/Address.h" +#include "structs.h" #if USE_DELAY_POOLS class ClientInfo; === modified file 'src/format/Format.cc' --- src/format/Format.cc 2012-07-23 15:34:12 +0000 +++ src/format/Format.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ #include "squid.h" #include "AccessLogEntry.h" +#include "client_side.h" #include "comm/Connection.h" #include "err_detail_type.h" #include "errorpage.h" @@ -9,6 +10,7 @@ #include "format/Token.h" #include "HttpRequest.h" #include "MemBuf.h" +#include "protos.h" #include "rfc1738.h" #include "SquidTime.h" #include "Store.h" === modified file 'src/forward.cc' --- src/forward.cc 2012-08-10 02:41:14 +0000 +++ src/forward.cc 2012-08-14 11:53:07 +0000 @@ -31,33 +31,36 @@ */ -#include "squid-old.h" -#include "forward.h" +#include "squid.h" #include "AccessLogEntry.h" #include "acl/FilledChecklist.h" #include "acl/Gadgets.h" #include "anyp/PortCfg.h" #include "CacheManager.h" +#include "client_side.h" #include "comm/Connection.h" #include "comm/ConnOpener.h" +#include "comm/Loops.h" #include "CommCalls.h" -#include "comm/Loops.h" +#include "errorpage.h" #include "event.h" -#include "errorpage.h" #include "fde.h" +#include "forward.h" +#include "globals.h" #include "hier_code.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "icmp/net_db.h" +#include "ip/Intercept.h" #include "ip/QosConfig.h" +#include "ip/tools.h" #include "MemObject.h" +#include "mgr/Registration.h" #include "pconn.h" #include "PeerSelectState.h" +#include "protos.h" #include "SquidTime.h" #include "Store.h" -#include "icmp/net_db.h" -#include "ip/Intercept.h" -#include "ip/tools.h" -#include "mgr/Registration.h" #if USE_SSL #include "ssl/support.h" #include "ssl/ErrorDetail.h" === modified file 'src/forward.h' --- src/forward.h 2012-08-10 02:41:14 +0000 +++ src/forward.h 2012-08-14 11:53:07 +0000 @@ -1,6 +1,13 @@ #ifndef SQUID_FORWARD_H #define SQUID_FORWARD_H +#include "Array.h" +#include "comm.h" +#include "comm/Connection.h" +#include "fde.h" +#include "ip/Address.h" +#include "RefCount.h" + /* forward decls */ class AccessLogEntry; @@ -8,11 +15,6 @@ class ErrorState; class HttpRequest; -#include "comm.h" -#include "comm/Connection.h" -#include "fde.h" -#include "ip/Address.h" -#include "Array.h" /** * Returns the TOS value that we should be setting on the connection === modified file 'src/fqdncache.cc' --- src/fqdncache.cc 2012-08-06 17:21:57 +0000 +++ src/fqdncache.cc 2012-08-14 11:53:07 +0000 @@ -32,11 +32,12 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "cbdata.h" #include "DnsLookupDetails.h" #include "event.h" #include "mgr/Registration.h" +#include "protos.h" #include "SquidDns.h" #include "SquidTime.h" #include "StatCounters.h" === modified file 'src/fs/Module.cc' --- src/fs/Module.cc 2012-08-10 06:56:49 +0000 +++ src/fs/Module.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "Module.h" #if defined(HAVE_FS_UFS) || defined(HAVE_FS_AUFS) || defined(HAVE_FS_DISKD) #include "fs/ufs/StoreFSufs.h" === modified file 'src/fs/aufs/StoreFSaufs.cc' --- src/fs/aufs/StoreFSaufs.cc 2012-08-10 06:56:49 +0000 +++ src/fs/aufs/StoreFSaufs.cc 2012-08-14 11:53:07 +0000 @@ -36,15 +36,7 @@ /* TODO: remove this file as unused */ #include "squid.h" - -#if 0 -#include "squid-old.h" -#include "StoreFileSystem.h" -#include "DiskIO/DiskIOModule.h" -#endif - #include "fs/ufs/StoreFSufs.h" - #include "fs/ufs/UFSSwapDir.h" /** === modified file 'src/fs/coss/store_dir_coss.cc' --- src/fs/coss/store_dir_coss.cc 2012-08-08 07:21:13 +0000 +++ src/fs/coss/store_dir_coss.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "CossSwapDir.h" #include "Store.h" @@ -899,7 +899,14 @@ if (::stat(path, &swap_sb) < 0) { debugs (47, 2, "COSS swap space space being allocated."); +#if _SQUID_MSWIN_ + + mkdir(path); +#else + mkdir(path, 0700); +#endif + } /* should check here for directories instead of files, and for file size === modified file 'src/fs/coss/store_io_coss.cc' --- src/fs/coss/store_io_coss.cc 2012-08-06 17:21:57 +0000 +++ src/fs/coss/store_io_coss.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "CossSwapDir.h" #include "Store.h" #include "store_coss.h" === modified file 'src/fs/rock/RockIoState.cc' --- src/fs/rock/RockIoState.cc 2012-01-20 18:55:04 +0000 +++ src/fs/rock/RockIoState.cc 2012-08-14 11:53:07 +0000 @@ -13,6 +13,7 @@ #include "fs/rock/RockIoState.h" #include "fs/rock/RockIoRequests.h" #include "fs/rock/RockSwapDir.h" +#include "globals.h" Rock::IoState::IoState(SwapDir *dir, StoreEntry *anEntry, === modified file 'src/fs/rock/RockRebuild.cc' --- src/fs/rock/RockRebuild.cc 2012-07-12 09:08:16 +0000 +++ src/fs/rock/RockRebuild.cc 2012-08-14 11:53:07 +0000 @@ -8,6 +8,9 @@ #include "fs/rock/RockRebuild.h" #include "fs/rock/RockSwapDir.h" #include "fs/rock/RockDbCell.h" +#include "md5.h" +#include "protos.h" +#include "typedefs.h" #include "SquidTime.h" CBDATA_NAMESPACED_CLASS_INIT(Rock, Rebuild); === modified file 'src/fs/rock/RockStoreFileSystem.h' --- src/fs/rock/RockStoreFileSystem.h 2011-09-06 22:32:30 +0000 +++ src/fs/rock/RockStoreFileSystem.h 2012-08-14 11:53:07 +0000 @@ -3,6 +3,7 @@ #include "StoreFileSystem.h" +class StoreEntry; namespace Rock { === modified file 'src/fs/rock/RockSwapDir.cc' --- src/fs/rock/RockSwapDir.cc 2012-08-10 06:56:49 +0000 +++ src/fs/rock/RockSwapDir.cc 2012-08-14 11:53:07 +0000 @@ -17,10 +17,15 @@ #include "ipc/mem/Pages.h" #include "MemObject.h" #include "Parsing.h" +#include "protos.h" #include "SquidMath.h" #include #include +#if HAVE_SYS_STAT_H +#include +#endif + const int64_t Rock::SwapDir::HeaderSize = 16*1024; Rock::SwapDir::SwapDir(): ::SwapDir("rock"), filePath(NULL), io(NULL), map(NULL) === modified file 'src/fs/ufs/RebuildState.cc' --- src/fs/ufs/RebuildState.cc 2012-08-11 00:14:47 +0000 +++ src/fs/ufs/RebuildState.cc 2012-08-14 11:53:07 +0000 @@ -32,11 +32,19 @@ */ #include "squid.h" +#include "protos.h" #include "RebuildState.h" #include "SquidTime.h" #include "StoreSwapLogData.h" #include "UFSSwapLogParser.h" +#if HAVE_MATH_H +#include +#endif +#if HAVE_SYS_STAT_H +#include +#endif + CBDATA_NAMESPACED_CLASS_INIT(Fs::Ufs,RebuildState); Fs::Ufs::RebuildState::RebuildState(RefCount aSwapDir) : === modified file 'src/fs/ufs/UFSStoreState.cc' --- src/fs/ufs/UFSStoreState.cc 2012-08-10 06:56:49 +0000 +++ src/fs/ufs/UFSStoreState.cc 2012-08-14 11:53:07 +0000 @@ -33,14 +33,14 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "Generic.h" #include "DiskIO/DiskFile.h" #include "DiskIO/DiskIOStrategy.h" #include "DiskIO/ReadRequest.h" #include "DiskIO/WriteRequest.h" - +#include "protos.h" #include "SwapDir.h" #include "UFSStrategy.h" #include "UFSStoreState.h" === modified file 'src/fs/ufs/UFSSwapDir.cc' --- src/fs/ufs/UFSSwapDir.cc 2012-08-11 00:14:47 +0000 +++ src/fs/ufs/UFSSwapDir.cc 2012-08-14 11:53:07 +0000 @@ -29,7 +29,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. */ -#include "squid-old.h" +#include "squid.h" #define CLEAN_BUF_SZ 16384 @@ -48,6 +48,12 @@ #include "StatCounters.h" #include "UFSSwapDir.h" +#if HAVE_MATH_H +#include +#endif +#if HAVE_SYS_STAT_H +#include +#endif int Fs::Ufs::UFSSwapDir::NumberOfUFSDirs = 0; int *Fs::Ufs::UFSSwapDir::UFSDirToGlobalDirMapping = NULL; === modified file 'src/fs/ufs/UFSSwapLogParser.cc' --- src/fs/ufs/UFSSwapLogParser.cc 2012-08-11 00:14:47 +0000 +++ src/fs/ufs/UFSSwapLogParser.cc 2012-08-14 11:53:07 +0000 @@ -28,11 +28,16 @@ */ #include "squid.h" +#include "Debug.h" #include "md5.h" #include "StoreSwapLogData.h" #include "swap_log_op.h" #include "UFSSwapLogParser.h" +#if HAVE_SYS_STAT_H +#include +#endif + /// Parse a swap header entry created on a system with 32-bit size_t and sfileno /// this is typical of 32-bit systems without large file support /// NP: SQUID_MD5_DIGEST_LENGTH is very risky still. === modified file 'src/ftp.cc' --- src/ftp.cc 2012-07-23 15:34:12 +0000 +++ src/ftp.cc 2012-08-14 11:53:07 +0000 @@ -32,24 +32,25 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm.h" #include "comm/ConnOpener.h" -#include "CommCalls.h" #include "comm/TcpAcceptor.h" #include "comm/Write.h" +#include "CommCalls.h" #include "compat/strtoll.h" #include "errorpage.h" #include "fde.h" #include "forward.h" #include "html_quote.h" #include "HttpHdrContRange.h" +#include "HttpHeader.h" #include "HttpHeaderRange.h" -#include "HttpHeader.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" #include "ip/tools.h" #include "MemBuf.h" +#include "protos.h" #include "rfc1738.h" #include "Server.h" #include "SquidString.h" === modified file 'src/globals.h' --- src/globals.h 2012-06-19 21:51:49 +0000 +++ src/globals.h 2012-08-14 11:53:07 +0000 @@ -45,13 +45,6 @@ #include "structs.h" -#ifdef __cplusplus -extern "C" { -#endif - -//MOVED:Debug.h extern FILE *debug_log; /* NULL */ -//MOVED:structs.h extern SquidConfig Config; -//MOVED:structs.h extern SquidConfig2 Config2; extern char *ConfigFile; /* NULL */ extern char *IcpOpcodeStr[]; extern char tmp_error_buf[ERROR_BUF_SZ]; @@ -60,13 +53,11 @@ extern char config_input_line[BUFSIZ]; extern const char *DefaultConfigFile; /* DEFAULT_CONFIG_FILE */ extern const char *cfg_filename; /* NULL */ -//MOVED:version.h:APP_SHORTNAME extern const char *const appname; /* "squid" */ - extern const char *const dash_str; /* "-" */ - extern const char *const null_string; /* "" */ - extern const char *const version_string; /* VERSION */ -//MOVED:versions.h:APP_FULLNAME extern const char *const full_appname_string; /* PACKAGE "/" VERSION */ - extern const char *const appname_string; /* PACKAGE */ - extern char const * visible_appname_string; /* NULL */ + extern const char *dash_str; /* "-" */ + extern const char *null_string; /* "" */ + extern const char *version_string; /* VERSION */ + extern const char *appname_string; /* PACKAGE */ + extern char const *visible_appname_string; /* NULL */ extern const char *fdTypeStr[]; extern const char *hier_strings[]; extern const char *memStatusStr[]; @@ -84,7 +75,6 @@ extern int config_lineno; /* 0 */ extern int do_mallinfo; /* 0 */ extern int opt_reuseaddr; /* 1 */ -//DEAD extern int icmp_sock; /* -1 */ extern int neighbors_do_private_keys; /* 1 */ extern int opt_catch_signals; /* 1 */ extern int opt_foreground_rebuild; /* 0 */ @@ -110,16 +100,14 @@ extern double request_failure_ratio; /* 0.0 */ extern int store_hash_buckets; /* 0 */ extern hash_table *store_table; /* NULL */ -//MOVED:dlink.h extern dlink_list ClientActiveRequests; extern int hot_obj_count; /* 0 */ - extern const int CacheDigestHashFuncCount; /* 4 */ + extern int CacheDigestHashFuncCount; /* 4 */ extern CacheDigest *store_digest; /* NULL */ extern const char *StoreDigestFileName; /* "store_digest" */ extern const char *StoreDigestMimeStr; /* "application/cache-digest" */ extern const char *MultipartMsgBoundaryStr; /* "Unique-Squid-Separator" */ #if USE_HTTP_VIOLATIONS - extern int refresh_nocache_hack; /* 0 */ #endif @@ -132,7 +120,6 @@ extern hash_table *proxy_auth_username_cache; /* NULL */ extern int incoming_sockets_accepted; #if _SQUID_MSWIN_ - extern unsigned int WIN32_Socks_initialized; /* 0 */ #endif #if _SQUID_WINDOWS_ @@ -144,7 +131,6 @@ extern unsigned int WIN32_run_mode; /* _WIN_SQUID_RUN_MODE_INTERACTIVE */ #endif #if HAVE_SBRK - extern void *sbrk_start; /* 0 */ #endif @@ -164,9 +150,4 @@ /// Zero for SMP-unaware code and in no-SMP mode. extern int KidIdentifier; /* 0 */ -#ifdef __cplusplus -} - -#endif - #endif /* SQUID_GLOBALS_H */ === modified file 'src/gopher.cc' --- src/gopher.cc 2012-08-06 17:21:57 +0000 +++ src/gopher.cc 2012-08-14 11:53:07 +0000 @@ -33,23 +33,25 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "comm.h" #include "comm/Write.h" #include "errorpage.h" -#include "Store.h" +#include "forward.h" #include "html_quote.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" -#include "comm.h" -#if USE_DELAY_POOLS -#include "DelayPools.h" -#include "MemObject.h" -#endif #include "MemBuf.h" -#include "forward.h" +#include "protos.h" #include "rfc1738.h" +#include "SquidTime.h" #include "StatCounters.h" -#include "SquidTime.h" +#include "Store.h" + +#if USE_DELAY_POOLS +#include "DelayPools.h" +#include "MemObject.h" +#endif /** \defgroup ServerProtocolGopherInternal Server-Side Gopher Internals === modified file 'src/helper.cc' --- src/helper.cc 2012-08-06 17:41:08 +0000 +++ src/helper.cc 2012-08-14 11:53:07 +0000 @@ -32,14 +32,15 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "base/AsyncCbdataCalls.h" #include "comm.h" #include "comm/Connection.h" #include "comm/Write.h" +#include "format/Quoting.h" #include "helper.h" -#include "format/Quoting.h" #include "MemBuf.h" +#include "protos.h" #include "SquidMath.h" #include "SquidTime.h" #include "Store.h" === modified file 'src/helper.h' --- src/helper.h 2012-01-20 18:55:04 +0000 +++ src/helper.h 2012-08-14 11:53:07 +0000 @@ -33,10 +33,10 @@ #ifndef SQUID_HELPER_H #define SQUID_HELPER_H -#include "squid-old.h" #include "base/AsyncCall.h" #include "cbdata.h" #include "comm/forward.h" +#include "dlink.h" #include "ip/Address.h" #include "HelperChildConfig.h" @@ -132,6 +132,8 @@ }; +class MemBuf; + class helper_server : public HelperServerBase { public: === modified file 'src/htcp.cc' --- src/htcp.cc 2012-07-23 07:02:06 +0000 +++ src/htcp.cc 2012-08-14 11:53:07 +0000 @@ -33,25 +33,28 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "AccessLogEntry.h" +#include "acl/Acl.h" #include "acl/FilledChecklist.h" -#include "acl/Acl.h" #include "comm.h" #include "comm/Connection.h" #include "comm/Loops.h" #include "comm/UdpOpenDialer.h" +#include "compat/xalloc.h" +#include "globals.h" #include "htcp.h" #include "http.h" #include "HttpRequest.h" #include "icmp/net_db.h" #include "ip/tools.h" +#include "md5.h" #include "MemBuf.h" +#include "protos.h" #include "SquidTime.h" #include "StatCounters.h" #include "Store.h" #include "StoreClient.h" -#include "compat/xalloc.h" typedef struct _Countstr Countstr; === modified file 'src/htcp.h' --- src/htcp.h 2012-04-25 05:29:20 +0000 +++ src/htcp.h 2012-08-14 11:53:07 +0000 @@ -33,9 +33,11 @@ #if USE_HTCP #include "HttpHeader.h" - +#include "HttpRequestMethod.h" #include "ip/forward.h" +class HttpRequest; + /// \ingroup ServerProtocolHTCP class HtcpReplyData { === modified file 'src/http.cc' --- src/http.cc 2012-08-06 17:21:57 +0000 +++ src/http.cc 2012-08-14 11:53:07 +0000 @@ -38,39 +38,40 @@ * have a look into http-anon.c to get more informations. */ -#include "squid-old.h" - +#include "squid.h" #include "acl/FilledChecklist.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif +#include "base64.h" #include "base/AsyncJobCalls.h" #include "base/TextException.h" -#include "base64.h" +#include "client_side.h" #include "comm/Connection.h" #include "comm/Write.h" -#if USE_DELAY_POOLS -#include "DelayPools.h" -#endif #include "err_detail_type.h" #include "errorpage.h" #include "fde.h" +#include "HttpControlMsg.h" #include "http.h" -#include "HttpControlMsg.h" +#include "HttpHdrCc.h" #include "HttpHdrContRange.h" -#include "HttpHdrCc.h" #include "HttpHdrSc.h" #include "HttpHdrScTarget.h" #include "HttpReply.h" #include "HttpRequest.h" #include "MemBuf.h" #include "MemObject.h" +#include "profiler/Profiler.h" #include "protos.h" #include "rfc1738.h" #include "SquidTime.h" #include "StatCounters.h" #include "Store.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif +#if USE_DELAY_POOLS +#include "DelayPools.h" +#endif #define SQUID_ENTER_THROWING_CODE() try { #define SQUID_EXIT_THROWING_CODE(status) \ === modified file 'src/icmp/Icmp.cc' --- src/icmp/Icmp.cc 2012-07-20 12:44:39 +0000 +++ src/icmp/Icmp.cc 2012-08-14 11:53:07 +0000 @@ -31,7 +31,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * */ -#include "squid-old.h" +#include "squid.h" #include "Icmp.h" #include "SquidTime.h" #include "Debug.h" === modified file 'src/icmp/Icmp4.cc' --- src/icmp/Icmp4.cc 2012-08-06 17:41:08 +0000 +++ src/icmp/Icmp4.cc 2012-08-14 11:53:07 +0000 @@ -33,10 +33,11 @@ */ //#define SQUID_HELPER 1 -#include "squid-old.h" +#include "squid.h" #if USE_ICMP +#include "leakcheck.h" #include "SquidTime.h" #include "Icmp4.h" #include "IcmpPinger.h" === modified file 'src/icmp/Icmp6.cc' --- src/icmp/Icmp6.cc 2012-08-06 17:41:08 +0000 +++ src/icmp/Icmp6.cc 2012-08-14 11:53:07 +0000 @@ -33,10 +33,11 @@ */ //#define SQUID_HELPER 1 -#include "squid-old.h" +#include "squid.h" #if USE_ICMP +#include "leakcheck.h" #include "SquidTime.h" #include "Debug.h" #include "Icmp6.h" === modified file 'src/icmp/IcmpPinger.cc' --- src/icmp/IcmpPinger.cc 2012-08-06 17:41:08 +0000 +++ src/icmp/IcmpPinger.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ #define SQUID_HELPER 1 -#include "squid-old.h" +#include "squid.h" #if USE_ICMP === modified file 'src/icmp/IcmpSquid.cc' --- src/icmp/IcmpSquid.cc 2012-08-06 17:41:08 +0000 +++ src/icmp/IcmpSquid.cc 2012-08-14 11:53:07 +0000 @@ -32,12 +32,13 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm.h" #include "comm/Loops.h" #include "icmp/IcmpSquid.h" #include "icmp/net_db.h" #include "ip/tools.h" +#include "protos.h" #include "SquidTime.h" // Instance global to be available in main() and elsewhere. === modified file 'src/icmp/net_db.cc' --- src/icmp/net_db.cc 2012-08-06 17:41:08 +0000 +++ src/icmp/net_db.cc 2012-08-14 11:53:07 +0000 @@ -38,7 +38,7 @@ * (adrian@squid-cache.org) to sort them out. */ -#include "squid-old.h" +#include "squid.h" #include "icmp/net_db.h" #include "log/File.h" #include "cbdata.h" @@ -51,10 +51,15 @@ #include "MemObject.h" #include "fde.h" #include "forward.h" +#include "protos.h" #include "SquidTime.h" #include "wordlist.h" #include "ip/Address.h" +#if HAVE_SYS_STAT_H +#include +#endif + #if USE_ICMP #include "icmp/IcmpSquid.h" #include "ipcache.h" === modified file 'src/icmp/pinger.cc' --- src/icmp/pinger.cc 2012-08-06 17:41:08 +0000 +++ src/icmp/pinger.cc 2012-08-14 11:53:07 +0000 @@ -63,7 +63,8 @@ * ICP_OP_MISS_NOFETCH for sites which it cannot ping. */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "SquidTime.h" #if USE_ICMP === modified file 'src/icmp/testIcmp.cc' --- src/icmp/testIcmp.cc 2012-01-20 18:55:04 +0000 +++ src/icmp/testIcmp.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,7 @@ #define SQUID_UNIT_TEST 1 #define SQUID_HELPER 1 -#include "squid-old.h" +#include "squid.h" #include === modified file 'src/icp_v2.cc' --- src/icp_v2.cc 2012-08-06 17:41:08 +0000 +++ src/icp_v2.cc 2012-08-14 11:53:07 +0000 @@ -35,26 +35,28 @@ \ingroup ServerProtocolICPAPI */ -#include "squid-old.h" -#include "Store.h" +#include "squid.h" +#include "AccessLogEntry.h" +#include "acl/Acl.h" +#include "acl/FilledChecklist.h" #include "comm.h" #include "comm/Connection.h" #include "comm/Loops.h" #include "comm/UdpOpenDialer.h" -#include "ICP.h" #include "HttpRequest.h" -#include "acl/FilledChecklist.h" -#include "acl/Acl.h" -#include "AccessLogEntry.h" -#include "wordlist.h" -#include "StatCounters.h" -#include "SquidTime.h" -#include "SwapDir.h" #include "icmp/net_db.h" +#include "ICP.h" #include "ip/Address.h" #include "ip/tools.h" #include "ipcache.h" +#include "md5.h" +#include "protos.h" #include "rfc1738.h" +#include "SquidTime.h" +#include "StatCounters.h" +#include "Store.h" +#include "SwapDir.h" +#include "wordlist.h" static void icpIncomingConnectionOpened(const Comm::ConnectionPointer &conn, int errNo); === modified file 'src/icp_v3.cc' --- src/icp_v3.cc 2012-08-06 17:41:08 +0000 +++ src/icp_v3.cc 2012-08-14 11:53:07 +0000 @@ -37,7 +37,7 @@ \ingroup ServerProtocolICPAPI */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "ICP.h" #include "HttpRequest.h" === modified file 'src/ident/AclIdent.cc' --- src/ident/AclIdent.cc 2012-06-19 16:08:52 +0000 +++ src/ident/AclIdent.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #if USE_IDENT @@ -43,6 +43,7 @@ #include "acl/UserData.h" #include "client_side.h" #include "comm/Connection.h" +#include "globals.h" #include "ident/AclIdent.h" #include "ident/Ident.h" === modified file 'src/ident/Ident.cc' --- src/ident/Ident.cc 2012-07-30 08:49:59 +0000 +++ src/ident/Ident.cc 2012-08-14 11:53:07 +0000 @@ -34,12 +34,12 @@ #include "squid.h" #if USE_IDENT -#include "squid-old.h" #include "comm.h" #include "comm/Connection.h" #include "comm/ConnOpener.h" #include "CommCalls.h" #include "comm/Write.h" +#include "globals.h" #include "ident/Config.h" #include "ident/Ident.h" #include "MemBuf.h" === modified file 'src/int.cc' --- src/int.cc 2012-01-20 18:55:04 +0000 +++ src/int.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,12 @@ * */ -#include "squid-old.h" +#include "squid.h" + +#if HAVE_MATH_H +#include +#endif + int isPowTen(int count) { === modified file 'src/internal.cc' --- src/internal.cc 2012-01-20 18:55:04 +0000 +++ src/internal.cc 2012-08-14 11:53:07 +0000 @@ -33,17 +33,18 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "CacheManager.h" #include "comm/Connection.h" #include "errorpage.h" +#include "icmp/net_db.h" #include "Store.h" #include "HttpRequest.h" #include "HttpReply.h" #include "MemBuf.h" +#include "protos.h" #include "SquidTime.h" #include "wordlist.h" -#include "icmp/net_db.h" /* called when we "miss" on an internal object; * generate known dynamic objects, === modified file 'src/ip/Qos.cci' --- src/ip/Qos.cci 2012-07-23 19:37:47 +0000 +++ src/ip/Qos.cci 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ /* Inline QOS functions */ #include "comm/Connection.h" +#include "Debug.h" int Ip::Qos::setSockTos(const Comm::ConnectionPointer &conn, tos_t tos) === modified file 'src/ip/QosConfig.cc' --- src/ip/QosConfig.cc 2012-01-20 18:55:04 +0000 +++ src/ip/QosConfig.cc 2012-08-14 11:53:07 +0000 @@ -1,13 +1,15 @@ -#include "squid-old.h" +#include "squid.h" #include "acl/Gadgets.h" #include "comm/Connection.h" #include "ConfigParser.h" #include "fde.h" +#include "globals.h" #include "hier_code.h" #include "ip/tools.h" #include "ip/QosConfig.h" #include "Parsing.h" +#include "protos.h" /* Qos namespace */ === modified file 'src/ip/stubQosConfig.cc' --- src/ip/stubQosConfig.cc 2012-01-20 18:55:04 +0000 +++ src/ip/stubQosConfig.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "ip/QosConfig.h" #include "Store.h" === modified file 'src/ipc.cc' --- src/ipc.cc 2012-08-06 17:41:08 +0000 +++ src/ipc.cc 2012-08-14 11:53:07 +0000 @@ -30,10 +30,12 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm/Connection.h" #include "fde.h" +#include "globals.h" #include "ip/Address.h" +#include "protos.h" #include "rfc1738.h" static const char *hello_string = "hi there\n"; === modified file 'src/ipc/Coordinator.cc' --- src/ipc/Coordinator.cc 2012-08-06 17:21:57 +0000 +++ src/ipc/Coordinator.cc 2012-08-14 11:53:07 +0000 @@ -17,6 +17,7 @@ #include "mgr/Inquirer.h" #include "mgr/Request.h" #include "mgr/Response.h" +#include "protos.h" #if SQUID_SNMP #include "snmp/Inquirer.h" #include "snmp/Request.h" === modified file 'src/ipc/ReadWriteLock.cc' --- src/ipc/ReadWriteLock.cc 2012-01-20 18:55:04 +0000 +++ src/ipc/ReadWriteLock.cc 2012-08-14 11:53:07 +0000 @@ -4,7 +4,7 @@ * DEBUG: section 54 Interprocess Communication */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "ipc/ReadWriteLock.h" === modified file 'src/ipc/SharedListen.cc' --- src/ipc/SharedListen.cc 2012-01-20 18:55:04 +0000 +++ src/ipc/SharedListen.cc 2012-08-14 11:53:07 +0000 @@ -10,12 +10,14 @@ #include "comm.h" #include "base/TextException.h" #include "comm/Connection.h" +#include "globals.h" #include "ipc/Port.h" #include "ipc/Messages.h" #include "ipc/Kids.h" #include "ipc/TypedMsgHdr.h" #include "ipc/StartListening.h" #include "ipc/SharedListen.h" +#include "protos.h" /// holds information necessary to handle JoinListen response class PendingOpenRequest === modified file 'src/ipc/StartListening.cc' --- src/ipc/StartListening.cc 2012-01-20 18:55:04 +0000 +++ src/ipc/StartListening.cc 2012-08-14 11:53:07 +0000 @@ -11,7 +11,7 @@ #include "comm/Connection.h" #include "ipc/SharedListen.h" #include "ipc/StartListening.h" - +#include "protos.h" Ipc::StartListeningCb::StartListeningCb(): conn(NULL), errNo(0) { === modified file 'src/ipc/StoreMap.cc' --- src/ipc/StoreMap.cc 2012-08-06 15:38:12 +0000 +++ src/ipc/StoreMap.cc 2012-08-14 11:53:07 +0000 @@ -4,8 +4,9 @@ * DEBUG: section 54 Interprocess Communication */ -#include "squid-old.h" +#include "squid.h" +#include "protos.h" #include "Store.h" #include "ipc/StoreMap.h" === modified file 'src/ipc/Strand.cc' --- src/ipc/Strand.cc 2012-08-06 17:21:57 +0000 +++ src/ipc/Strand.cc 2012-08-14 11:53:07 +0000 @@ -9,6 +9,7 @@ #include "base/Subscription.h" #include "base/TextException.h" #include "comm/Connection.h" +#include "globals.h" #include "ipc/Strand.h" #include "ipc/StrandCoord.h" #include "ipc/Messages.h" === modified file 'src/ipc/UdsOp.h' --- src/ipc/UdsOp.h 2011-05-13 08:13:01 +0000 +++ src/ipc/UdsOp.h 2012-08-14 11:53:07 +0000 @@ -11,6 +11,7 @@ #include "SquidString.h" #include "base/AsyncJob.h" +#include "cbdata.h" #include "comm/forward.h" #include "ipc/TypedMsgHdr.h" #include "ipc/FdNotes.h" === modified file 'src/ipc/mem/Pages.cc' --- src/ipc/mem/Pages.cc 2012-01-20 18:55:04 +0000 +++ src/ipc/mem/Pages.cc 2012-08-14 11:53:07 +0000 @@ -10,6 +10,7 @@ #include "base/RunnersRegistry.h" #include "ipc/mem/PagePool.h" #include "ipc/mem/Pages.h" +#include "protos.h" #include "structs.h" #include "SwapDir.h" === modified file 'src/ipc_win32.cc' --- src/ipc_win32.cc 2012-08-06 17:41:08 +0000 +++ src/ipc_win32.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm.h" #include "fde.h" #include "ip/Address.h" === modified file 'src/ipcache.cc' --- src/ipcache.cc 2012-08-06 17:41:08 +0000 +++ src/ipcache.cc 2012-08-14 11:53:07 +0000 @@ -30,7 +30,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "cbdata.h" #include "CacheManager.h" #include "DnsLookupDetails.h" @@ -39,6 +39,8 @@ #include "ip/tools.h" #include "ipcache.h" #include "mgr/Registration.h" +#include "protos.h" +#include "rfc3596.h" #include "SquidDns.h" #include "SquidTime.h" #include "StatCounters.h" === modified file 'src/list.cc' --- src/list.cc 2012-01-20 18:55:04 +0000 +++ src/list.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,9 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "protos.h" +#include "typedefs.h" /* This should go away, in favour of the List template class */ === modified file 'src/log/File.cc' --- src/log/File.cc 2012-08-06 17:21:57 +0000 +++ src/log/File.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "fde.h" #include "log/File.h" #include "log/ModDaemon.h" === modified file 'src/log/FormatHttpdCombined.cc' --- src/log/FormatHttpdCombined.cc 2012-07-17 14:11:24 +0000 +++ src/log/FormatHttpdCombined.cc 2012-08-14 11:53:07 +0000 @@ -36,6 +36,7 @@ #include "AccessLogEntry.h" #include "format/Token.h" #include "format/Quoting.h" +#include "globals.h" #include "HttpRequest.h" #include "log/File.h" #include "log/Formats.h" === modified file 'src/log/FormatHttpdCommon.cc' --- src/log/FormatHttpdCommon.cc 2012-07-17 14:11:24 +0000 +++ src/log/FormatHttpdCommon.cc 2012-08-14 11:53:07 +0000 @@ -36,6 +36,7 @@ #include "AccessLogEntry.h" #include "format/Quoting.h" #include "format/Token.h" +#include "globals.h" #include "log/File.h" #include "log/Formats.h" #include "SquidTime.h" === modified file 'src/log/FormatSquidIcap.cc' --- src/log/FormatSquidIcap.cc 2012-07-17 14:11:24 +0000 +++ src/log/FormatSquidIcap.cc 2012-08-14 11:53:07 +0000 @@ -41,6 +41,7 @@ #include "HttpRequest.h" #include "log/File.h" #include "log/Formats.h" +#include "protos.h" #include "SquidTime.h" void === modified file 'src/log/FormatSquidNative.cc' --- src/log/FormatSquidNative.cc 2012-07-17 14:11:24 +0000 +++ src/log/FormatSquidNative.cc 2012-08-14 11:53:07 +0000 @@ -36,6 +36,7 @@ #include "AccessLogEntry.h" #include "format/Quoting.h" #include "format/Token.h" +#include "globals.h" #include "log/File.h" #include "log/Formats.h" #include "SquidTime.h" === modified file 'src/log/ModDaemon.cc' --- src/log/ModDaemon.cc 2012-08-06 17:21:57 +0000 +++ src/log/ModDaemon.cc 2012-08-14 11:53:07 +0000 @@ -30,13 +30,15 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "cbdata.h" #include "comm/Loops.h" #include "fde.h" +#include "globals.h" #include "log/Config.h" #include "log/File.h" #include "log/ModDaemon.h" +#include "protos.h" #include "SquidTime.h" /* How many buffers to keep before we say we've buffered too much */ === modified file 'src/log/ModStdio.cc' --- src/log/ModStdio.cc 2012-07-20 15:31:04 +0000 +++ src/log/ModStdio.cc 2012-08-14 11:53:07 +0000 @@ -30,10 +30,12 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "fde.h" +#include "globals.h" #include "log/File.h" #include "log/ModStdio.h" +#include "protos.h" typedef struct { int fd; === modified file 'src/log/ModSyslog.cc' --- src/log/ModSyslog.cc 2012-08-06 17:21:57 +0000 +++ src/log/ModSyslog.cc 2012-08-14 11:53:07 +0000 @@ -30,7 +30,8 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #if HAVE_SYSLOG === modified file 'src/log/ModTcp.cc' --- src/log/ModTcp.cc 2012-08-06 17:21:57 +0000 +++ src/log/ModTcp.cc 2012-08-14 11:53:07 +0000 @@ -31,12 +31,14 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm.h" #include "comm/Connection.h" #include "log/File.h" #include "log/ModTcp.h" #include "Parsing.h" +#include "protos.h" +#include "structs.h" /* * This logfile TCP module is mostly inspired by a patch by Tim Starling === modified file 'src/log/ModUdp.cc' --- src/log/ModUdp.cc 2012-08-06 17:21:57 +0000 +++ src/log/ModUdp.cc 2012-08-14 11:53:07 +0000 @@ -30,12 +30,14 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm.h" #include "comm/Connection.h" #include "log/File.h" #include "log/ModUdp.h" #include "Parsing.h" +#include "protos.h" +#include "structs.h" /* * This logfile UDP module is mostly inspired by a patch by Tim Starling === modified file 'src/log/access_log.cc' --- src/log/access_log.cc 2012-08-06 17:21:57 +0000 +++ src/log/access_log.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ */ -#include "squid-old.h" +#include "squid.h" #include "AccessLogEntry.h" // Store.h Required by configuration directives parsing/dumping only @@ -48,6 +48,7 @@ #include "eui/Eui64.h" #endif #include "format/Token.h" +#include "globals.h" #include "hier_code.h" #include "HttpReply.h" #include "HttpRequest.h" === modified file 'src/main.cc' --- src/main.cc 2012-08-06 17:41:08 +0000 +++ src/main.cc 2012-08-14 11:53:07 +0000 @@ -32,77 +32,77 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "AccessLogEntry.h" -#if USE_ADAPTATION -#include "adaptation/Config.h" -#endif -#if USE_ECAP -#include "adaptation/ecap/Config.h" -#endif -#if ICAP_CLIENT -#include "adaptation/icap/Config.h" -#include "adaptation/icap/icap_log.h" -#endif -#if USE_AUTH -#include "auth/Gadgets.h" -#endif +#include "acl/Acl.h" +#include "acl/Asn.h" #include "base/RunnersRegistry.h" #include "base/Subscription.h" #include "base/TextException.h" -#if USE_DELAY_POOLS -#include "ClientDelayConfig.h" -#endif #include "comm.h" #include "ConfigParser.h" #include "CpuAffinity.h" -#if USE_DELAY_POOLS -#include "DelayPools.h" -#endif +#include "DiskIO/DiskIOModule.h" #include "errorpage.h" #include "event.h" #include "EventLoop.h" #include "ExternalACL.h" #include "format/Token.h" -#include "fs/Module.h" -#include "PeerSelectState.h" -#include "SquidDns.h" -#include "Store.h" +#include "forward.h" +#include "fs/Module.h" +#include "fs/Module.h" +#include "htcp.h" +#include "HttpReply.h" +#include "icmp/IcmpSquid.h" +#include "icmp/net_db.h" #include "ICP.h" #include "ident/Ident.h" -#include "HttpReply.h" -#include "pconn.h" -#include "Mem.h" -#include "acl/Asn.h" -#include "acl/Acl.h" -#include "htcp.h" -#include "StoreFileSystem.h" -#include "DiskIO/DiskIOModule.h" +#include "ipc/Coordinator.h" #include "ipc/Kids.h" -#include "ipc/Coordinator.h" #include "ipc/Strand.h" #include "ip/tools.h" +#include "Mem.h" +#include "MemPool.h" +#include "pconn.h" +#include "PeerSelectState.h" +#include "profiler/Profiler.h" +#include "protos.h" +#include "SquidDns.h" #include "SquidTime.h" #include "StatCounters.h" +#include "StoreFileSystem.h" +#include "Store.h" #include "SwapDir.h" -#include "forward.h" -#include "MemPool.h" -#include "icmp/IcmpSquid.h" -#include "icmp/net_db.h" +#if USE_ADAPTATION +#include "adaptation/Config.h" +#endif +#if USE_ECAP +#include "adaptation/ecap/Config.h" +#endif +#if ICAP_CLIENT +#include "adaptation/icap/Config.h" +#include "adaptation/icap/icap_log.h" +#endif +#if USE_AUTH +#include "auth/Gadgets.h" +#endif +#if USE_DELAY_POOLS +#include "ClientDelayConfig.h" +#endif +#if USE_DELAY_POOLS +#include "DelayPools.h" +#endif #if USE_LOADABLE_MODULES #include "LoadableModules.h" #endif - #if USE_SSL_CRTD #include "ssl/helper.h" #include "ssl/certificate_db.h" #endif - #if USE_SSL #include "ssl/context_storage.h" #endif - #if ICAP_CLIENT #include "adaptation/icap/Config.h" #endif @@ -115,11 +115,13 @@ #if USE_SQUID_ESI #include "esi/Module.h" #endif -#include "fs/Module.h" #if HAVE_PATHS_H #include #endif +#if HAVE_SYS_WAIT_H +#include +#endif #if USE_WIN32_SERVICE #include "squid_windows.h" @@ -655,7 +657,6 @@ { if (IamPrimaryProcess()) { #if USE_WCCP - wccpConnectionOpen(); #endif === modified file 'src/mem.cc' --- src/mem.cc 2012-08-06 17:21:57 +0000 +++ src/mem.cc 2012-08-14 11:53:07 +0000 @@ -32,16 +32,18 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "event.h" -#include "mgr/Registration.h" #include "ClientInfo.h" #include "Mem.h" +#include "md5.h" +#include "MemBuf.h" #include "memMeter.h" +#include "mgr/Registration.h" +#include "protos.h" +#include "SquidTime.h" #include "Store.h" #include "StoreEntryStream.h" -#include "MemBuf.h" -#include "SquidTime.h" #if HAVE_IOMANIP #include === modified file 'src/mem_node.cc' --- src/mem_node.cc 2012-01-20 18:55:04 +0000 +++ src/mem_node.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,9 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "mem_node.h" +#include "protos.h" static ptrdiff_t makeMemNodeDataOffset(); === modified file 'src/mem_node.h' --- src/mem_node.h 2009-03-31 12:39:30 +0000 +++ src/mem_node.h 2012-08-14 11:53:07 +0000 @@ -34,6 +34,8 @@ #ifndef SQUID_MEM_NODE_H #define SQUID_MEM_NODE_H +#include "defines.h" +#include "MemPool.h" #include "StoreIOBuffer.h" #include "Range.h" === modified file 'src/mgr/BasicActions.cc' --- src/mgr/BasicActions.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/BasicActions.cc 2012-08-14 11:53:07 +0000 @@ -12,9 +12,9 @@ #include "mgr/ActionProfile.h" #include "mgr/BasicActions.h" #include "mgr/Registration.h" +#include "protos.h" #include "Store.h" - Mgr::IndexAction::Pointer Mgr::IndexAction::Create(const Command::Pointer &cmd) { === modified file 'src/mgr/CountersAction.cc' --- src/mgr/CountersAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/CountersAction.cc 2012-08-14 11:53:07 +0000 @@ -10,6 +10,7 @@ #include "ipc/Messages.h" #include "ipc/TypedMsgHdr.h" #include "mgr/CountersAction.h" +#include "protos.h" #include "SquidTime.h" #include "Store.h" === modified file 'src/mgr/Forwarder.cc' --- src/mgr/Forwarder.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/Forwarder.cc 2012-08-14 11:53:07 +0000 @@ -11,6 +11,7 @@ #include "CommCalls.h" #include "comm/Connection.h" #include "errorpage.h" +#include "globals.h" #include "HttpReply.h" #include "HttpRequest.h" #include "ipc/Port.h" === modified file 'src/mgr/FunAction.cc' --- src/mgr/FunAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/FunAction.cc 2012-08-14 11:53:07 +0000 @@ -8,11 +8,13 @@ #include "squid.h" #include "base/TextException.h" #include "comm/Connection.h" +#include "globals.h" #include "ipc/UdsOp.h" #include "mgr/Command.h" #include "mgr/Filler.h" #include "mgr/FunAction.h" #include "mgr/Request.h" +#include "protos.h" #include "Store.h" === modified file 'src/mgr/InfoAction.cc' --- src/mgr/InfoAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/InfoAction.cc 2012-08-14 11:53:07 +0000 @@ -8,6 +8,7 @@ #include "squid.h" #include "base/TextException.h" #include "comm/Connection.h" +#include "globals.h" #include "HttpReply.h" #include "ipc/Messages.h" #include "ipc/UdsOp.h" @@ -16,6 +17,7 @@ #include "mgr/InfoAction.h" #include "mgr/Request.h" #include "mgr/Response.h" +#include "protos.h" #include "SquidTime.h" #include "Store.h" === modified file 'src/mgr/Inquirer.cc' --- src/mgr/Inquirer.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/Inquirer.cc 2012-08-14 11:53:07 +0000 @@ -7,6 +7,7 @@ #include "squid.h" #include "base/TextException.h" +#include "comm.h" #include "comm/Connection.h" #include "comm/Write.h" #include "CommCalls.h" === modified file 'src/mgr/IntervalAction.cc' --- src/mgr/IntervalAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/IntervalAction.cc 2012-08-14 11:53:07 +0000 @@ -10,6 +10,7 @@ #include "ipc/Messages.h" #include "ipc/TypedMsgHdr.h" #include "mgr/IntervalAction.h" +#include "protos.h" #include "SquidMath.h" #include "Store.h" === modified file 'src/mgr/IoAction.cc' --- src/mgr/IoAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/IoAction.cc 2012-08-14 11:53:07 +0000 @@ -10,6 +10,7 @@ #include "ipc/Messages.h" #include "ipc/TypedMsgHdr.h" #include "mgr/IoAction.h" +#include "protos.h" #include "SquidMath.h" #include "Store.h" === modified file 'src/mgr/ServiceTimesAction.cc' --- src/mgr/ServiceTimesAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/ServiceTimesAction.cc 2012-08-14 11:53:07 +0000 @@ -10,9 +10,9 @@ #include "ipc/Messages.h" #include "ipc/TypedMsgHdr.h" #include "mgr/ServiceTimesAction.h" +#include "protos.h" #include "Store.h" - extern void GetServiceTimesStats(Mgr::ServiceTimesActionData& stats); extern void DumpServiceTimesStats(Mgr::ServiceTimesActionData& stats, StoreEntry* sentry); === modified file 'src/mgr/StoreIoAction.cc' --- src/mgr/StoreIoAction.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/StoreIoAction.cc 2012-08-14 11:53:07 +0000 @@ -10,6 +10,7 @@ #include "ipc/Messages.h" #include "ipc/TypedMsgHdr.h" #include "mgr/StoreIoAction.h" +#include "protos.h" #include "Store.h" === modified file 'src/mgr/StoreToCommWriter.cc' --- src/mgr/StoreToCommWriter.cc 2012-01-20 18:55:04 +0000 +++ src/mgr/StoreToCommWriter.cc 2012-08-14 11:53:07 +0000 @@ -12,6 +12,7 @@ #include "comm/Write.h" #include "ipc/FdNotes.h" #include "mgr/StoreToCommWriter.h" +#include "protos.h" #include "StoreClient.h" #include "Store.h" === modified file 'src/mime.cc' --- src/mime.cc 2012-08-06 17:41:08 +0000 +++ src/mime.cc 2012-08-14 11:53:07 +0000 @@ -33,15 +33,21 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "fde.h" +#include "globals.h" #include "HttpHdrCc.h" -#include "Store.h" -#include "StoreClient.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "MemBuf.h" #include "MemObject.h" -#include "fde.h" -#include "MemBuf.h" +#include "protos.h" +#include "Store.h" +#include "StoreClient.h" + +#if HAVE_SYS_STAT_H +#include +#endif #define GET_HDR_SZ 1024 === modified file 'src/mime_header.cc' --- src/mime_header.cc 2012-07-17 17:38:50 +0000 +++ src/mime_header.cc 2012-08-14 11:53:07 +0000 @@ -33,16 +33,11 @@ * */ -#include "squid-old.h" +#include "squid.h" #define GET_HDR_SZ 1024 - -/* returns a pointer to a field-value of the first matching field-name */ -char * -mime_get_header(const char *mime, const char *name) -{ - return mime_get_header_field(mime, name, NULL); -} +#include "Debug.h" +#include "profiler/Profiler.h" /* * returns a pointer to a field-value of the first matching field-name where @@ -117,6 +112,14 @@ return NULL; } +/* returns a pointer to a field-value of the first matching field-name */ +char * +mime_get_header(const char *mime, const char *name) +{ + return mime_get_header_field(mime, name, NULL); +} + + size_t headersEnd(const char *mime, size_t l) { === modified file 'src/multicast.cc' --- src/multicast.cc 2012-08-06 17:41:08 +0000 +++ src/multicast.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,9 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm/Connection.h" +#include "Debug.h" // XXX: for icpIncomingConn - need to pass it as a generic parameter. #include "ICP.h" #include "ipcache.h" === modified file 'src/neighbors.cc' --- src/neighbors.cc 2012-08-06 17:41:08 +0000 +++ src/neighbors.cc 2012-08-14 11:53:07 +0000 @@ -30,27 +30,28 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "anyp/PortCfg.h" #include "comm/Connection.h" #include "comm/ConnOpener.h" #include "event.h" +#include "globals.h" #include "htcp.h" #include "HttpRequest.h" +#include "icmp/net_db.h" #include "ICP.h" +#include "ip/Address.h" #include "ip/tools.h" #include "ipcache.h" #include "MemObject.h" +#include "mgr/Registration.h" #include "PeerDigest.h" #include "PeerSelectState.h" +#include "protos.h" #include "SquidMath.h" #include "SquidTime.h" #include "Store.h" -#include "icmp/net_db.h" -#include "ip/Address.h" -#include "ip/tools.h" -#include "mgr/Registration.h" /* count mcast group peers every 15 minutes */ #define MCAST_COUNT_RATE 900 === modified file 'src/pconn.cc' --- src/pconn.cc 2012-08-06 17:41:08 +0000 +++ src/pconn.cc 2012-08-14 11:53:07 +0000 @@ -32,13 +32,15 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "comm.h" #include "comm/Connection.h" +#include "fde.h" +#include "globals.h" #include "mgr/Registration.h" +#include "pconn.h" +#include "protos.h" #include "Store.h" -#include "pconn.h" -#include "comm.h" -#include "fde.h" #define PCONN_FDS_SZ 8 /* pconn set size, increase for better memcache hit rate */ === modified file 'src/peer_digest.cc' --- src/peer_digest.cc 2012-08-06 17:41:08 +0000 +++ src/peer_digest.cc 2012-08-14 11:53:07 +0000 @@ -33,17 +33,17 @@ * */ -#include "squid-old.h" +#include "squid.h" #if USE_CACHE_DIGESTS - #include "event.h" #include "forward.h" -#include "Store.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" #include "MemObject.h" #include "PeerDigest.h" +#include "protos.h" #include "SquidTime.h" +#include "Store.h" #include "StoreClient.h" /* local types */ === modified file 'src/peer_select.cc' --- src/peer_select.cc 2012-08-13 00:15:09 +0000 +++ src/peer_select.cc 2012-08-14 11:53:07 +0000 @@ -32,21 +32,23 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "acl/FilledChecklist.h" +#include "client_side.h" #include "DnsLookupDetails.h" #include "errorpage.h" #include "event.h" -#include "PeerSelectState.h" -#include "Store.h" +#include "forward.h" #include "hier_code.h" -#include "ICP.h" +#include "htcp.h" #include "HttpRequest.h" -#include "acl/FilledChecklist.h" -#include "htcp.h" -#include "forward.h" -#include "SquidTime.h" #include "icmp/net_db.h" +#include "ICP.h" #include "ipcache.h" +#include "PeerSelectState.h" +#include "protos.h" +#include "SquidTime.h" +#include "Store.h" static struct { int timeouts; === modified file 'src/peer_sourcehash.cc' --- src/peer_sourcehash.cc 2012-07-18 15:47:58 +0000 +++ src/peer_sourcehash.cc 2012-08-14 11:53:07 +0000 @@ -34,10 +34,15 @@ * */ -#include "squid-old.h" -#include "Store.h" +#include "squid.h" #include "HttpRequest.h" #include "mgr/Registration.h" +#include "protos.h" +#include "Store.h" + +#if HAVE_MATH_H +#include +#endif #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) === modified file 'src/peer_userhash.cc' --- src/peer_userhash.cc 2012-07-18 15:47:58 +0000 +++ src/peer_userhash.cc 2012-08-14 11:53:07 +0000 @@ -34,14 +34,20 @@ * */ -#include "squid-old.h" +#include "squid.h" #if USE_AUTH +#include "auth/UserRequest.h" +#include "globals.h" +#include "HttpRequest.h" #include "mgr/Registration.h" +#include "protos.h" #include "Store.h" -#include "HttpRequest.h" -#include "auth/UserRequest.h" + +#if HAVE_MATH_H +#include +#endif #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) === modified file 'src/protos.h' --- src/protos.h 2012-07-05 14:38:28 +0000 +++ src/protos.h 2012-08-14 11:53:07 +0000 @@ -51,21 +51,21 @@ #if USE_FORW_VIA_DB -SQUIDCEXTERN void fvdbCountVia(const char *key); -SQUIDCEXTERN void fvdbCountForw(const char *key); +extern void fvdbCountVia(const char *key); +extern void fvdbCountForw(const char *key); #endif #if HEADERS_LOG SQUIDCEXTERN void headersLog(int cs, int pq, const HttpRequestMethod& m, void *data); #endif -SQUIDCEXTERN int logTypeIsATcpHit(log_type); +extern int logTypeIsATcpHit(log_type); /* * cache_cf.c */ SQUIDCEXTERN void configFreeMemory(void); class MemBuf; -SQUIDCEXTERN void wordlistCat(const wordlist *, MemBuf * mb); -SQUIDCEXTERN void self_destruct(void); +extern void wordlistCat(const wordlist *, MemBuf * mb); +extern void self_destruct(void); SQUIDCEXTERN void add_http_port(char *portspec); extern int xatoi(const char *token); extern long xatol(const char *token); @@ -125,13 +125,13 @@ SQUIDCEXTERN void file_read(int, char *, int, off_t, DRCB *, void *); SQUIDCEXTERN void disk_init(void); -SQUIDCEXTERN void fd_close(int fd); -SQUIDCEXTERN void fd_open(int fd, unsigned int type, const char *); -SQUIDCEXTERN void fd_note(int fd, const char *); -SQUIDCEXTERN void fd_bytes(int fd, int len, unsigned int type); -SQUIDCEXTERN void fdDumpOpen(void); -SQUIDCEXTERN int fdUsageHigh(void); -SQUIDCEXTERN void fdAdjustReserved(void); +extern void fd_close(int fd); +extern void fd_open(int fd, unsigned int type, const char *); +extern void fd_note(int fd, const char *); +extern void fd_bytes(int fd, int len, unsigned int type); +extern void fdDumpOpen(void); +extern int fdUsageHigh(void); +extern void fdAdjustReserved(void); SQUIDCEXTERN void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *); @@ -144,7 +144,7 @@ SQUIDCEXTERN int fqdncacheQueueDrain(void); SQUIDCEXTERN void fqdncacheFreeMemory(void); SQUIDCEXTERN void fqdncache_restart(void); -void fqdncache_purgelru(void *); +extern void fqdncache_purgelru(void *); SQUIDCEXTERN void fqdncacheAddEntryFromHosts(char *addr, wordlist * hostnames); class FwdState; @@ -195,10 +195,9 @@ StoreEntry * entry, MemBuf * mb, http_state_flags); -SQUIDCEXTERN const char *httpMakeVaryMark(HttpRequest * request, HttpReply const * reply); +extern const char *httpMakeVaryMark(HttpRequest * request, HttpReply const * reply); #include "HttpStatusCode.h" -SQUIDCEXTERN const char *httpStatusString(http_status status); class StatHist; @@ -206,7 +205,7 @@ SQUIDCEXTERN void httpHdrCcInitModule(void); SQUIDCEXTERN void httpHdrCcCleanModule(void); SQUIDCEXTERN void httpHdrCcUpdateStats(const HttpHdrCc * cc, StatHist * hist); -void httpHdrCcStatDumper(StoreEntry * sentry, int idx, double val, double size, int count); +extern void httpHdrCcStatDumper(StoreEntry * sentry, int idx, double val, double size, int count); /* Http Header Tools */ class HttpHeaderFieldInfo; @@ -222,9 +221,7 @@ SQUIDCEXTERN int strListGetItem(const String * str, char del, const char **item, int *ilen, const char **pos); SQUIDCEXTERN const char *getStringPrefix(const char *str, const char *end); SQUIDCEXTERN int httpHeaderParseInt(const char *start, int *val); -SQUIDCEXTERN int httpHeaderParseOffset(const char *start, int64_t * off); -SQUIDCEXTERN void -httpHeaderPutStrf(HttpHeader * hdr, http_hdr_type id, const char *fmt,...) PRINTF_FORMAT_ARG3; +SQUIDCEXTERN void httpHeaderPutStrf(HttpHeader * hdr, http_hdr_type id, const char *fmt,...) PRINTF_FORMAT_ARG3; /* Http Header */ @@ -260,9 +257,9 @@ #endif /* SQUID_SNMP */ #if USE_WCCP -SQUIDCEXTERN void wccpInit(void); -SQUIDCEXTERN void wccpConnectionOpen(void); -SQUIDCEXTERN void wccpConnectionClose(void); +extern void wccpInit(void); +extern void wccpConnectionOpen(void); +extern void wccpConnectionClose(void); #endif /* USE_WCCP */ #if USE_WCCPv2 @@ -271,23 +268,23 @@ extern void wccp2ConnectionClose(void); #endif /* USE_WCCPv2 */ -SQUIDCEXTERN char *mime_get_header(const char *mime, const char *header); -SQUIDCEXTERN char *mime_get_header_field(const char *mime, const char *name, const char *prefix); -SQUIDCEXTERN size_t headersEnd(const char *, size_t); +extern char *mime_get_header(const char *mime, const char *header); +extern char *mime_get_header_field(const char *mime, const char *name, const char *prefix); +extern size_t headersEnd(const char *, size_t); -SQUIDCEXTERN void mimeInit(char *filename); -SQUIDCEXTERN void mimeFreeMemory(void); -SQUIDCEXTERN char *mimeGetContentEncoding(const char *fn); -SQUIDCEXTERN char *mimeGetContentType(const char *fn); -SQUIDCEXTERN char const *mimeGetIcon(const char *fn); -SQUIDCEXTERN const char *mimeGetIconURL(const char *fn); -SQUIDCEXTERN char mimeGetTransferMode(const char *fn); -SQUIDCEXTERN int mimeGetDownloadOption(const char *fn); -SQUIDCEXTERN int mimeGetViewOption(const char *fn); +extern void mimeInit(char *filename); +extern void mimeFreeMemory(void); +extern char *mimeGetContentEncoding(const char *fn); +extern char *mimeGetContentType(const char *fn); +extern char const *mimeGetIcon(const char *fn); +extern const char *mimeGetIconURL(const char *fn); +extern char mimeGetTransferMode(const char *fn); +extern int mimeGetDownloadOption(const char *fn); +extern int mimeGetViewOption(const char *fn); #include "ipcache.h" -SQUIDCEXTERN int mcastSetTtl(int, int); -SQUIDCEXTERN IPH mcastJoinGroups; +extern int mcastSetTtl(int, int); +extern IPH mcastJoinGroups; SQUIDCEXTERN peer *getFirstPeer(void); SQUIDCEXTERN peer *getFirstUpParent(HttpRequest *); @@ -405,15 +402,15 @@ /* ----------------------------------------------------------------- */ /* repl_modules.c */ -SQUIDCEXTERN void storeReplSetup(void); +extern void storeReplSetup(void); /* * store_log.c */ -SQUIDCEXTERN void storeLog(int tag, const StoreEntry * e); -SQUIDCEXTERN void storeLogRotate(void); -SQUIDCEXTERN void storeLogClose(void); -SQUIDCEXTERN void storeLogOpen(void); +extern void storeLog(int tag, const StoreEntry * e); +extern void storeLogRotate(void); +extern void storeLogClose(void); +extern void storeLogOpen(void); /* @@ -437,10 +434,10 @@ /* * store_digest.c */ -SQUIDCEXTERN void storeDigestInit(void); -SQUIDCEXTERN void storeDigestNoteStoreReady(void); -SQUIDCEXTERN void storeDigestScheduleRebuild(void); -SQUIDCEXTERN void storeDigestDel(const StoreEntry * entry); +extern void storeDigestInit(void); +extern void storeDigestNoteStoreReady(void); +extern void storeDigestScheduleRebuild(void); +extern void storeDigestDel(const StoreEntry * entry); extern void storeDigestReport(StoreEntry *); /* @@ -452,18 +449,18 @@ SQUIDCEXTERN void storeRebuildProgress(int sd_index, int total, int sofar); /// loads entry from disk; fills supplied memory buffer on success -bool storeRebuildLoadEntry(int fd, int diskIndex, MemBuf &buf, struct _store_rebuild_data &counts); +extern bool storeRebuildLoadEntry(int fd, int diskIndex, MemBuf &buf, struct _store_rebuild_data &counts); /// parses entry buffer and validates entry metadata; fills e on success -bool storeRebuildParseEntry(MemBuf &buf, StoreEntry &e, cache_key *key, struct _store_rebuild_data &counts, uint64_t expectedSize); +extern bool storeRebuildParseEntry(MemBuf &buf, StoreEntry &e, cache_key *key, struct _store_rebuild_data &counts, uint64_t expectedSize); /// checks whether the loaded entry should be kept; updates counters -bool storeRebuildKeepEntry(const StoreEntry &e, const cache_key *key, struct _store_rebuild_data &counts); +extern bool storeRebuildKeepEntry(const StoreEntry &e, const cache_key *key, struct _store_rebuild_data &counts); /* * store_swapin.c */ class store_client; -SQUIDCEXTERN void storeSwapInStart(store_client *); +extern void storeSwapInStart(store_client *); /* * store_client.c @@ -481,10 +478,10 @@ SQUIDCEXTERN void safeunlink(const char *path, int quiet); #include "fatal.h" -void death(int sig); -void sigusr2_handle(int sig); -void sig_child(int sig); -void sig_shutdown(int sig); ///< handles shutdown notifications from kids +extern void death(int sig); +extern void sigusr2_handle(int sig); +extern void sig_child(int sig); +extern void sig_shutdown(int sig); ///< handles shutdown notifications from kids SQUIDCEXTERN void leave_suid(void); SQUIDCEXTERN void enter_suid(void); SQUIDCEXTERN void no_suid(void); @@ -508,7 +505,7 @@ /// whether the current process handles HTTP transactions and such SQUIDCEXTERN bool IamWorkerProcess(); /// whether the current process is dedicated to managing a cache_dir -bool IamDiskProcess(); +extern bool IamDiskProcess(); /// Whether we are running in daemon mode SQUIDCEXTERN bool InDaemonMode(); // try using specific Iam*() checks above first /// Whether there should be more than one worker process running @@ -516,7 +513,7 @@ /// number of Kid processes as defined in src/ipc/Kid.h SQUIDCEXTERN int NumberOfKids(); /// a string describing this process roles such as worker or coordinator -String ProcessRoles(); +extern String ProcessRoles(); SQUIDCEXTERN int DebugSignal; /* AYJ debugs function to show locations being reset with memset() */ @@ -577,7 +574,7 @@ SQUIDCEXTERN void linklistPush(link_list **, void *); SQUIDCEXTERN void *linklistShift(link_list **); SQUIDCEXTERN int xrename(const char *from, const char *to); -SQUIDCEXTERN int isPowTen(int); +extern int isPowTen(int); SQUIDCEXTERN void parseEtcHosts(void); SQUIDCEXTERN int getMyPort(void); SQUIDCEXTERN void setUmask(mode_t mask); === modified file 'src/redirect.cc' --- src/redirect.cc 2012-07-18 15:47:58 +0000 +++ src/redirect.cc 2012-08-14 11:53:07 +0000 @@ -33,21 +33,23 @@ * */ -#include "squid-old.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif +#include "squid.h" +#include "acl/Checklist.h" +#include "client_side.h" +#include "client_side_reply.h" +#include "client_side_request.h" #include "comm/Connection.h" -#include "mgr/Registration.h" -#include "Store.h" #include "fde.h" -#include "client_side_request.h" -#include "acl/Checklist.h" +#include "globals.h" #include "HttpRequest.h" -#include "client_side.h" -#include "client_side_reply.h" #include "helper.h" +#include "mgr/Registration.h" +#include "protos.h" #include "rfc1738.h" +#include "Store.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif #if USE_SSL #include "ssl/support.h" #endif === modified file 'src/refresh.cc' --- src/refresh.cc 2012-07-18 15:47:58 +0000 +++ src/refresh.cc 2012-08-14 11:53:07 +0000 @@ -37,14 +37,15 @@ #define USE_POSIX_REGEX /* put before includes; always use POSIX */ #endif -#include "squid-old.h" +#include "squid.h" +#include "mgr/Registration.h" #include "HttpHdrCc.h" -#include "mgr/Registration.h" -#include "Store.h" -#include "MemObject.h" #include "HttpRequest.h" #include "HttpReply.h" +#include "MemObject.h" +#include "protos.h" #include "SquidTime.h" +#include "Store.h" typedef enum { rcHTTP, === modified file 'src/repl/heap/store_heap_replacement.cc' --- src/repl/heap/store_heap_replacement.cc 2012-01-20 18:55:04 +0000 +++ src/repl/heap/store_heap_replacement.cc 2012-08-14 11:53:07 +0000 @@ -41,13 +41,17 @@ * http://www.hpl.hp.com/techreports/1999/HPL-1999-69.html */ -#include "squid-old.h" +#include "squid.h" #include "heap.h" #include "store_heap_replacement.h" #include "Store.h" #include "MemObject.h" #include "SquidTime.h" +#if HAVE_MATH_H +#include +#endif + /* * Key generation function to implement the LFU-DA policy (Least * Frequently Used with Dynamic Aging). Similar to classical LFU === modified file 'src/repl/heap/store_repl_heap.cc' --- src/repl/heap/store_repl_heap.cc 2012-08-06 17:41:08 +0000 +++ src/repl/heap/store_repl_heap.cc 2012-08-14 11:53:07 +0000 @@ -41,8 +41,9 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "heap.h" +#include "protos.h" #include "store_heap_replacement.h" #include "Store.h" #include "MemObject.h" === modified file 'src/repl/lru/store_repl_lru.cc' --- src/repl/lru/store_repl_lru.cc 2012-07-13 10:48:12 +0000 +++ src/repl/lru/store_repl_lru.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "MemObject.h" #include "SquidTime.h" === modified file 'src/send-announce.cc' --- src/send-announce.cc 2012-08-06 17:21:57 +0000 +++ src/send-announce.cc 2012-08-14 11:53:07 +0000 @@ -33,12 +33,14 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "comm/Connection.h" #include "event.h" #include "fde.h" +#include "globals.h" #include "ICP.h" #include "ipcache.h" +#include "protos.h" #include "SquidTime.h" static IPH send_announce; === modified file 'src/snmp/Forwarder.cc' --- src/snmp/Forwarder.cc 2012-01-20 18:55:04 +0000 +++ src/snmp/Forwarder.cc 2012-08-14 11:53:07 +0000 @@ -9,6 +9,7 @@ #include "base/TextException.h" #include "CommCalls.h" #include "comm.h" +#include "globals.h" #include "ipc/Port.h" #include "snmp_core.h" #include "snmp/Forwarder.h" === modified file 'src/snmp_agent.cc' --- src/snmp_agent.cc 2012-07-18 15:47:58 +0000 +++ src/snmp_agent.cc 2012-08-14 11:53:07 +0000 @@ -32,14 +32,16 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "cache_snmp.h" -#include "Store.h" +#include "globals.h" #include "mem_node.h" +#include "protos.h" #include "StatCounters.h" #include "StatHist.h" #include "SquidMath.h" #include "SquidTime.h" +#include "Store.h" /************************************************************************ === modified file 'src/snmp_core.cc' --- src/snmp_core.cc 2012-08-06 17:21:57 +0000 +++ src/snmp_core.cc 2012-08-14 11:53:07 +0000 @@ -29,7 +29,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * */ -#include "squid-old.h" +#include "squid.h" #include "acl/FilledChecklist.h" #include "base/CbcPointer.h" #include "comm.h" @@ -38,6 +38,7 @@ #include "comm/UdpOpenDialer.h" #include "ip/Address.h" #include "ip/tools.h" +#include "protos.h" #include "snmp_core.h" #include "snmp/Forwarder.h" === removed file 'src/squid-old.h' --- src/squid-old.h 2012-08-09 10:32:57 +0000 +++ src/squid-old.h 1970-01-01 00:00:00 +0000 @@ -1,170 +0,0 @@ -/* - * AUTHOR: Duane Wessels - * - * SQUID Web Proxy Cache http://www.squid-cache.org/ - * ---------------------------------------------------------- - * - * Squid is the result of efforts by numerous individuals from - * the Internet community; see the CONTRIBUTORS file for full - * details. Many organizations have provided support for Squid's - * development; see the SPONSORS file for full details. Squid is - * Copyrighted (C) 2001 by the Regents of the University of - * California; see the COPYRIGHT file for full details. Squid - * incorporates software developed and/or copyrighted by other - * sources; see the CREDITS file for full details. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. - * - */ - -#ifndef SQUID_H -#define SQUID_H - -#include "squid.h" - -#if HAVE_UNISTD_H -#include -#endif -#if HAVE_STDIO_H -#include -#endif -#if HAVE_CTYPE_H -#include -#endif -#if HAVE_ERRNO_H -#include -#endif -#if HAVE_GRP_H -#include -#endif -#if HAVE_GNUMALLOC_H -#include -#elif HAVE_MALLOC_H -#include -#endif -#if HAVE_MEMORY_H -#include -#endif -#if HAVE_NETDB_H -#include -#endif -#if HAVE_PATHS_H -#include -#endif -#if HAVE_PWD_H -#include -#endif -#if HAVE_SIGNAL_H -#include -#endif -#if HAVE_TIME_H -#include -#endif -#if HAVE_SYS_PARAM_H -#include -#endif -#if HAVE_SYS_TIME_H -#include -#endif -#if HAVE_SYS_RESOURCE_H -#include /* needs sys/time.h above it */ -#endif -#if HAVE_SYS_SOCKET_H -#include -#endif -#if HAVE_NETINET_IN_H -#include -#endif -#if HAVE_ARPA_INET_H -#include -#endif -#if HAVE_SYS_STAT_H -#include -#endif -#if HAVE_SYS_UN_H -#include -#endif -#if HAVE_SYS_WAIT_H -#include -#endif -#if HAVE_LIBC_H -#include -#endif -#if HAVE_SYS_SYSCALL_H -#include -#endif -#if HAVE_STRING_H -#include -#endif -#if HAVE_STRINGS_H -#include -#endif -#if HAVE_BSTRING_H -#include -#endif -#if HAVE_GETOPT_H -#include -#endif -#if HAVE_LIMITS_H -#include -#endif -#if _SQUID_WINDOWS_ -#include -#endif -#if HAVE_SYS_MOUNT_H -#include -#endif -#if HAVE_MATH_H -#include -#endif - -#ifndef MAXPATHLEN -#define MAXPATHLEN SQUID_MAXPATHLEN -#endif - -#include "md5.h" -#if SQUID_SNMP -#include "cache_snmp.h" -#endif -#include "hash.h" -#include "rfc3596.h" -#include "defines.h" -#include "enums.h" -#include "typedefs.h" -#include "util.h" -#include "profiler/Profiler.h" -#include "MemPool.h" -#include "ip/Address.h" -#include "structs.h" -#include "protos.h" -#include "globals.h" - -/* - * I'm sick of having to keep doing this .. - */ -#define INDEXSD(i) (Config.cacheSwap.swapDirs[(i)].getRaw()) - -#define FD_READ_METHOD(fd, buf, len) (*fd_table[fd].read_method)(fd, buf, len) -#define FD_WRITE_METHOD(fd, buf, len) (*fd_table[fd].write_method)(fd, buf, len) - -#ifndef IPPROTO_UDP -#define IPPROTO_UDP 0 -#endif - -#ifndef IPPROTO_TCP -#define IPPROTO_TCP 0 -#endif - -#endif /* SQUID_H */ === modified file 'src/ssl/ErrorDetail.cc' --- src/ssl/ErrorDetail.cc 2012-07-23 15:34:12 +0000 +++ src/ssl/ErrorDetail.cc 2012-08-14 11:53:07 +0000 @@ -1,9 +1,12 @@ -#include "squid-old.h" +#include "squid.h" #include "errorpage.h" #include "ssl/ErrorDetail.h" #if HAVE_MAP #include #endif +#if HAVE_CLIMITS +#include +#endif struct SslErrorEntry { Ssl::ssl_error_t value; === modified file 'src/ssl/ErrorDetailManager.cc' --- src/ssl/ErrorDetailManager.cc 2012-07-13 10:48:12 +0000 +++ src/ssl/ErrorDetailManager.cc 2012-08-14 11:53:07 +0000 @@ -1,7 +1,8 @@ -#include "squid-old.h" +#include "squid.h" #include "ErrorDetail.h" #include "errorpage.h" #include "ErrorDetailManager.h" +#include "protos.h" void Ssl::errorDetailInitialize() { === modified file 'src/ssl/ServerBump.cc' --- src/ssl/ServerBump.cc 2012-07-19 00:12:22 +0000 +++ src/ssl/ServerBump.cc 2012-08-14 11:53:07 +0000 @@ -9,6 +9,7 @@ #include "client_side.h" #include "forward.h" +#include "protos.h" #include "ssl/ServerBump.h" #include "Store.h" === modified file 'src/ssl/ServerBump.h' --- src/ssl/ServerBump.h 2012-06-19 21:51:49 +0000 +++ src/ssl/ServerBump.h 2012-08-14 11:53:07 +0000 @@ -8,6 +8,7 @@ #include "ip/Address.h" class ConnStateData; +class store_client; namespace Ssl { === modified file 'src/ssl/support.cc' --- src/ssl/support.cc 2012-08-06 17:21:57 +0000 +++ src/ssl/support.cc 2012-08-14 11:53:07 +0000 @@ -33,15 +33,17 @@ * */ -#include "squid-old.h" +#include "squid.h" /* MS Visual Studio Projects are monolithic, so we need the following * #if to exclude the SSL code from compile process when not needed. */ #if USE_SSL +#include "acl/FilledChecklist.h" #include "fde.h" -#include "acl/FilledChecklist.h" +#include "globals.h" +#include "protos.h" #include "ssl/ErrorDetail.h" #include "ssl/support.h" #include "ssl/gadgets.h" === modified file 'src/stat.cc' --- src/stat.cc 2012-08-06 17:41:08 +0000 +++ src/stat.cc 2012-08-14 11:53:07 +0000 @@ -32,36 +32,38 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "client_side_request.h" +#include "client_side.h" +#include "comm/Connection.h" #include "comm/Loops.h" #include "event.h" +#include "fde.h" #include "format/Token.h" -#include "StoreClient.h" -#if USE_AUTH -#include "auth/UserRequest.h" -#endif -#include "comm/Connection.h" -#include "mgr/Registration.h" -#include "Store.h" +#include "globals.h" #include "HttpRequest.h" #include "MemObject.h" -#include "fde.h" #include "mem_node.h" -#if USE_DELAY_POOLS -#include "DelayId.h" -#endif -#include "client_side_request.h" -#include "client_side.h" #include "MemBuf.h" -#include "SquidMath.h" -#include "SquidTime.h" -#include "StatCounters.h" #include "mgr/CountersAction.h" #include "mgr/FunAction.h" #include "mgr/InfoAction.h" #include "mgr/IntervalAction.h" #include "mgr/IoAction.h" +#include "mgr/Registration.h" #include "mgr/ServiceTimesAction.h" +#include "protos.h" +#include "SquidMath.h" +#include "SquidTime.h" +#include "StatCounters.h" +#include "StoreClient.h" +#include "Store.h" +#if USE_AUTH +#include "auth/UserRequest.h" +#endif +#if USE_DELAY_POOLS +#include "DelayId.h" +#endif #if USE_SSL #include "ssl/support.h" #endif === modified file 'src/stmem.cc' --- src/stmem.cc 2012-08-06 17:41:08 +0000 +++ src/stmem.cc 2012-08-14 11:53:07 +0000 @@ -34,11 +34,12 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" -#include "stmem.h" +#include "squid.h" +#include "Generic.h" #include "mem_node.h" #include "MemObject.h" -#include "Generic.h" +#include "profiler/Profiler.h" +#include "stmem.h" /* * NodeGet() is called to get the data buffer to pass to storeIOWrite(). === modified file 'src/store.cc' --- src/store.cc 2012-08-06 17:41:08 +0000 +++ src/store.cc 2012-08-14 11:53:07 +0000 @@ -33,31 +33,37 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "CacheManager.h" #include "comm/Connection.h" #include "ETag.h" #include "event.h" #include "fde.h" -#include "Store.h" -#include "mgr/Registration.h" -#include "StoreClient.h" -#include "stmem.h" +#include "http.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "mem_node.h" #include "MemObject.h" -#include "mem_node.h" +#include "mgr/Registration.h" +#include "mgr/StoreIoAction.h" +#include "profiler/Profiler.h" +#include "protos.h" +#include "SquidTime.h" +#include "Stack.h" #include "StatCounters.h" +#include "stmem.h" +#include "StoreClient.h" +#include "Store.h" +#include "StoreIOState.h" #include "StoreMeta.h" #include "SwapDir.h" -#include "StoreIOState.h" +#include "swap_log_op.h" #if USE_DELAY_POOLS #include "DelayPools.h" #endif -#include "Stack.h" -#include "SquidTime.h" -#include "swap_log_op.h" -#include "mgr/StoreIoAction.h" +#if HAVE_LIMITS_H +#include +#endif static STMCB storeWriteComplete; === modified file 'src/store_client.cc' --- src/store_client.cc 2012-08-06 17:41:08 +0000 +++ src/store_client.cc 2012-08-14 11:53:07 +0000 @@ -34,20 +34,22 @@ * Portions copyright (c) 2003 Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "event.h" -#include "StoreClient.h" -#include "Store.h" #include "HttpReply.h" +#include "HttpRequest.h" +#include "MemBuf.h" #include "MemObject.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "StatCounters.h" +#include "StoreClient.h" +#include "Store.h" #include "StoreMeta.h" #include "StoreMetaUnpacker.h" #if USE_DELAY_POOLS #include "DelayPools.h" #endif -#include "HttpRequest.h" -#include "MemBuf.h" /* * NOTE: 'Header' refers to the swapfile metadata header. === modified file 'src/store_digest.cc' --- src/store_digest.cc 2012-08-06 17:21:57 +0000 +++ src/store_digest.cc 2012-08-14 11:53:07 +0000 @@ -40,19 +40,26 @@ * storeDigestRebuild/write schedule to be activated */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" #include "event.h" +#include "globals.h" #include "mgr/Registration.h" +#include "protos.h" #if USE_CACHE_DIGESTS -#include "Store.h" +#include "HttpReply.h" #include "HttpRequest.h" -#include "HttpReply.h" #include "MemObject.h" #include "PeerDigest.h" #include "SquidTime.h" +#include "Store.h" #include "StoreSearch.h" +#if HAVE_MATH_H +#include +#endif + /* * local types */ === modified file 'src/store_dir.cc' --- src/store_dir.cc 2012-08-06 17:21:57 +0000 +++ src/store_dir.cc 2012-08-14 11:53:07 +0000 @@ -33,13 +33,16 @@ * */ -#include "squid-old.h" -#include "Store.h" +#include "squid.h" +#include "globals.h" +#include "mem_node.h" #include "MemObject.h" #include "MemStore.h" -#include "mem_node.h" +#include "profiler/Profiler.h" +#include "protos.h" #include "SquidMath.h" #include "SquidTime.h" +#include "Store.h" #include "SwapDir.h" #include "swap_log_op.h" @@ -59,6 +62,9 @@ #if HAVE_SYS_VFS_H #include #endif +#if HAVE_SYS_WAIT_H +#include +#endif #include "StoreHashIndex.h" === modified file 'src/store_io.cc' --- src/store_io.cc 2012-07-18 15:47:58 +0000 +++ src/store_io.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "Store.h" #include "MemObject.h" #include "SwapDir.h" === modified file 'src/store_key_md5.cc' --- src/store_key_md5.cc 2012-07-18 15:47:58 +0000 +++ src/store_key_md5.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,10 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "HttpRequest.h" +#include "md5.h" +#include "protos.h" static cache_key null_key[SQUID_MD5_DIGEST_LENGTH]; === modified file 'src/store_log.cc' --- src/store_log.cc 2012-08-06 17:21:57 +0000 +++ src/store_log.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "format/Token.h" #include "HttpReply.h" #include "log/File.h" === modified file 'src/store_rebuild.cc' --- src/store_rebuild.cc 2012-08-06 17:21:57 +0000 +++ src/store_rebuild.cc 2012-08-14 11:53:07 +0000 @@ -33,8 +33,11 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "event.h" +#include "globals.h" +#include "md5.h" +#include "protos.h" #include "StatCounters.h" #include "Store.h" #include "SwapDir.h" === modified file 'src/store_swapin.cc' --- src/store_swapin.cc 2012-08-06 17:21:57 +0000 +++ src/store_swapin.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,8 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "globals.h" #include "StatCounters.h" #include "StoreClient.h" #include "Store.h" === modified file 'src/store_swapmeta.cc' --- src/store_swapmeta.cc 2012-07-18 15:47:58 +0000 +++ src/store_swapmeta.cc 2012-08-14 11:53:07 +0000 @@ -33,12 +33,17 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "md5.h" +#include "MemObject.h" #include "Store.h" -#include "MemObject.h" #include "StoreMeta.h" #include "StoreMetaUnpacker.h" +#if HAVE_SYS_WAIT_H +#include +#endif + void storeSwapTLVFree(tlv * n) { === modified file 'src/store_swapout.cc' --- src/store_swapout.cc 2012-08-06 17:41:08 +0000 +++ src/store_swapout.cc 2012-08-14 11:53:07 +0000 @@ -33,13 +33,14 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "cbdata.h" #include "StoreClient.h" #include "Store.h" /* FIXME: Abstract the use of this more */ #include "mem_node.h" #include "MemObject.h" +#include "protos.h" #include "SwapDir.h" #include "StatCounters.h" #include "swap_log_op.h" === modified file 'src/structs.h' --- src/structs.h 2012-07-18 16:21:47 +0000 +++ src/structs.h 2012-08-14 11:53:07 +0000 @@ -31,8 +31,11 @@ #include "RefCount.h" #include "cbdata.h" +#include "defines.h" #include "dlink.h" #include "err_type.h" +#include "hash.h" +#include "ip/Address.h" /* needed for the global config */ #include "HttpHeader.h" @@ -63,6 +66,7 @@ #if SQUID_SNMP +#include "snmp_session.h" struct _snmp_request_t { u_char *buf; u_char *outbuf; === modified file 'src/test_cache_digest.cc' --- src/test_cache_digest.cc 2012-07-20 15:31:04 +0000 +++ src/test_cache_digest.cc 2012-08-14 11:53:07 +0000 @@ -36,7 +36,7 @@ * Test-suite for playing with cache digests */ -#include "squid-old.h" +#include "squid.h" typedef struct { int query_count; === modified file 'src/tests/TestSwapDir.cc' --- src/tests/TestSwapDir.cc 2012-01-20 18:55:04 +0000 +++ src/tests/TestSwapDir.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,4 @@ #include "squid.h" - -#include "squid-old.h" #include "TestSwapDir.h" uint64_t === modified file 'src/tests/TestSwapDir.h' --- src/tests/TestSwapDir.h 2012-01-20 18:55:04 +0000 +++ src/tests/TestSwapDir.h 2012-08-14 11:53:07 +0000 @@ -1,7 +1,6 @@ #ifndef TEST_TESTSWAPDIR #define TEST_TESTSWAPDIR -#include "squid-old.h" #include "SwapDir.h" class TestSwapDir : public SwapDir === modified file 'src/tests/stub_DelayId.cc' --- src/tests/stub_DelayId.cc 2012-08-08 07:35:10 +0000 +++ src/tests/stub_DelayId.cc 2012-08-14 11:53:07 +0000 @@ -35,7 +35,6 @@ #include "squid.h" #if USE_DELAY_POOLS -#include "squid-old.h" #include "DelayId.h" #define STUB_API "stub_DelayId.cc" === modified file 'src/tests/stub_access_log.cc' --- src/tests/stub_access_log.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_access_log.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #include "HierarchyLogEntry.h" #define STUB_API "access.log.cc" === modified file 'src/tests/stub_acl.cc' --- src/tests/stub_acl.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_acl.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" /* * DO NOT MODIFY: === modified file 'src/tests/stub_cache_cf.cc' --- src/tests/stub_cache_cf.cc 2012-08-07 15:58:08 +0000 +++ src/tests/stub_cache_cf.cc 2012-08-14 11:53:07 +0000 @@ -32,8 +32,9 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "ConfigParser.h" +#include "protos.h" #include "wordlist.h" #define STUB_API "cache_cf.cc" === modified file 'src/tests/stub_cache_manager.cc' --- src/tests/stub_cache_manager.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_cache_manager.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ -#include "squid-old.h" +#include "squid.h" #include "CacheManager.h" +#include "Debug.h" #include "mgr/Registration.h" #define STUB_API "cache_manager.cc" === modified file 'src/tests/stub_errorpage.cc' --- src/tests/stub_errorpage.cc 2012-02-05 11:24:07 +0000 +++ src/tests/stub_errorpage.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ #include "squid.h" #include "errorpage.h" +#include "protos.h" #define STUB_API "errorpage.cc" #include "tests/STUB.h" === modified file 'src/tests/stub_fd.cc' --- src/tests/stub_fd.cc 2012-07-30 08:49:59 +0000 +++ src/tests/stub_fd.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,6 @@ #include "squid.h" #include "fde.h" +#include "protos.h" #define STUB_API "fd.cc" #include "tests/STUB.h" === modified file 'src/tests/stub_http.cc' --- src/tests/stub_http.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_http.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,7 @@ -#include "squid-old.h" +#include "squid.h" + +#include "HttpRequest.h" +#include "HttpReply.h" #define STUB_API "http.cc" #include "tests/STUB.h" === modified file 'src/tests/stub_stat.cc' --- src/tests/stub_stat.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_stat.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" /* * DO NOT MODIFY: === modified file 'src/tests/stub_store.cc' --- src/tests/stub_store.cc 2012-06-18 23:08:56 +0000 +++ src/tests/stub_store.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #define STUB_API "store.cc" #include "tests/STUB.h" === modified file 'src/tests/stub_store_client.cc' --- src/tests/stub_store_client.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_store_client.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,7 @@ -#include "squid-old.h" +#include "squid.h" #include "StoreClient.h" #include "Store.h" +#include "protos.h" #define STUB_API "store_client.cc" #include "tests/STUB.h" === modified file 'src/tests/stub_store_rebuild.cc' --- src/tests/stub_store_rebuild.cc 2012-08-08 09:24:40 +0000 +++ src/tests/stub_store_rebuild.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,9 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "MemBuf.h" +#include "protos.h" #define STUB_API "stub_store_rebuild.cc" #include "tests/STUB.h" === modified file 'src/tests/stub_store_stats.cc' --- src/tests/stub_store_stats.cc 2012-01-20 18:55:04 +0000 +++ src/tests/stub_store_stats.cc 2012-08-14 11:53:07 +0000 @@ -1,4 +1,4 @@ -#include "squid-old.h" +#include "squid.h" #define STUB_API "StoreStats.cc" #include "tests/STUB.h" === modified file 'src/tests/testACLMaxUserIP.cc' --- src/tests/testACLMaxUserIP.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testACLMaxUserIP.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #if USE_AUTH === modified file 'src/tests/testAuth.cc' --- src/tests/testAuth.cc 2012-07-13 10:48:12 +0000 +++ src/tests/testAuth.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #if USE_AUTH === modified file 'src/tests/testBoilerplate.cc' --- src/tests/testBoilerplate.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testBoilerplate.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testBoilerplate.h" #if HAVE_STDEXCEPT === modified file 'src/tests/testCacheManager.cc' --- src/tests/testCacheManager.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testCacheManager.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include #include "mgr/Action.h" === modified file 'src/tests/testCoss.cc' --- src/tests/testCoss.cc 2012-08-10 06:56:49 +0000 +++ src/tests/testCoss.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,5 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testCoss.h" #include "Store.h" #include "SwapDir.h" === modified file 'src/tests/testDiskIO.cc' --- src/tests/testDiskIO.cc 2012-08-10 06:56:49 +0000 +++ src/tests/testDiskIO.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testDiskIO.h" #include "Store.h" #include "SwapDir.h" === modified file 'src/tests/testEvent.cc' --- src/tests/testEvent.cc 2012-07-13 10:48:12 +0000 +++ src/tests/testEvent.cc 2012-08-14 11:53:07 +0000 @@ -3,11 +3,12 @@ #include -#include "testEvent.h" -#include "event.h" #include "base/AsyncCallQueue.h" #include "CapturingStoreEntry.h" +#include "event.h" #include "Mem.h" +#include "protos.h" +#include "testEvent.h" CPPUNIT_TEST_SUITE_REGISTRATION( testEvent ); === modified file 'src/tests/testEventLoop.cc' --- src/tests/testEventLoop.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testEventLoop.cc 2012-08-14 11:53:07 +0000 @@ -6,12 +6,7 @@ #include "testEventLoop.h" #include "EventLoop.h" #include "Mem.h" - -#if 0 -#include "AsyncEngine.h" -#include "base/AsyncCallQueue.h" -#include "event.h" -#endif +#include "protos.h" CPPUNIT_TEST_SUITE_REGISTRATION( testEventLoop ); === modified file 'src/tests/testHttpParser.cc' --- src/tests/testHttpParser.cc 2012-06-13 03:17:53 +0000 +++ src/tests/testHttpParser.cc 2012-08-14 11:53:07 +0000 @@ -7,6 +7,7 @@ #include "HttpParser.h" #include "Mem.h" #include "MemBuf.h" +#include "structs.h" CPPUNIT_TEST_SUITE_REGISTRATION( testHttpParser ); === modified file 'src/tests/testHttpReply.cc' --- src/tests/testHttpReply.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testHttpReply.cc 2012-08-14 11:53:07 +0000 @@ -5,6 +5,7 @@ #include "testHttpReply.h" #include "HttpReply.h" #include "Mem.h" +#include "protos.h" CPPUNIT_TEST_SUITE_REGISTRATION( testHttpReply ); === modified file 'src/tests/testHttpRequest.cc' --- src/tests/testHttpRequest.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testHttpRequest.cc 2012-08-14 11:53:07 +0000 @@ -6,6 +6,7 @@ #include "testHttpRequest.h" #include "HttpRequest.h" #include "Mem.h" +#include "protos.h" CPPUNIT_TEST_SUITE_REGISTRATION( testHttpRequest ); === modified file 'src/tests/testHttpRequestMethod.cc' --- src/tests/testHttpRequestMethod.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testHttpRequestMethod.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include #include "Mem.h" === modified file 'src/tests/testNull.cc' --- src/tests/testNull.cc 2012-08-10 06:56:49 +0000 +++ src/tests/testNull.cc 2012-08-14 11:53:07 +0000 @@ -1,5 +1,5 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testNull.h" #include "Store.h" #include "SwapDir.h" === modified file 'src/tests/testRock.cc' --- src/tests/testRock.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testRock.cc 2012-08-14 11:53:07 +0000 @@ -2,18 +2,23 @@ #include "squid.h" #include "DiskIO/DiskIOModule.h" +#include "fs/rock/RockSwapDir.h" +#include "globals.h" #include "HttpHeader.h" #include "HttpReply.h" #include "Mem.h" #include "MemObject.h" +#include "protos.h" #include "Store.h" #include "StoreFileSystem.h" #include "StoreSearch.h" #include "SwapDir.h" -#include "fs/rock/RockSwapDir.h" #include "testRock.h" #include "testStoreSupport.h" +#if HAVE_SYS_STAT_H +#include +#endif #if HAVE_STDEXCEPT #include #endif === modified file 'src/tests/testStore.cc' --- src/tests/testStore.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testStore.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testStore.h" #include "Store.h" === modified file 'src/tests/testStore.h' --- src/tests/testStore.h 2012-01-20 18:55:04 +0000 +++ src/tests/testStore.h 2012-08-14 11:53:07 +0000 @@ -2,7 +2,6 @@ #ifndef SQUID_SRC_TEST_STORE_H #define SQUID_SRC_TEST_STORE_H -#include "squid-old.h" #include "Store.h" #include === modified file 'src/tests/testStoreController.cc' --- src/tests/testStoreController.cc 2012-07-13 10:48:12 +0000 +++ src/tests/testStoreController.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testStoreController.h" #include "Store.h" === modified file 'src/tests/testStoreEntryStream.cc' --- src/tests/testStoreEntryStream.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testStoreEntryStream.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "Mem.h" #include "testStore.h" #include "testStoreEntryStream.h" === modified file 'src/tests/testStoreHashIndex.cc' --- src/tests/testStoreHashIndex.cc 2012-07-13 10:48:12 +0000 +++ src/tests/testStoreHashIndex.cc 2012-08-14 11:53:07 +0000 @@ -1,6 +1,6 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include "testStoreHashIndex.h" #include "Store.h" === modified file 'src/tests/testURLScheme.cc' --- src/tests/testURLScheme.cc 2012-01-20 18:55:04 +0000 +++ src/tests/testURLScheme.cc 2012-08-14 11:53:07 +0000 @@ -1,10 +1,11 @@ #define SQUID_UNIT_TEST 1 -#include "squid-old.h" +#include "squid.h" #include #include "Mem.h" +#include "SquidString.h" #include "testURLScheme.h" #include "URLScheme.h" === modified file 'src/tests/testUfs.cc' --- src/tests/testUfs.cc 2012-08-10 06:56:49 +0000 +++ src/tests/testUfs.cc 2012-08-14 11:53:07 +0000 @@ -2,15 +2,17 @@ #include "squid.h" #include "DiskIO/DiskIOModule.h" +#include "fs/ufs/UFSSwapDir.h" +#include "globals.h" #include "HttpHeader.h" #include "HttpReply.h" #include "Mem.h" #include "MemObject.h" +#include "protos.h" +#include "Store.h" +#include "SwapDir.h" #include "testStoreSupport.h" #include "testUfs.h" -#include "Store.h" -#include "SwapDir.h" -#include "fs/ufs/UFSSwapDir.h" #if HAVE_STDEXCEPT #include === modified file 'src/tools.cc' --- src/tools.cc 2012-08-06 17:41:08 +0000 +++ src/tools.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "base/Subscription.h" #include "fde.h" #include "htcp.h" @@ -46,12 +46,22 @@ #include "ipc/Kids.h" #include "ipc/Coordinator.h" #include "ipcache.h" +#include "protos.h" #include "SwapDir.h" #include "wordlist.h" #if HAVE_SYS_PRCTL_H #include #endif +#if HAVE_SYS_STAT_H +#include +#endif +#if HAVE_SYS_WAIT_H +#include +#endif +#if HAVE_GRP_H +#include +#endif #define DEAD_MSG "\ The Squid Cache (version %s) died.\n\ === modified file 'src/tunnel.cc' --- src/tunnel.cc 2012-07-23 07:02:06 +0000 +++ src/tunnel.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "errorpage.h" #include "HttpRequest.h" #include "fde.h" @@ -44,15 +44,21 @@ #include "comm/Write.h" #include "client_side_request.h" #include "acl/FilledChecklist.h" -#if USE_DELAY_POOLS -#include "DelayId.h" -#endif #include "client_side.h" #include "MemBuf.h" #include "http.h" #include "PeerSelectState.h" +#include "protos.h" #include "StatCounters.h" +#if USE_DELAY_POOLS +#include "DelayId.h" +#endif + +#if HAVE_LIMITS_H +#include +#endif + class TunnelStateData { === modified file 'src/typedefs.h' --- src/typedefs.h 2012-03-07 23:33:53 +0000 +++ src/typedefs.h 2012-08-14 11:53:07 +0000 @@ -31,7 +31,8 @@ * */ -#include "squid-old.h" +#include "enums.h" +#include "rfc1035.h" #ifndef SQUID_TYPEDEFS_H #define SQUID_TYPEDEFS_H @@ -98,6 +99,8 @@ #endif #if SQUID_SNMP +#include "snmp_vars.h" +#include "cache_snmp.h" typedef variable_list *(oid_ParseFn) (variable_list *, snint *); typedef struct _snmp_request_t snmp_request_t; === modified file 'src/unlinkd.cc' --- src/unlinkd.cc 2012-08-06 17:21:57 +0000 +++ src/unlinkd.cc 2012-08-14 11:53:07 +0000 @@ -33,12 +33,14 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "fde.h" +#include "globals.h" +#include "xusleep.h" +#include "protos.h" #include "SquidTime.h" #include "StatCounters.h" #include "SwapDir.h" -#include "fde.h" -#include "xusleep.h" /* This code gets linked to Squid */ === modified file 'src/url.cc' --- src/url.cc 2012-08-06 17:41:08 +0000 +++ src/url.cc 2012-08-14 11:53:07 +0000 @@ -34,10 +34,12 @@ */ #include "squid.h" +#include "globals.h" +#include "HttpRequest.h" +#include "protos.h" +#include "rfc1738.h" #include "URL.h" -#include "HttpRequest.h" #include "URLScheme.h" -#include "rfc1738.h" static HttpRequest *urlParseFinish(const HttpRequestMethod& method, const AnyP::ProtocolType protocol, === modified file 'src/urn.cc' --- src/urn.cc 2012-08-06 17:21:57 +0000 +++ src/urn.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "errorpage.h" #include "StoreClient.h" #include "Store.h" @@ -41,8 +41,10 @@ #include "HttpRequest.h" #include "MemBuf.h" #include "forward.h" +#include "globals.h" #include "SquidTime.h" #include "icmp/net_db.h" +#include "protos.h" #define URN_REQBUF_SZ 4096 === modified file 'src/wccp.cc' --- src/wccp.cc 2012-08-06 17:21:57 +0000 +++ src/wccp.cc 2012-08-14 11:53:07 +0000 @@ -35,12 +35,12 @@ #include "squid.h" #if USE_WCCP - -#include "squid-old.h" #include "comm.h" #include "comm/Connection.h" #include "comm/Loops.h" #include "event.h" +#include "structs.h" + #define WCCP_PORT 2048 #define WCCP_REVISION 0 === modified file 'src/wccp2.cc' --- src/wccp2.cc 2012-08-06 17:41:08 +0000 +++ src/wccp2.cc 2012-08-14 11:53:07 +0000 @@ -30,7 +30,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #if USE_WCCPv2 @@ -40,7 +40,9 @@ #include "compat/strsep.h" #include "event.h" #include "ip/Address.h" +#include "md5.h" #include "Parsing.h" +#include "protos.h" #include "Store.h" #include "SwapDir.h" === modified file 'src/whois.cc' --- src/whois.cc 2012-04-20 17:14:56 +0000 +++ src/whois.cc 2012-08-14 11:53:07 +0000 @@ -33,16 +33,17 @@ * */ -#include "squid-old.h" +#include "squid.h" +#include "comm.h" #include "comm/Write.h" #include "errorpage.h" -#include "Store.h" #include "HttpReply.h" #include "HttpRequest.h" -#include "comm.h" #include "HttpRequest.h" #include "forward.h" +#include "protos.h" #include "StatCounters.h" +#include "Store.h" #define WHOIS_PORT 43 === modified file 'src/win32.cc' --- src/win32.cc 2012-07-19 13:49:54 +0000 +++ src/win32.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "squid_windows.h" #if _SQUID_MSWIN_ === modified file 'src/wordlist.h' --- src/wordlist.h 2012-01-20 18:55:04 +0000 +++ src/wordlist.h 2012-08-14 11:53:07 +0000 @@ -32,8 +32,9 @@ #ifndef SQUID_WORDLIST_H #define SQUID_WORDLIST_H -#include "squid-old.h" +#include "globals.h" #include "MemPool.h" +#include "profiler/Profiler.h" class wordlist { === modified file 'test-suite/ESIExpressions.cc' --- test-suite/ESIExpressions.cc 2012-01-20 18:55:04 +0000 +++ test-suite/ESIExpressions.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "esi/Expression.h" int === modified file 'test-suite/MemPoolTest.cc' --- test-suite/MemPoolTest.cc 2012-01-20 18:55:04 +0000 +++ test-suite/MemPoolTest.cc 2012-08-14 11:53:07 +0000 @@ -32,7 +32,7 @@ * Copyright (c) 2003, Robert Collins */ -#include "squid-old.h" +#include "squid.h" #if USE_MEMPOOLS === modified file 'test-suite/StackTest.cc' --- test-suite/StackTest.cc 2012-01-20 18:55:04 +0000 +++ test-suite/StackTest.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003 Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "Stack.h" int === modified file 'test-suite/VirtualDeleteOperator.cc' --- test-suite/VirtualDeleteOperator.cc 2012-01-20 18:55:04 +0000 +++ test-suite/VirtualDeleteOperator.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003 Robert Collins */ -#include "squid-old.h" +#include "squid.h" #if HAVE_IOSTREAM #include === modified file 'test-suite/debug.cc' --- test-suite/debug.cc 2012-08-06 17:21:57 +0000 +++ test-suite/debug.cc 2012-08-14 11:53:07 +0000 @@ -34,9 +34,10 @@ * Copyright (c) 2003 Robert Collins */ -#include "squid-old.h" +#include "squid.h" +#include "Debug.h" +#include "mem_node.h" #include "stmem.h" -#include "mem_node.h" class StreamTest { === modified file 'test-suite/mem_hdr_test.cc' --- test-suite/mem_hdr_test.cc 2012-01-20 18:55:04 +0000 +++ test-suite/mem_hdr_test.cc 2012-08-14 11:53:07 +0000 @@ -34,7 +34,7 @@ * Copyright (c) 2003 Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "stmem.h" #include "mem_node.h" #include "Generic.h" === modified file 'test-suite/mem_node_test.cc' --- test-suite/mem_node_test.cc 2012-01-20 18:55:04 +0000 +++ test-suite/mem_node_test.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "mem_node.h" #if HAVE_IOSTREAM === modified file 'test-suite/refcount.cc' --- test-suite/refcount.cc 2012-01-20 18:55:04 +0000 +++ test-suite/refcount.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * */ -#include "squid-old.h" +#include "squid.h" #include "RefCount.h" class _ToRefCount :public RefCountable === modified file 'test-suite/syntheticoperators.cc' --- test-suite/syntheticoperators.cc 2012-01-20 18:55:04 +0000 +++ test-suite/syntheticoperators.cc 2012-08-14 11:53:07 +0000 @@ -33,7 +33,7 @@ * Copyright (c) 2003 Robert Collins */ -#include "squid-old.h" +#include "squid.h" #include "stmem.h" #include "mem_node.h" === modified file 'test-suite/test_tools.cc' --- test-suite/test_tools.cc 2012-01-20 18:55:04 +0000 +++ test-suite/test_tools.cc 2012-08-14 11:53:07 +0000 @@ -5,7 +5,8 @@ // XXX: This file is made of large pieces of src/tools.cc // with only a few minor modifications. TODO: redesign or delete. -#include "squid-old.h" +#include "squid.h" +#include "dlink.h" void xassert(const char *msg, const char *file, int line) === modified file 'tools/purge/conffile.hh' --- tools/purge/conffile.hh 2011-10-30 02:42:27 +0000 +++ tools/purge/conffile.hh 2012-08-14 11:53:07 +0000 @@ -59,8 +59,8 @@ #define DEFAULT_SQUID_CONF "/usr/local/squid/etc/squid.conf" #endif -#include // FILE* -#include // minimum STL container +#include +#include struct CacheDir { enum CacheDirType { CDT_NONE, CDT_UFS, CDT_AUFS, CDT_DISKD, CDT_OTHER }; === modified file 'tools/purge/purge.cc' --- tools/purge/purge.cc 2012-07-23 19:37:47 +0000 +++ tools/purge/purge.cc 2012-08-14 11:53:07 +0000 @@ -98,16 +98,12 @@ #endif #include "squid.h" -// for xstrdup #include "util.h" -//#include #include #include #include -//#include #include -//#include #include #include #include @@ -122,10 +118,9 @@ #endif #include -#include // TCP_NODELAY +#include #include -#include // gethostbyname() -//#include //comes via compat.h +#include #include "convert.hh" #include "socket.hh" === modified file 'tools/purge/socket.hh' --- tools/purge/socket.hh 2010-08-24 10:35:03 +0000 +++ tools/purge/socket.hh 2012-08-14 11:53:07 +0000 @@ -61,7 +61,7 @@ #endif /* __cplusplus */ #include -#include // SOMAXCONN +#include #include #if SOMAXCONN <= 5