]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AnyOf.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / AnyOf.h
1 /*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9 #ifndef SQUID_ACL_ANY_OF_H
10 #define SQUID_ACL_ANY_OF_H
11
12 #include "acl/BoolOps.h"
13
14 namespace Acl
15 {
16
17 /// Configurable any-of ACL. Each ACL line is a disjuction of ACLs.
18 class AnyOf: public Acl::OrNode
19 {
20 MEMPROXY_CLASS(AnyOf);
21
22 public:
23 /* ACL API */
24 virtual char const *typeString() const;
25 virtual ACL *clone() const;
26 virtual void parse();
27
28 private:
29 static Prototype RegistryProtoype;
30 static AnyOf RegistryEntry_;
31 };
32
33 } // namespace Acl
34
35 #endif /* SQUID_ACL_ANY_OF_H */
36