Squid Web Cache
master
Loading...
Searching...
No Matches
stub_access_log.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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 "
HierarchyLogEntry.h
"
11
12
#define STUB_API "access.log.cc"
13
#include "
tests/STUB.h
"
14
15
HierarchyLogEntry::HierarchyLogEntry
()
STUB_NOP
16
17
void
HierarchyLogEntry
::notePeerRead()
STUB
18
void
HierarchyLogEntry
::notePeerWrite()
STUB
19
bool
HierarchyLogEntry
::peerResponseTime(struct timeval &)
STUB_RETVAL
(false)
20
21
ping_data
::
ping_data
() :
22
n_sent(0),
23
n_recv(0),
24
n_replies_expected(0),
25
timeout(0),
26
timedout(0),
27
w_rtt(0),
28
p_rtt(0)
29
{
30
start.tv_sec = 0;
31
start.tv_usec = 0;
32
stop.tv_sec = 0;
33
stop.tv_usec = 0;
34
}
35
HierarchyLogEntry.h
STUB.h
STUB
#define STUB
macro to stub a void function.
Definition
STUB.h:34
STUB_NOP
#define STUB_NOP
Definition
STUB.h:38
STUB_RETVAL
#define STUB_RETVAL(x)
Definition
STUB.h:42
HierarchyLogEntry
Definition
HierarchyLogEntry.h:24
HierarchyLogEntry::HierarchyLogEntry
HierarchyLogEntry()
Definition
access_log.cc:171
ping_data
ICP probing of cache_peers during peer selection.
Definition
PingData.h:26
squid.h
squid
src
tests
stub_access_log.cc
Generated by
1.9.8