squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
tests
stub_access_log.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 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
16
17
void
HierarchyLogEntry
::notePeerRead()
STUB
18
void
HierarchyLogEntry
::notePeerWrite()
STUB
19
bool
HierarchyLogEntry
::peerResponseTime(struct timeval &)
STUB_RETVAL
(false)
20
bool
HierarchyLogEntry
::totalResponseTime(struct timeval &)
STUB_RETVAL
(false)
21
22
ping_data
::
ping_data
() :
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)
30
{
31
start.tv_sec = 0;
32
start.tv_usec = 0;
33
stop.tv_sec = 0;
34
stop.tv_usec = 0;
35
}
36
HierarchyLogEntry.h
STUB.h
STUB
#define STUB
macro to stub a void function.
Definition:
STUB.h:33
STUB_RETVAL
#define STUB_RETVAL(x)
Definition:
STUB.h:41
HierarchyLogEntry
Definition:
HierarchyLogEntry.h:23
HierarchyLogEntry::HierarchyLogEntry
HierarchyLogEntry()
Definition:
access_log.cc:171
ping_data
ICP probing of cache_peers during peer selection.
Definition:
PingData.h:26
squid.h
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
...
full list
FTP Package Archive