+#include "config.h"
#include "compat/debug.h"
/* default off */
-
+#include "config.h"
/* borrowed from libc/misc/drand48.c in Linux libc-5.4.46 this quick
* hack by Martin Hamilton <martinh@gnu.org> to make Squid build on
-/* $Id$
+#include "config.h"
/*
* From: richard@hekkihek.hacom.nl (Richard Huveneers)
+#include "config.h"
/*
* allowusers.c
+#include "config.h"
/*
* denyusers.c
-
/*
* MSNT - Microsoft Windows NT domain squid authenticator module
* Version 2.0 by Stellar-X Pty Ltd, Antonino Iannella
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-
+#include "config.h"
#include "rfc1738.h"
#include "util.h"
/*
* Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x
*/
-
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
"@(#)util.c 1.5 Copyright 1992 Livingston Enterprises Inc\n"
" 2.1 Copyright 1997 Cistron Internet Services B.V.";
-#include "config.h"
+#include "config.h"
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
* Markus Moeller has modified the following code from Squid
*/
+#include "config.h"
+#include "base64.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "base64.h"
static void ska_base64_init(void);
*
*/
-#include "util.h"
+#include "config.h"
/* The following code section is part of the native Windows Squid port */
#if defined(_SQUID_MSWIN_)
+
+#include "util.h"
#include <stdlib.h>
#include <errno.h>
#include <string.h>
+#include "config.h"
+
/* encrypt.c - providing 56 bit DES encryption
* Copyright (C) 1991 Jochen Obalek
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*
*/
+#include "config.h"
#include "getfullhostname.h"
+#include "config.h"
+
/*
* Copyright (c) 1987, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
*/
+#include "config.h"
#include "Trie.h"
#if HAVE_UNISTD_H
#include <unistd.h>
*
*/
+#include "config.h"
#include "TrieNode.h"
#include "TrieCharTransform.h"
#if HAVE_UNISTD_H
*
*/
+#include "config.h"
#include "Trie.h"
#include <stdio.h>
*
*/
+#include "config.h"
#include "Trie.h"
#include "TrieCharTransform.h"
+#include "config.h"
+
/*
* Unix SMB/Netbios implementation.
* Version 1.9.
+#include "config.h"
+
/* UNIX SMBlib NetBIOS implementation
Version 1.0
+#include "config.h"
+
/*
* Unix SMB/Netbios implementation.
* Version 1.9.
*
*/
+#include "config.h"
#include "util.h"
#include "libntlmauth/ntlmauth.h"
+#include "config.h"
+
#include <cppunit/BriefTestProgressListener.h>
#include <cppunit/CompilerOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
*
*/
+#include "config.h"
#include "util.h"
/* The following code section is part of an EXPERIMENTAL native */
*
*/
+#include "config.h"
#include "AsyncEngine.h"
*
*/
+#include "config.h"
#include "CompletionDispatcher.h"
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
+#include "config.h"
#include "ConfigParser.h"
#include "globals.h"
*
* DEBUG: section 05 Comm
*/
-
+#include "config.h"
#include "DescriptorSet.h"
// pre-allocates descriptor store and index for Squid_MaxFD descriptors
*
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
-
+#include "config.h"
#include "BlockingFile.h"
#include "DiskIO/IORequestor.h"
#include "DiskIO/ReadRequest.h"
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
+#include "config.h"
#include "BlockingIOStrategy.h"
#include "BlockingFile.h"
+
bool
BlockingIOStrategy::shedLoad()
{
*
* Copyright (c) 2003 Robert Collins <robertc@squid-cache.org>
*/
+
+#include "config.h"
* Copyright (c) 2003 Robert Collins <robertc@squid-cache.org>
*/
+#include "config.h"
#include "ReadRequest.h"
CBDATA_CLASS_INIT(ReadRequest);
* Copyright (c) 2003 Robert Collins <robertc@squid-cache.org>
*/
+#include "config.h"
#include "WriteRequest.h"
CBDATA_CLASS_INIT(WriteRequest);
*
*/
+#include "config.h"
#include "EventLoop.h"
#include "base/AsyncCallQueue.h"
*
*/
+#include "config.h"
#include "RemovalPolicy.h"
+
CBDATA_CLASS_INIT(RemovalPolicy);
CBDATA_CLASS_INIT(RemovalPolicyWalker);
CBDATA_CLASS_INIT(RemovalPurgeWalker);
* $Id$
*/
+#include "config.h"
// just for the global definition of Config and Config2
#include "structs.h"
*
*/
+#include "config.h"
#include "StoreSwapLogData.h"
#include "swap_log_op.h"
-
+#include "config.h"
// TBD
-#include "adaptation/icap/History.h"
#include "squid.h"
+#include "adaptation/icap/History.h"
#include "globals.h"
#include "SquidTime.h"
*
*/
+#include "config.h"
#include "base/AsyncCallQueue.h"
#include "base/AsyncCall.h"
* when finished.
*/
+#include "config.h"
#include "cbdata.h"
#include "mgr/Registration.h"
#include "Store.h"
* administrator.
*****************************************************************************/
-//#include "squid.h"
#include "config.h"
-//#include "SquidTime.h"
#include "util.h"
#if HAVE_STRING_H
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
+#include "config.h"
#include "StoreFileSystem.h"
#include "StoreFScoss.h"
#include "mgr/Registration.h"
/* TODO: remove this file as unused */
+#include "config.h"
#if 0
#include "StoreFileSystem.h"
#include "DiskIO/DiskIOModule.h"
/*TODO: remove this file as unused*/
+#include "config.h"
#if 0
#include "StoreFileSystem.h"
#endif
*
*/
+#include "squid.h"
#include "CacheManager.h"
#include "mgr/Registration.h"
-#include "squid.h"
Mgr::Action::Pointer
CacheManager::createNamedAction(char const* action)
*
*/
+#include "config.h"
#include "client_side_request.h"
#include "Store.h"
*
*/
+#include "config.h"
#include "errorpage.h"
err_type
*
*/
+#include "config.h"
+
void
shut_down(int)
{ /* stub */ }
*/
#define SQUID_UNIT_TEST 1
+#include "config.h"
#include "testStoreSupport.h"
#include "event.h"
#include "EventLoop.h"
*
*/
+#include "config.h"
#include "URL.h"
#include "HttpRequest.h"
#include "URLScheme.h"
*
*/
+#include "config.h"
#include "wordlist.h"
#include "MemBuf.h"
+#include "config.h"
+
//
// $Id$
//
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
-#include <regex.h>
int
readConfigFile( CacheDirVector& cachedir, const char* fn, FILE* debug )
+#include "config.h"
+
//
// $Id$
//
unsigned char s[sizeof(a.s_addr)];
memcpy( s, &a.s_addr, sizeof(a.s_addr) );
- sprintf( output, "%d.%d.%d.%d", s[0], s[1], s[2], s[3] );
+ snprintf(output, sizeof(HostAddress), "%d.%d.%d.%d", s[0], s[1], s[2], s[3] );
}
return output;
}
// returns: pointer to buffer
{
HostAddress host;
- sprintf( buffer, "%s:%u",
+ snprintf( buffer, sizeof(SockAddress), "%s:%u",
my_inet_ntoa(a.sin_addr,host), ntohs(a.sin_port) );
return buffer;
}
+#include "config.h"
+
//
// $Id$
//