]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 4 Oct 2012 00:23:44 +0000 (18:23 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 4 Oct 2012 00:23:44 +0000 (18:23 -0600)
14 files changed:
src/CacheManager.h
src/SnmpRequest.h
src/SquidConfig.h
src/acl/AclSizeLimit.h
src/client_db.h
src/client_side.cc
src/client_side.h
src/comm.h
src/fde.h
src/ip/QosConfig.h
src/log/CustomLog.h
src/mgr/ActionPasswordList.h
src/neighbors.h
src/ssl/ProxyCerts.h

index bb5885557f82c6cfb1d12ed08f065138660a33d7..9cd09df0701842d60f5210bb9af8016b48866e52 100644 (file)
@@ -50,7 +50,8 @@
  */
 
 class HttpRequest;
-namespace Mgr {
+namespace Mgr
+{
 class ActionPasswordList;
 } //namespace Mgr
 /**
index c6c3a79d8fe7e7dcbf3e0ce0994b6ffd31b79850..0820de19d311264810a32fb9c2577864be66bed8 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef SQUID_SNMPREQUEST_H_
 #define SQUID_SNMPREQUEST_H_
 /*
- * DEBUG: section 
- * AUTHOR: 
+ * DEBUG: section
+ * AUTHOR:
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
  * ----------------------------------------------------------
index 2f2c028dba1b693c73aa98e5d47039eff6258e53..88af4bde47bce65898ff7ba3d924f640fdef814c 100644 (file)
@@ -48,7 +48,8 @@ class sslproxy_cert_adapt;
 class acl_access;
 class AclSizeLimit;
 class AclDenyInfoList;
-namespace Mgr {
+namespace Mgr
+{
 class ActionPasswordList;
 } // namespace Mgr
 class CustomLog;
@@ -59,7 +60,8 @@ class RefreshPattern;
 class RemovalPolicySettings;
 class SwapDir;
 
-namespace AnyP {
+namespace AnyP
+{
 class PortCfg;
 }
 
index 6a19f2df31b53e2bbe47c97c68ba7882c06de14e..ed6e4f0401483e8787028ad60b056cca64f38e94 100644 (file)
@@ -32,7 +32,8 @@
 class ACLList;
 /// representation of a class of Size-limit ACLs
 // a POD. TODO: convert to new ACL framework
-class AclSizeLimit {
+class AclSizeLimit
+{
 public:
     AclSizeLimit *next;
     ACLList *aclList;
index 4a7765af0cdf20a16fe67cb299b1ec39d3975845..41109c6519405bfc817424db054d894df53e51c6 100644 (file)
@@ -36,7 +36,8 @@
 #include "anyp/ProtocolType.h"
 #include "enums.h"
 #include "ip/Address.h"
-namespace Ip {
+namespace Ip
+{
 class Address;
 }
 
index af885f556b042c4f9d9cb9d9c1ed9b35dfaea459..c2c41acade11954a04d96b4d385c08f895dd955c 100644 (file)
@@ -2656,7 +2656,7 @@ clientProcessRequest(ConnStateData *conn, HttpParser *hp, ClientSocketContext *c
     request->flags.ignoreCc = conn->port->ignore_cc;
     // TODO: decouple http->flags.accel from request->flags.sslBumped
     request->flags.noDirect = (request->flags.accelerated && !request->flags.sslBumped) ?
-                               !conn->port->allow_direct : 0;
+                              !conn->port->allow_direct : 0;
 #if USE_AUTH
     if (request->flags.sslBumped) {
         if (conn->auth_user_request != NULL)
index 279aaf6ea41f66a868dfc2d8dda1ea99971a77b9..6185817102ca38b0376a9888c5e80a8a49ea20e5 100644 (file)
@@ -53,8 +53,9 @@ class ConnStateData;
 class ClientHttpRequest;
 class clientStreamNode;
 class ChunkedCodingParser;
-namespace AnyP {
-    class PortCfg;
+namespace AnyP
+{
+class PortCfg;
 } // namespace Anyp
 
 /**
index ad723d8d20d6951fc06e2247757d22d03f573d80..7c0f228078f0b7f1e376ca5b38bfd55c0108275f 100644 (file)
@@ -8,7 +8,8 @@
 #include "comm/IoCallback.h"
 #include "StoreIOBuffer.h"
 
-namespace Ip {
+namespace Ip
+{
 class Address;
 }
 
index 57ee4241b760d26f3d6e9787062882b5242f10ab..19baa4da51b06e31395c68628d53e44a28dc0569 100644 (file)
--- a/src/fde.h
+++ b/src/fde.h
@@ -44,7 +44,8 @@ class ClientInfo;
 
 class PconnPool;
 class dwrite_q;
-class _fde_disk {
+class _fde_disk
+{
 public:
     DWCB *wrt_handle;
     void *wrt_handle_data;
index 2b801648cf826c0550e5341e880291993431c8b2..e17377764bf586f946da349d38f06c71e6eb610b 100644 (file)
@@ -22,7 +22,8 @@ class fde;
 // TODO: move to new ACL framework
 // not integrated in namespace, as this class uses a strange CBDATA definition
 // POD
-class acl_tos {
+class acl_tos
+{
 public:
     acl_tos *next;
     ACLList *aclList;
@@ -31,7 +32,8 @@ public:
 // TODO: move to new ACL framework
 // not integrated in namespace, as this class uses a strange CBDATA definition
 // POD
-class acl_nfmark {
+class acl_nfmark
+{
 public:
     acl_nfmark *next;
     ACLList *aclList;
index e995bc52e7fdc8fcde600fc1d85d5cc71fc721dc..77d3af4d61419c0222dadda185088d0a8591d7d9 100644 (file)
@@ -33,7 +33,8 @@
 
 class ACLList;
 class Logfile;
-namespace Format {
+namespace Format
+{
 class Format;
 }
 
index 36ee10197c23d904fcb307b1d7cf6c3f1f28d14f..eba5a4335ff127fd9176b31b9a334a29d9ed3223 100644 (file)
@@ -31,7 +31,8 @@
 
 class wordlist;
 
-namespace Mgr {
+namespace Mgr
+{
 //TODO: refactor into a std::list
 /// list of cachemgr password authorization definitions. Currently a POD.
 class ActionPasswordList
index a946c38409e134224596f2f828e835a679826db2..78c95f54edda0365af03690fed19ddb8e2fa3492 100644 (file)
@@ -48,11 +48,11 @@ CachePeer *getNextPeer(CachePeer *);
 CachePeer *getSingleParent(HttpRequest *);
 int neighborsCount(HttpRequest *);
 int neighborsUdpPing(HttpRequest *,
-                StoreEntry *,
-                IRCB * callback,
-                void *data,
-                int *exprep,
-                int *timeout);
+                     StoreEntry *,
+                     IRCB * callback,
+                     void *data,
+                     int *exprep,
+                     int *timeout);
 void neighborAddAcl(const char *, const char *);
 
 void neighborsUdpAck(const cache_key *, icp_common_t *, const Ip::Address &);
index 22b4edadecb083136e494730761692179644ae67..d58b307b7c1de528239d27c7ae7443c33b242661 100644 (file)
 #if USE_SSL
 class ACLList;
 
-class sslproxy_cert_sign {
+class sslproxy_cert_sign
+{
 public:
     int alg;
     ACLList *aclList;
     sslproxy_cert_sign *next;
 };
 
-class sslproxy_cert_adapt {
+class sslproxy_cert_adapt
+{
 public:
     int alg;
     char *param;