]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AllOf.h
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_ACL_ALL_OF_H
10 #define SQUID_ACL_ALL_OF_H
12 #include "acl/InnerNode.h"
17 /// Configurable all-of ACL. Each ACL line is a conjuction of ACLs.
18 /// Uses AndNode and OrNode to handle squid.conf configuration where multiple
19 /// acl all-of lines are always ORed together.
20 class AllOf
: public Acl::InnerNode
22 MEMPROXY_CLASS(AllOf
);
26 virtual char const *typeString() const;
27 virtual ACL
*clone() const;
29 virtual SBufList
dump() const;
32 /* Acl::InnerNode API */
33 virtual int doMatch(ACLChecklist
*checklist
, Nodes::const_iterator start
) const;
38 #endif /* SQUID_ACL_ALL_OF_H */