]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/AclSizeLimit.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / acl / AclSizeLimit.h
index 9b59d649bbba266defb70ceef7d0d0867c2bfed7..dad24def746b6f475f06dce92cffd1ae36f955d9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
 #define SQUID_ACLSIZELIMIT_H_
 
 #include "acl/forward.h"
+#include "cbdata.h"
 
 /// representation of a class of Size-limit ACLs
-// a POD. TODO: convert to new ACL framework
 class AclSizeLimit
 {
+    CBDATA_CLASS(AclSizeLimit);
+
 public:
+    AclSizeLimit() : next(NULL), aclList(NULL), size(0) {}
+    ~AclSizeLimit();
+
     AclSizeLimit *next;
     ACLList *aclList;
     int64_t size;