#include "store_key_md5.h"
#include "Store.h"
#include "StoreClient.h"
+#include "tools.h"
#include "URL.h"
typedef struct _Countstr Countstr;
#include "globals.h"
#include "ip/Address.h"
#include "protos.h"
+#include "tools.h"
#include "rfc1738.h"
static const char *hello_string = "hi there\n";
#include "mgr/Request.h"
#include "mgr/Response.h"
#include "protos.h"
+#include "tools.h"
#if SQUID_SNMP
#include "snmp/Inquirer.h"
#include "snmp/Request.h"
#include "ipc/SharedListen.h"
#include "ipc/StartListening.h"
#include "protos.h"
+#include "tools.h"
#if HAVE_ERRNO_H
#include <errno.h>
class store_client;
#include "fatal.h"
-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);
-SQUIDCEXTERN void writePidFile(void);
-SQUIDCEXTERN void setSocketShutdownLifetimes(int);
-SQUIDCEXTERN void setMaxFD(void);
-SQUIDCEXTERN void setSystemLimits(void);
-extern void squid_signal(int sig, SIGHDLR *, int flags);
-SQUIDCEXTERN pid_t readPidFile(void);
-SQUIDCEXTERN void keepCapabilities(void);
-SQUIDCEXTERN void BroadcastSignalIfAny(int& sig);
+
/// whether the current process is the parent of all other Squid processes
SQUIDCEXTERN bool IamMasterProcess();
/**
extern const char *getMyHostname(void);
extern const char *uniqueHostname(void);
+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
+extern void leave_suid(void);
+extern void enter_suid(void);
+extern void no_suid(void);
+extern void writePidFile(void);
+extern void setMaxFD(void);
+extern void setSystemLimits(void);
+extern void squid_signal(int sig, SIGHDLR *, int flags);
+extern pid_t readPidFile(void);
+extern void keepCapabilities(void);
+extern void BroadcastSignalIfAny(int& sig);
+
+
#endif /* SQUID_TOOLS_H_ */