]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed class indentation
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 18 Sep 2012 12:54:44 +0000 (14:54 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 18 Sep 2012 12:54:44 +0000 (14:54 +0200)
18 files changed:
src/CacheDigest.h
src/CacheMgrPasswd.h
src/CachePeer.h
src/HttpHeader.h
src/HttpHeaderTools.h
src/IoStats.h
src/PeerDigest.h
src/RefreshPattern.h
src/RegexList.h
src/RequestFlags.h
src/SquidConfig.h
src/SquidList.h
src/acl/AclDenyInfoList.h
src/acl/AclNameList.h
src/icmp/net_db.h
src/log/CustomLog.h
src/store_rebuild.h
src/structs.h

index 91c355c05c0d693203d6ed7f4c70aba899ad5d18..e0a81470b008f0cbfe4f1adc6792bb6b57860857 100644 (file)
@@ -38,7 +38,8 @@
 class CacheDigestGuessStats;
 class StoreEntry;
 
-class CacheDigest {
+class CacheDigest
+{
 public:
     /* public, read-only */
     char *mask;         /* bit mask */
index c90b81b1ab27616c0b267de0692a3b1fe0f7803c..99baa322962b9431f60a1e5eb5c871ef138166c7 100644 (file)
@@ -33,7 +33,8 @@ class wordlist;
 
 //TODO: this class is misnamed and C-ish. Split into CacheMgrPasswd and
 // CacheMgrPasswdList (std::list-derived)
-class CacheMgrPasswd {
+class CacheMgrPasswd
+{
 public:
     char *passwd;
     wordlist *actions;
index e4ff4d2435157c5343cff368261d580348d3a440..21591996030606f8aecf3bd378e566811e41c39c 100644 (file)
@@ -42,7 +42,8 @@ class domain_type;
 class acl_access;
 class PeerDigest;
 
-class CachePeer {
+class CachePeer
+{
 public:
     u_int index;
     char *name;
index 945c38da6deb4af0c0fe7e05ccce69be9092b3d2..7fc28d00b02c79ddb27260da95bbfbf7d9a6d083 100644 (file)
@@ -178,7 +178,8 @@ typedef enum {
     hoEnd
 } http_hdr_owner_type;
 
-class HttpHeaderFieldAttrs {
+class HttpHeaderFieldAttrs
+{
 public:
     const char *name;
     http_hdr_type id;
index 6ae43be6f13608bb76a32a85bbda01c644eb936d..e95d6557839374e75400d8da4ec285a8c022ffd9 100644 (file)
@@ -19,7 +19,8 @@ class HeaderWithAcl;
 typedef std::list<HeaderWithAcl> HeaderWithAclList;
 
 class acl_access;
-class header_mangler {
+class header_mangler
+{
 public:
     acl_access *access_list;
     char *replacement;
index 2329605e8d0990570844e748e5fbd4f0b8b8f6a0..0f3353ebd8fdbdd3c2c31b4a57ed8afdfa7f61d0 100644 (file)
@@ -29,7 +29,8 @@
  *
  */
 
-class IoStats {
+class IoStats
+{
 public:
     static const int histSize=16;
 
index 00df4d02adabc52c6aed919ff1357ba9ba63ae13..351d5f83eb2936f22bdf2cdb3b653164b9c24b97 100644 (file)
@@ -38,7 +38,8 @@
 /* for CacheDigestGuessStats */
 #include "StatCounters.h"
 
-class Version {
+class Version
+{
 public:
     short int current;         /* current version */
     short int required;                /* minimal version that can safely handle current version */
@@ -60,7 +61,8 @@ public:
     int reserved[32 - 6];
 };
 
-class DigestFetchState {
+class DigestFetchState
+{
 public:
     PeerDigest *pd;
     StoreEntry *entry;
index c3abe78246a1bf1b077db6a199fa3ae44567edeb..0d7f9a9ab3f54b32c4dd0c561a75dd1105e459ae 100644 (file)
@@ -29,7 +29,8 @@
  *
  */
 
-class RefreshPattern {
+class RefreshPattern
+{
 public:
     const char *pattern;
     regex_t compiled_pattern;
index bbcf6e962c1c4c6d7b06a4fc836b55157e9cc551..df2d64b42f336ac65821cca2e518d431cf09c7ec 100644 (file)
@@ -29,7 +29,8 @@
  *
  */
 
-class RegexList {
+class RegexList
+{
 public:
     int flags;
     char *pattern;
index 43685e5e8a3714dd279690f96cf2fec11545b9de..6d00b2056e10a7de885318632141219f0dfe0d94 100644 (file)
@@ -32,7 +32,8 @@
  *
  */
 
-class RequestFlags {
+class RequestFlags
+{
 public:
     RequestFlags():
         nocache(false), ims(false), auth_(false), cachable(false),
index 65a6953f7cb6bc88a12416b1cf004bfc1e114058..278d54dcf3c456ea8de77213e45da0dbdf9a24b0 100644 (file)
@@ -56,7 +56,8 @@ namespace AnyP {
 class PortCfg;
 }
 
-class SquidConfig {
+class SquidConfig
+{
 public:
     struct {
         /* These should be for the Store::Root instance.
index 58595b8b24b4c2d8f88c55b611c4ddfb8306f122..29f712510fdcaeb24f5e69b10e16f1e48f070ce6 100644 (file)
@@ -32,7 +32,8 @@
  *
  */
 
-class link_list {
+class link_list
+{
     public:
     void *ptr;
     link_list *next;
index 5ee7164f5bb05444b705dab7c9acfacd39dbac63..8dd546d8e904844943291f931f000ec07a2dbb07 100644 (file)
@@ -32,7 +32,8 @@
 #include "err_type.h"
 #include "acl/AclNameList.h"
 
-class AclDenyInfoList {
+class AclDenyInfoList
+{
 public:
     err_type err_page_id;
     char *err_page_name;
index c60120dfcbc1dabefc099be08238585335551916..6f7b08df96009984f82791cc23c979ec302c767d 100644 (file)
@@ -31,7 +31,8 @@
 
 #include "defines.h"
 //TODO: convert to a std::list<string>
-class AclNameList {
+class AclNameList
+{
 public:
     char name[ACL_NAME_SZ];
     AclNameList *next;
index 2c523c2064b3358d47841ba9881acaf99128436f..54ebc05e0174ce4dbaad0829fe1932613a100fe6 100644 (file)
@@ -13,14 +13,16 @@ class StoreEntry;
 class HttpRequest;
 class netdbEntry;
 
-class net_db_name {
+class net_db_name
+{
 public:
     hash_link hash;     /* must be first */
     net_db_name *next;
     netdbEntry *net_db_entry;
 };
 
-class net_db_peer {
+class net_db_peer
+{
 public:
     const char *peername;
     double hops;
@@ -28,7 +30,8 @@ public:
     time_t expires;
 };
 
-class netdbEntry {
+class netdbEntry
+{
 public:
     hash_link hash;     /* must be first */
     char network[MAX_IPSTRLEN];
index f5c1d3bb1dde5b7bcb9da7c838a6c2857859ec71..32a53a1fa434bc6fc7f463ede84162eecca0b25c 100644 (file)
@@ -34,7 +34,8 @@
 class ACLList;
 class Logfile;
 
-class CustomLog {
+class CustomLog
+{
 public:
     char *filename;
     ACLList *aclList;
index 601b06c3736f6f2428defa7f6f4c63c586ad7dc6..1d2de170c2ecba049eb376f2596ded5af92f96b7 100644 (file)
@@ -31,7 +31,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
  *
  */
-class StoreRebuildData {
+class StoreRebuildData
+{
 public:
     int objcount;       /* # objects successfully reloaded */
     int expcount;       /* # objects expired */
index 658b0a10499b18989a7ab1d106c30e519ddab688..6a1f891d5cb179cca6bcac9c199f11108156863d 100644 (file)
@@ -46,7 +46,8 @@ class ACLChecklist;
 #if SQUID_SNMP
 
 #include "snmp_session.h"
-class snmp_request_t {
+class snmp_request_t
+{
 public:
     u_char *buf;
     u_char *outbuf;
@@ -111,14 +112,16 @@ struct PortCfg;
 }
 class SwapDir;
 
-class close_handler {
+class close_handler
+{
 public:
     PF *handler;
     void *data;
     close_handler *next;
 };
 
-class dread_ctrl {
+class dread_ctrl
+{
 public:
     int fd;
     off_t offset;
@@ -129,7 +132,8 @@ public:
     void *client_data;
 };
 
-class dwrite_q {
+class dwrite_q
+{
 public:
     off_t file_offset;
     char *buf;
@@ -147,7 +151,8 @@ struct _fde_disk {
     off_t offset;
 };
 
-class http_state_flags {
+class http_state_flags
+{
 public:
     unsigned int proxying:1;
     unsigned int keepalive:1;
@@ -166,14 +171,16 @@ public:
     unsigned int sentLastChunk:1; ///< do not try to write last-chunk again
 };
 
-class domain_ping {
+class domain_ping
+{
 public:
     char *domain;
     int do_ping;               /* boolean */
     domain_ping *next;
 };
 
-class domain_type {
+class domain_type
+{
 public:
     char *domain;
     peer_t type;