]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AnyOf.h
Merged from trunk (r12858).
[thirdparty/squid.git] / src / acl / AnyOf.h
1 #ifndef SQUID_ACL_ANY_OF_H
2 #define SQUID_ACL_ANY_OF_H
3
4 #include "acl/BoolOps.h"
5
6 namespace Acl
7 {
8
9 /// Configurable any-of ACL. Each ACL line is a disjuction of ACLs.
10 class AnyOf: public Acl::OrNode
11 {
12 public:
13 MEMPROXY_CLASS(AnyOf);
14
15 /* ACL API */
16 virtual char const *typeString() const;
17 virtual ACL *clone() const;
18 virtual void parse();
19
20 private:
21 static Prototype RegistryProtoype;
22 static AnyOf RegistryEntry_;
23 };
24 MEMPROXY_CLASS_INLINE(Acl::AnyOf);
25
26 } // namespace Acl
27
28 #endif /* SQUID_ACL_ANY_OF_H */