]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/acl/Protocol.h
Simplify appending SBuf to String (#2108)
[thirdparty/squid.git] / src / acl / Protocol.h
... / ...
CommitLineData
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_PROTOCOL_H
10#define SQUID_SRC_ACL_PROTOCOL_H
11
12#include "acl/Data.h"
13#include "acl/ParameterizedNode.h"
14#include "anyp/ProtocolType.h"
15
16namespace Acl
17{
18
19/// a "proto" ACL
20class ProtocolCheck: public ParameterizedNode< ACLData<AnyP::ProtocolType> >
21{
22public:
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_PROTOCOL_H */
31