]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Method.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / Method.cc
1 /*
2 * Copyright (C) 1996-2019 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 #include "squid.h"
10 #include "acl/FilledChecklist.h"
11 #include "acl/Method.h"
12 #include "acl/MethodData.h"
13 #include "acl/Strategised.h"
14 #include "HttpRequest.h"
15
16 /* explicit template instantiation required for some systems */
17
18 template class ACLStrategised<HttpRequestMethod>;
19
20 int
21 ACLMethodStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
22 {
23 return data->match (checklist->request->method);
24 }
25