]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/HierCode.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / acl / HierCode.cc
CommitLineData
bbc27441 1/*
f70aedc4 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
bbc27441
AJ
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
582c2af2 9#include "squid.h"
602d9612 10#include "acl/Checklist.h"
bbaf2685
AJ
11#include "acl/HierCode.h"
12#include "acl/HierCodeData.h"
4eac3407 13#include "acl/Strategised.h"
bbaf2685
AJ
14#include "HttpRequest.h"
15
16/* explicit template instantiation required for some systems */
17
18template class ACLStrategised<hier_code>;
19
bbaf2685 20int
4eac3407 21ACLHierCodeStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
bbaf2685
AJ
22{
23 return data->match (checklist->request->hier.code);
24}
25