Squid Web Cache
master
Loading...
Searching...
No Matches
HierCode.h
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
#ifndef SQUID_SRC_ACL_HIERCODE_H
10
#define SQUID_SRC_ACL_HIERCODE_H
11
12
#include "
acl/Data.h
"
13
#include "
acl/ParameterizedNode.h
"
14
#include "
hier_code.h
"
15
16
namespace
Acl
17
{
18
20
class
HierCodeCheck
:
public
ParameterizedNode
< ACLData<hier_code> >
21
{
22
public
:
23
/* Acl::Node API */
24
int
match
(
ACLChecklist
*)
override
;
25
bool
requiresRequest
()
const override
{
return
true
;}
26
};
27
28
}
// namespace Acl
29
30
#endif
/* SQUID_SRC_ACL_HIERCODE_H */
31
Data.h
ParameterizedNode.h
ACLChecklist
Definition
Checklist.h:31
Acl::HierCodeCheck
a "hier_code" ACL
Definition
HierCode.h:21
Acl::HierCodeCheck::requiresRequest
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
Definition
HierCode.h:25
Acl::HierCodeCheck::match
int match(ACLChecklist *) override
Matches the actual data in checklist against this Acl::Node.
Definition
HierCode.cc:15
Acl::ParameterizedNode
Definition
ParameterizedNode.h:24
hier_code.h
Acl
Definition
Acl.cc:33
squid
src
acl
HierCode.h
Generated by
1.9.8