]>
Commit | Line | Data |
---|---|---|
bbc27441 AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 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 | ||
6f58d7d7 AR |
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 | ACL * | |
19 | Acl::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 | |
27 | void | |
28 | Acl::AnyOf::parse() | |
29 | { | |
30 | lineParse(); | |
31 | } |