stub_time.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 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;
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
29 
void tvAssignAdd(struct timeval &t, struct timeval const &add)
Definition: time.cc:62
const char * FormatStrf(time_t t)
Definition: stub_time.cc:24
struct timeval current_time
Definition: stub_time.cc:15
time_t squid_curtime
Definition: stub_time.cc:17
int tvSubMsec(struct timeval, struct timeval)
Definition: stub_time.cc:20
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void tvSub(struct timeval &res, struct timeval const &t1, struct timeval const &t2)
Definition: time.cc:41
time_t getCurrentTime(void)
Get current time.
const char * FormatHttpd(time_t t)
Definition: stub_time.cc:25
double current_dtime
Definition: stub_time.cc:16

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors