From 7957fca15c4a57d3b4c134c80bcd0a4a42ab8b3e Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Tue, 4 Sep 2012 13:26:41 +0200 Subject: [PATCH] Moved SquidConfig2 class to SquidConfig.h --- src/SquidConfig.h | 12 ++++++++++++ src/structs.h | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/SquidConfig.h b/src/SquidConfig.h index 88fc205471..96f63203f3 100644 --- a/src/SquidConfig.h +++ b/src/SquidConfig.h @@ -534,4 +534,16 @@ public: extern SquidConfig Config; + +struct SquidConfig2 { + struct { + int enable_purge; + int mangle_request_headers; + } onoff; + uid_t effectiveUserID; + gid_t effectiveGroupID; +}; + +extern SquidConfig2 Config2; + #endif /* SQUID_SQUIDCONFIG_H_ */ diff --git a/src/structs.h b/src/structs.h index 26df25c2f6..0518bb68d7 100644 --- a/src/structs.h +++ b/src/structs.h @@ -146,17 +146,6 @@ struct PortCfg; } class SwapDir; -struct SquidConfig2 { - struct { - int enable_purge; - int mangle_request_headers; - } onoff; - uid_t effectiveUserID; - gid_t effectiveGroupID; -}; - -SQUIDCEXTERN SquidConfig2 Config2; - class close_handler { public: PF *handler; -- 2.39.5