AnyOf.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 #include "squid.h"
10 #include "acl/AnyOf.h"
11 
12 char const *
14 {
15  return "any-of";
16 }
17 
18 ACL *
20 {
21  return new AnyOf;
22 }
23 
24 // called once per "acl name any-of name1 name2 ...." line
25 // but since multiple lines are ORed, the line boundary does not matter,
26 // so we flatten the tree into one line/level here to minimize overheads
27 void
29 {
30  lineParse();
31 }
32 
virtual void parse()
parses node represenation in squid.conf; dies on failures
Definition: AnyOf.cc:28
Definition: Acl.h:39
Configurable any-of ACL. Each ACL line is a disjuction of ACLs.
Definition: AnyOf.h:18
virtual ACL * clone() const
Definition: AnyOf.cc:19
virtual char const * typeString() const
Definition: AnyOf.cc:13

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors