MemStore.h \
time.cc \
TimeOrTag.h \
+ tools.h \
tools.cc \
tunnel.cc \
typedefs.h \
tests/stub_StatHist.cc \
tests/stub_store.cc \
tests/stub_store_stats.cc \
+ tools.h \
tests/stub_tools.cc \
tests/stub_HttpRequest.cc \
tests/testHttpReply.cc \
tests/stub_store_rebuild.cc \
tests/stub_store_stats.cc \
tests/stub_store_swapout.cc \
+ tools.h \
tests/stub_tools.cc \
tests/stub_cache_manager.cc \
tests/stub_UdsOp.cc \
StoreMetaURL.cc \
StoreMetaVary.cc \
StoreSwapLogData.cc \
+ tools.h \
tools.cc \
tunnel.cc \
SwapDir.cc \
tests/stub_store_client.cc \
tests/stub_store_stats.cc \
tests/stub_store_rebuild.cc \
+ tools.h \
tests/stub_tools.cc \
tests/stub_UdsOp.cc \
tests/testDiskIO.cc \
tests/stub_ipc_Forwarder.cc \
tests/stub_store_stats.cc \
time.cc \
+ tools.h \
tools.cc \
tunnel.cc \
MemStore.cc \
tests/stub_ipc_Forwarder.cc \
tests/stub_store_stats.cc \
time.cc \
+ tools.h \
tools.cc \
tunnel.cc \
MemStore.cc \
tests/stub_MemStore.cc \
tests/stub_store_stats.cc \
time.cc \
+ tools.h \
tools.cc \
tunnel.cc \
$(UNLINKDSOURCE) \
tests/stub_debug.cc \
tests/stub_event.cc \
tests/stub_HelperChildConfig.cc \
+ tools.h \
tests/stub_tools.cc \
tests/testHttpParser.cc \
tests/testHttpParser.h \
StoreMetaVary.cc \
StoreSwapLogData.cc \
event.cc \
+ tools.h \
tools.cc \
tunnel.cc \
SwapDir.cc \
tests/stub_store_stats.cc \
tests/stub_store_rebuild.cc \
tests/stub_store_swapout.cc \
+ tools.h \
tests/stub_tools.cc \
tests/stub_UdsOp.cc \
tests/testMain.cc \
tests/stub_cache_manager.cc \
tests/stub_debug.cc \
tests/stub_HelperChildConfig.cc \
+ tools.h \
tests/stub_tools.cc \
time.cc \
wordlist.h \
refresh.h \
refresh.cc \
tests/stub_store_client.cc \
+ tools.h \
tests/stub_tools.cc \
tests/testStoreSupport.cc \
tests/testStoreSupport.h \
tests/stub_store_client.cc \
tests/stub_store_rebuild.cc \
tests/stub_store_stats.cc \
+ tools.h \
tests/stub_tools.cc \
time.cc \
url.cc \
tests/stub_Port.cc \
tests/stub_store_client.cc \
tests/stub_store_stats.cc \
+ tools.h \
tests/stub_tools.cc \
tests/stub_UdsOp.cc \
tests/testStoreSupport.cc \
refresh.cc \
tests/stub_store_client.cc \
tests/stub_store_stats.cc \
+ tools.h \
tests/stub_tools.cc \
tests/testStoreSupport.cc \
tests/testStoreSupport.h \
tests/testURLScheme.h \
tests/testMain.cc \
time.cc \
+ tools.h \
tools.cc \
tunnel.cc \
url.cc \
tests/stub_cache_manager.cc \
tests/stub_debug.cc \
tests/stub_HelperChildConfig.cc \
+ tools.h \
tests/stub_tools.cc \
time.cc \
wordlist.h \
tests/stub_stmem.cc \
tests/stub_store.cc \
tests/stub_store_stats.cc \
+ tools.h \
tests/stub_tools.cc \
tests/testMain.cc \
tests/testStatHist.cc \
#include "SquidTime.h"
#include "StatCounters.h"
#include "Store.h"
+#include "tools.h"
#if USE_ADAPTATION
#include "adaptation/AccessCheck.h"
#include "SwapDir.h"
#include "wordlist.h"
#include "neighbors.h"
+#include "tools.h"
/* wccp2 has its own conditional definitions */
#include "wccp2.h"
#if USE_ADAPTATION
#include "SquidTime.h"
#include "StatCounters.h"
#include "Store.h"
-
+#include "tools.h"
static hash_table *client_table = NULL;
#include "StatHist.h"
#include "Store.h"
#include "TimeOrTag.h"
+#include "tools.h"
#if USE_AUTH
#include "auth/UserRequest.h"
#include "SquidTime.h"
#include "Store.h"
#include "StoreClient.h"
+#include "tools.h"
#if USE_AUTH
#include "auth/UserRequest.h"
#endif
#include "comm/Write.h"
#include "err_detail_type.h"
#include "errorpage.h"
-#if USE_AUTH
-#include "auth/UserRequest.h"
-#endif
-#include "SquidTime.h"
-#if USE_SSL
-#include "ssl/ErrorDetailManager.h"
-#endif
#include "Store.h"
#include "html_quote.h"
#include "HttpReply.h"
#include "protos.h"
#include "rfc1738.h"
#include "URLScheme.h"
+#include "tools.h"
#include "wordlist.h"
+#if USE_AUTH
+#include "auth/UserRequest.h"
+#endif
+#include "SquidTime.h"
+#if USE_SSL
+#include "ssl/ErrorDetailManager.h"
+#endif
/**
\defgroup ErrorPageInternal Error Page Internals
#include "SquidTime.h"
#include "Store.h"
#include "URLScheme.h"
+#include "tools.h"
#include "wordlist.h"
#if USE_SSL
#include "ssl/support.h"
#include "SquidTime.h"
#include "StatCounters.h"
#include "Store.h"
+#include "tools.h"
#include "URLScheme.h"
#include "wordlist.h"
#include "SquidTime.h"
#include "StatCounters.h"
#include "Store.h"
+#include "tools.h"
#if USE_DELAY_POOLS
#include "DelayPools.h"
#include "SquidTime.h"
#include "StatCounters.h"
#include "Store.h"
+#include "tools.h"
#if USE_AUTH
#include "auth/UserRequest.h"
#include "StatCounters.h"
#include "Store.h"
#include "SwapDir.h"
+#include "tools.h"
#include "wordlist.h"
#if HAVE_ERRNO_H
#include "MemBuf.h"
#include "protos.h"
#include "SquidTime.h"
+#include "tools.h"
#include "wordlist.h"
/* called when we "miss" on an internal object;
#include "profiler/Profiler.h"
#include "protos.h"
#include "refresh.h"
+#include "tools.h"
#include "SquidDns.h"
#include "SquidTime.h"
#include "StatCounters.h"
#include "SquidTime.h"
#include "Store.h"
#include "StoreClient.h"
+#include "tools.h"
/* local types */
SQUIDCEXTERN peer_t parseNeighborType(const char *s);
-/* tools.c */
-
-SQUIDCEXTERN void kb_incr(kb_t *, size_t);
-SQUIDCEXTERN int stringHasWhitespace(const char *);
-SQUIDCEXTERN int stringHasCntl(const char *);
-SQUIDCEXTERN void linklistPush(link_list **, void *);
-SQUIDCEXTERN void *linklistShift(link_list **);
-SQUIDCEXTERN int xrename(const char *from, const char *to);
-extern int isPowTen(int);
-SQUIDCEXTERN void parseEtcHosts(void);
-SQUIDCEXTERN int getMyPort(void);
-SQUIDCEXTERN void setUmask(mode_t mask);
-
-SQUIDCEXTERN char *strwordtok(char *buf, char **t);
-SQUIDCEXTERN void strwordquote(MemBuf * mb, const char *str);
+SQUIDCEXTERN int stringHasWhitespace(const char *); //String.cc
+SQUIDCEXTERN int stringHasCntl(const char *); //String.cc
+SQUIDCEXTERN void linklistPush(link_list **, void *); //list.cc
+SQUIDCEXTERN void *linklistShift(link_list **); //list.cc
+SQUIDCEXTERN int xrename(const char *from, const char *to); //disk.cc
+extern int isPowTen(int); //int.cc
+
+SQUIDCEXTERN char *strwordtok(char *buf, char **t); //String.cc
/*
#include "ipcache.h"
#include "protos.h"
#include "SquidTime.h"
+#include "tools.h"
static IPH send_announce;
--- /dev/null
+/*
+ * DEBUG: section
+ * AUTHOR:
+ *
+ * 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_TOOLS_H_
+#define SQUID_TOOLS_H_
+
+/* for kb_t */
+#include "typedefs.h"
+
+class MemBuf;
+
+extern void kb_incr(kb_t *, size_t);
+extern void parseEtcHosts(void);
+extern int getMyPort(void);
+extern void setUmask(mode_t mask);
+extern void strwordquote(MemBuf * mb, const char *str);
+
+#endif /* SQUID_TOOLS_H_ */
#include "PeerSelectState.h"
#include "protos.h"
#include "StatCounters.h"
+#include "tools.h"
#if USE_DELAY_POOLS
#include "DelayId.h"
#include "protos.h"
#include "StatCounters.h"
#include "Store.h"
+#include "tools.h"
#if HAVE_ERRNO_H
#include <errno.h>