Squid Web Cache
master
Loading...
Searching...
No Matches
NoteData.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_NOTEDATA_H
10
#define SQUID_SRC_ACL_NOTEDATA_H
11
12
#include "
acl/Data.h
"
13
#include "
Notes.h
"
14
#include "
SquidString.h
"
15
16
class
ACLStringData
;
17
19
class
ACLNoteData
:
public
ACLData
<NotePairs::Entry *>
20
{
21
MEMPROXY_CLASS
(
ACLNoteData
);
22
23
public
:
24
ACLNoteData
();
25
~ACLNoteData
()
override
;
26
bool
match
(
NotePairs::Entry
*)
override
;
27
SBufList
dump
()
const override
;
28
void
parse
()
override
;
29
bool
empty
()
const override
;
30
31
private
:
32
SBuf
name
;
33
ACLStringData
*
values
;
34
};
35
36
#endif
/* SQUID_SRC_ACL_NOTEDATA_H */
37
Data.h
Notes.h
SquidString.h
ACLData
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition
Data.h:18
ACLNoteData
Definition
NoteData.h:20
ACLNoteData::parse
void parse() override
Definition
NoteData.cc:48
ACLNoteData::values
ACLStringData * values
if set, at least one value must match
Definition
NoteData.h:33
ACLNoteData::empty
bool empty() const override
Definition
NoteData.cc:55
ACLNoteData::~ACLNoteData
~ACLNoteData() override
Definition
NoteData.cc:22
ACLNoteData::match
bool match(NotePairs::Entry *) override
Definition
NoteData.cc:28
ACLNoteData::MEMPROXY_CLASS
MEMPROXY_CLASS(ACLNoteData)
ACLNoteData::ACLNoteData
ACLNoteData()
Definition
NoteData.cc:19
ACLNoteData::name
SBuf name
Note name to check. It is always set.
Definition
NoteData.h:32
ACLNoteData::dump
SBufList dump() const override
Definition
NoteData.cc:39
ACLStringData
Definition
StringData.h:19
NotePairs::Entry
Used to store a note key/value pair.
Definition
Notes.h:187
SBuf
Definition
SBuf.h:94
SBufList
std::list< SBuf > SBufList
Definition
forward.h:23
squid
src
acl
NoteData.h
Generated by
1.9.8