]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 17 Dec 2009 01:13:16 +0000 (18:13 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 17 Dec 2009 01:13:16 +0000 (18:13 -0700)
src/HelperChildConfig.cc
src/HelperChildConfig.h
src/helper.h
src/tests/stub_HelperChildConfig.cc

index 8986f629b4d24abfabce03f0770f602b34969ebe..9cd5038680f60ff72778a8d08606c82617a26e0f 100644 (file)
@@ -33,7 +33,8 @@ HelperChildConfig::operator =(const HelperChildConfig &rhs)
 }
 
 const int
-HelperChildConfig::needNew() const {
+HelperChildConfig::needNew() const
+{
     /* during the startup and reconfigure use our special amount... */
     if (starting_up || reconfiguring) return n_startup;
 
index 73bc38d01f880779e3ac386688ab2c6efba66c38..89b984f0e5ebaffaa924afd9ecac66adf15afc8e 100644 (file)
@@ -7,7 +7,8 @@
  * Some derived from a helper children configuration option,
  * some from runtime stats on the currently active children.
  */
-class HelperChildConfig {
+class HelperChildConfig
+{
 public:
     HelperChildConfig();
     HelperChildConfig(const unsigned int m, const unsigned int s, const unsigned int i, const unsigned int cc);
index 6460c4d0996e5350effc0631ed93d85a27d24121..800a0cadc249449c0a3873cdb364601e838aba9e 100644 (file)
@@ -46,7 +46,8 @@ typedef struct _helper_stateful_flags helper_stateful_flags;
 
 typedef void HLPSCB(void *, void *lastserver, char *buf);
 
-class helper {
+class helper
+{
 public:
     inline helper(const char *name) : cmdline(NULL), id_name(name) {};
     ~helper();
@@ -73,7 +74,8 @@ private:
     CBDATA_CLASS2(helper);
 };
 
-class statefulhelper : public helper {
+class statefulhelper : public helper
+{
 public:
     inline statefulhelper(const char *name) : helper(name) {};
     inline ~statefulhelper() {};
@@ -90,7 +92,8 @@ private:
 /*
  * Fields shared between stateless and stateful helper servers.
  */
-class HelperServerBase {
+class HelperServerBase
+{
 public:
     int index;
     int pid;
@@ -109,7 +112,8 @@ public:
     dlink_node link;
 };
 
-class helper_server : public HelperServerBase {
+class helper_server : public HelperServerBase
+{
 public:
     MemBuf *wqueue;
     MemBuf *writebuf;
@@ -131,7 +135,8 @@ public:
 
 class helper_stateful_request;
 
-class helper_stateful_server : public HelperServerBase {
+class helper_stateful_server : public HelperServerBase
+{
 public:
     /* MemBuf wqueue; */
     /* MemBuf writebuf; */
index 151035d3a4d9a375bf38d17543ade8d9fce5a520..b7a6153e6a715c310bbe71686ee8c972474bf78b 100644 (file)
@@ -33,7 +33,8 @@ HelperChildConfig::operator =(const HelperChildConfig &rhs)
 }
 
 const int
-HelperChildConfig::needNew() const {
+HelperChildConfig::needNew() const
+{
     /* during the startup and reconfigure use our special amount... */
     if (starting_up || reconfiguring) return n_startup;