]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Protocol.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / acl / Protocol.h
CommitLineData
5dee515e 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
5dee515e 3 *
bbc27441
AJ
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.
5dee515e 7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_ACL_PROTOCOL_H
10#define SQUID_SRC_ACL_PROTOCOL_H
0c3d3f65 11
8319d478
AR
12#include "acl/Data.h"
13#include "acl/ParameterizedNode.h"
0c3d3f65 14#include "anyp/ProtocolType.h"
5dee515e 15
8319d478 16namespace Acl
62e76326 17{
18
8319d478
AR
19/// a "proto" ACL
20class ProtocolCheck: public ParameterizedNode< ACLData<AnyP::ProtocolType> >
21{
62e76326 22public:
922513e5 23 /* Acl::Node API */
8319d478 24 int match(ACLChecklist *) override;
337b9aa4 25 bool requiresRequest() const override {return true;}
b0dd28ba 26};
5dee515e 27
8319d478
AR
28} // namespace Acl
29
ff9d9458 30#endif /* SQUID_SRC_ACL_PROTOCOL_H */
f53969cc 31