Squid Web Cache
master
Loading...
Searching...
No Matches
HasComponent.cc
Go to the documentation of this file.
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/HasComponent.h
"
11
#include "
acl/HasComponentData.h
"
12
13
int
14
Acl::HasComponentCheck::match
(
ACLChecklist
*
const
checklist)
15
{
16
const
auto
cdata =
dynamic_cast<
ACLHasComponentData
*
>
(
data
.get());
17
assert
(cdata);
18
return
cdata->match(checklist);
19
}
20
HasComponentData.h
HasComponent.h
assert
#define assert(EX)
Definition
assert.h:17
ACLChecklist
Definition
Checklist.h:31
ACLHasComponentData
Definition
HasComponentData.h:17
Acl::HasComponentCheck::match
int match(ACLChecklist *) override
Matches the actual data in checklist against this Acl::Node.
Definition
HasComponent.cc:14
Acl::ParameterizedNode< ACLData< ACLChecklist * > >::data
std::unique_ptr< Parameters > data
Definition
ParameterizedNode.h:43
squid.h
squid
src
acl
HasComponent.cc
Generated by
1.9.8