]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_access_log.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / stub_access_log.cc
CommitLineData
4e0938ef 1/*
77b1029d 2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
4e0938ef
AJ
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
582c2af2 9#include "squid.h"
81beaff8 10#include "HierarchyLogEntry.h"
11
081edc2d
AJ
12#define STUB_API "access.log.cc"
13#include "tests/STUB.h"
81beaff8 14
081edc2d 15HierarchyLogEntry::HierarchyLogEntry() STUB
81beaff8 16
d8165775
AR
17void HierarchyLogEntry::notePeerRead() STUB
18void HierarchyLogEntry::notePeerWrite() STUB
19bool HierarchyLogEntry::peerResponseTime(struct timeval &) STUB_RETVAL(false)
20bool HierarchyLogEntry::totalResponseTime(struct timeval &) STUB_RETVAL(false)
21
81beaff8 22ping_data::ping_data() :
f53969cc
SM
23 n_sent(0),
24 n_recv(0),
25 n_replies_expected(0),
26 timeout(0),
27 timedout(0),
28 w_rtt(0),
29 p_rtt(0)
81beaff8 30{
31 start.tv_sec = 0;
32 start.tv_usec = 0;
33 stop.tv_sec = 0;
34 stop.tv_usec = 0;
35}
f53969cc 36