]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/HttpHeaderFieldStat.h
Fix SQUID_YESNO 'syntax error near unexpected token' (#2117)
[thirdparty/squid.git] / src / HttpHeaderFieldStat.h
... / ...
CommitLineData
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#ifndef SQUID_SRC_HTTPHEADERFIELDSTAT_H
10#define SQUID_SRC_HTTPHEADERFIELDSTAT_H
11
12/// per field statistics. Currently a POD.
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) */
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 */
23};
24
25#endif /* SQUID_SRC_HTTPHEADERFIELDSTAT_H */
26