]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_time.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / stub_time.cc
1 /*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9 #include "squid.h"
10 #include "SquidTime.h"
11
12 #define STUB_API "time.cc"
13 #include "STUB.h"
14
15 struct timeval current_time;
16 double current_dtime;
17 time_t squid_curtime = 0;
18
19 time_t getCurrentTime(void) STUB_RETVAL(0)
20 int tvSubMsec(struct timeval, struct timeval) STUB_RETVAL(0)
21 void tvSub(timeval&, timeval const&, timeval const&) STUB
22 void tvAssignAdd(timeval&, timeval const&) STUB
23
24 const char * Time::FormatStrf(time_t ) STUB_RETVAL("")
25 const char * Time::FormatHttpd(time_t ) STUB_RETVAL("")
26
27 void TimeEngine::tick() STUB
28 TimeEngine::~TimeEngine() STUB
29