Note.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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_ACLNOTE_H
10#define SQUID_ACLNOTE_H
11
13#include "acl/Data.h"
15#include "Notes.h"
16
17namespace Acl {
18
20class AnnotationCheck: public ParameterizedNode< ACLData<NotePairs::Entry *> >
21{
22public:
24
25 const Acl::Options &options() override;
26
28};
29
32{
33public:
34 /* ACL API */
35 int match(ACLChecklist *) override;
36 bool requiresRequest() const override { return true; }
37
38private:
39 bool matchNotes(const NotePairs *) const;
40};
41
42} // namespace Acl
43
44#endif /* SQUID_ACLNOTE_H */
45
common parent of several ACLs dealing with transaction annotations
Definition: Note.h:21
Acl::CharacterSetOptionValue delimiters
annotation separators
Definition: Note.h:27
const Acl::Options & options() override
Definition: Note.cc:19
a "note" ACL
Definition: Note.h:32
int match(ACLChecklist *) override
Matches the actual data in checklist against this ACL.
Definition: Note.cc:30
bool matchNotes(const NotePairs *) const
Definition: Note.cc:47
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
Definition: Note.h:36
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
Definition: Acl.cc:31
std::vector< const Option * > Options
Definition: Options.h:214

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors