]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Time.cc
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / acl / Time.cc
CommitLineData
5dee515e 1/*
bbc27441 2 * Copyright (C) 1996-2014 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 16int
33810b1d 17ACLTimeStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist, ACLFlags &)
5dee515e 18{
19 return data->match (squid_curtime);
20}
21
22ACLTimeStrategy *
23ACLTimeStrategy::Instance()
24{
25 return &Instance_;
26}
27
28ACLTimeStrategy ACLTimeStrategy::Instance_;