stub_time.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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 
Definition: SquidTime.h:59
const char * FormatStrf(time_t t)
Definition: stub_time.cc:24
int tvSubMsec(struct timeval, struct timeval)
Definition: stub_time.cc:20
void tvSub(timeval &, timeval const &, timeval const &)
Definition: stub_time.cc:21
#define STUB_RETVAL(x)
Definition: STUB.h:41
time_t getCurrentTime(void)
Get current time.
Definition: stub_time.cc:19
#define STUB
macro to stub a void function.
Definition: STUB.h:33
time_t squid_curtime
Definition: stub_time.cc:17
bool SIGHDLR int STUB void int
Definition: stub_tools.cc:68
void tvAssignAdd(timeval &, timeval const &)
Definition: stub_time.cc:22
const char * FormatHttpd(time_t t)
Definition: stub_time.cc:25
struct timeval current_time
Definition: stub_time.cc:15
double current_dtime
Definition: stub_time.cc:16

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors