]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Protocol.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / Protocol.h
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_ACLPROTOCOL_H
10 #define SQUID_ACLPROTOCOL_H
11
12 #include "acl/Strategy.h"
13 #include "anyp/ProtocolType.h"
14
15 class ACLProtocolStrategy : public ACLStrategy<AnyP::ProtocolType>
16 {
17
18 public:
19 int match (ACLData<MatchType> * &, ACLFilledChecklist *) override;
20 bool requiresRequest() const override {return true;}
21 };
22
23 #endif /* SQUID_ACLPROTOCOL_H */
24