]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Tag.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / acl / Tag.cc
CommitLineData
0ab50441 1/*
f70aedc4 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
0ab50441 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.
0ab50441
HN
7 */
8
582c2af2 9#include "squid.h"
4eac3407 10#include "acl/FilledChecklist.h"
602d9612
A
11#include "acl/StringData.h"
12#include "acl/Tag.h"
0ab50441
HN
13#include "HttpRequest.h"
14
0ab50441 15int
4eac3407 16ACLTagStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
0ab50441 17{
d25b5132 18 if (checklist->request != NULL)
04f7fd38 19 return data->match (checklist->request->tag.termedBuf());
0ab50441
HN
20 return 0;
21}
22