]>
Commit | Line | Data |
---|---|---|
00634927 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
00634927 | 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. | |
00634927 | 7 | */ |
8 | ||
582c2af2 | 9 | #include "squid.h" |
127dce76 | 10 | #include "acl/Checklist.h" |
602d9612 A |
11 | #include "acl/HttpHeaderData.h" |
12 | #include "acl/HttpReqHeader.h" | |
00634927 | 13 | #include "HttpRequest.h" |
14 | ||
00634927 | 15 | int |
33810b1d | 16 | ACLHTTPReqHeaderStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist, ACLFlags &) |
00634927 | 17 | { |
18 | return data->match (&checklist->request->header); | |
19 | } | |
20 | ||
21 | ACLHTTPReqHeaderStrategy * | |
22 | ACLHTTPReqHeaderStrategy::Instance() | |
23 | { | |
24 | return &Instance_; | |
25 | } | |
26 | ||
27 | ACLHTTPReqHeaderStrategy ACLHTTPReqHeaderStrategy::Instance_; | |
28 |