]> git.ipfire.org Git - thirdparty/squid.git/blame - src/HttpHeaderFieldStat.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / HttpHeaderFieldStat.h
CommitLineData
db2de30a 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
db2de30a 3 *
bbc27441
AJ
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.
db2de30a
FC
7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_HTTPHEADERFIELDSTAT_H
10#define SQUID_SRC_HTTPHEADERFIELDSTAT_H
bbc27441 11
001d55dc 12/// per field statistics. Currently a POD.
db2de30a
FC
13class HttpHeaderFieldStat
14{
15public:
16 HttpHeaderFieldStat() : aliveCount(0), seenCount(0), parsCount(0), errCount(0), repCount(0) {}
17
18 int aliveCount; /* created but not destroyed (count) */
60c799d3
FC
19 int seenCount; /* number of fields we've seen */
20 int parsCount; /* number of parsing attempts */
21 int errCount; /* number of pasring errors */
22 int repCount; /* number of repetitons */
db2de30a
FC
23};
24
ff9d9458 25#endif /* SQUID_SRC_HTTPHEADERFIELDSTAT_H */
f53969cc 26