]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/AnyOf.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / AnyOf.cc
CommitLineData
bbc27441 1/*
bde978a6 2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
bbc27441
AJ
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
6f58d7d7
AR
9#include "squid.h"
10#include "acl/AnyOf.h"
11
12char const *
13Acl::AnyOf::typeString() const
14{
15 return "any-of";
16}
17
18ACL *
19Acl::AnyOf::clone() const
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
27void
28Acl::AnyOf::parse()
29{
30 lineParse();
31}
f53969cc 32