]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AnyOf.cc
9242d599b5c7132e4c85b0e4e2600ed017ab0650
[thirdparty/squid.git] / src / acl / AnyOf.cc
1 /*
2 * Copyright (C) 1996-2025 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 *
13 Acl::AnyOf::typeString() const
14 {
15 return "any-of";
16 }
17
18 // called once per "acl name any-of name1 name2 ...." line
19 // but since multiple lines are ORed, the line boundary does not matter,
20 // so we flatten the tree into one line/level here to minimize overheads
21 void
22 Acl::AnyOf::parse()
23 {
24 lineParse();
25 }
26