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