1 #ifndef SQUID_ACL_ALL_OF_H
2 #define SQUID_ACL_ALL_OF_H
4 #include "acl/InnerNode.h"
8 /// Configurable all-of ACL. Each ACL line is a conjuction of ACLs.
9 /// Uses AndNode and OrNode to handle squid.conf configuration where multiple
10 /// acl all-of lines are always ORed together.
11 class AllOf
: public Acl::InnerNode
14 MEMPROXY_CLASS(AllOf
);
17 virtual char const *typeString() const;
18 virtual ACL
*clone() const;
20 virtual wordlist
*dump() const;
23 /* Acl::InnerNode API */
24 virtual int doMatch(ACLChecklist
*checklist
, Nodes::const_iterator start
) const;
26 static Prototype RegistryProtoype
;
27 static AllOf RegistryEntry_
;
29 MEMPROXY_CLASS_INLINE(Acl::AllOf
);
33 #endif /* SQUID_ACL_ALL_OF_H */