]>
Commit | Line | Data |
---|---|---|
f7f3304a | 1 | #include "squid-old.h" |
bbaf2685 AJ |
2 | #include "acl/HierCode.h" |
3 | #include "acl/HierCodeData.h" | |
4 | #include "acl/Checklist.h" | |
5 | #include "HttpRequest.h" | |
6 | ||
7 | /* explicit template instantiation required for some systems */ | |
8 | ||
9 | template class ACLStrategised<hier_code>; | |
10 | ||
11 | ||
12 | int | |
13 | ACLHierCodeStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist) | |
14 | { | |
15 | return data->match (checklist->request->hier.code); | |
16 | } | |
17 | ||
18 | ACLHierCodeStrategy * | |
19 | ACLHierCodeStrategy::Instance() | |
20 | { | |
21 | return &Instance_; | |
22 | } | |
23 | ||
24 | ACLHierCodeStrategy ACLHierCodeStrategy::Instance_; |