]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AnnotationData.h
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLANNOTATIONDATA_H
10 #define SQUID_ACLANNOTATIONDATA_H
12 #include "AccessLogEntry.h"
17 class ACLAnnotationData
: public ACLData
<NotePairs::Entry
*>
19 MEMPROXY_CLASS(ACLAnnotationData
);
25 virtual bool match(NotePairs::Entry
*) { return true; }
26 virtual SBufList
dump() const;
28 virtual bool empty() const { return notes
->empty(); }
30 /// Stores annotations into pairs.
31 void annotate(NotePairs::Pointer pairs
, const CharacterSet
*delimiters
, const AccessLogEntry::Pointer
&al
);
37 #endif /* SQUID_ACLANNOTATIONDATA_H */