source: squid-ssl/trunk/fuentes/src/acl/AnyOf.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 806 bytes
Line 
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
14namespace Acl
15{
16
17/// Configurable any-of ACL. Each ACL line is a disjuction of ACLs.
18class AnyOf: public Acl::OrNode
19{
20public:
21    MEMPROXY_CLASS(AnyOf);
22
23    /* ACL API */
24    virtual char const *typeString() const;
25    virtual ACL *clone() const;
26    virtual void parse();
27
28private:
29    static Prototype RegistryProtoype;
30    static AnyOf RegistryEntry_;
31};
32MEMPROXY_CLASS_INLINE(Acl::AnyOf);
33
34} // namespace Acl
35
36#endif /* SQUID_ACL_ANY_OF_H */
37
Note: See TracBrowser for help on using the repository browser.