]>
Commit | Line | Data |
---|---|---|
5dee515e | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
5dee515e | 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. | |
5dee515e | 7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 28 Access Control */ |
10 | ||
582c2af2 | 11 | #include "squid.h" |
127dce76 AR |
12 | #include "acl/Time.h" |
13 | #include "acl/TimeData.h" | |
985c86bc | 14 | #include "SquidTime.h" |
5dee515e | 15 | |
5dee515e | 16 | int |
ced8def3 | 17 | ACLTimeStrategy::match(ACLData<MatchType> * &data, ACLFilledChecklist *, ACLFlags &) |
5dee515e | 18 | { |
ced8def3 | 19 | return data->match(squid_curtime); |
5dee515e | 20 | } |
21 | ||
22 | ACLTimeStrategy * | |
23 | ACLTimeStrategy::Instance() | |
24 | { | |
25 | return &Instance_; | |
26 | } | |
27 | ||
28 | ACLTimeStrategy ACLTimeStrategy::Instance_; | |
f53969cc | 29 |