]> git.ipfire.org Git - thirdparty/squid.git/blob - src/HttpHeaderFieldStat.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / HttpHeaderFieldStat.h
1 /*
2 * Copyright (C) 1996-2017 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_HTTPHEADERFIELDSTAT_H_
10 #define SQUID_HTTPHEADERFIELDSTAT_H_
11
12 /// per field statistics. Currently a POD.
13 class HttpHeaderFieldStat
14 {
15 public:
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_HTTPHEADERFIELDSTAT_H_ */
26