/*
- * 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;