]> git.ipfire.org Git - thirdparty/squid.git/blob - src/HttpHeaderStat.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / HttpHeaderStat.h
1 /*
2 * Copyright (C) 1996-2014 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 HTTPHEADERSTAT_H_
10 #define HTTPHEADERSTAT_H_
11
12 #include "StatHist.h"
13
14 /// per header statistics
15 class HttpHeaderStat
16 {
17 public:
18 const char *label;
19 HttpHeaderMask *owner_mask;
20
21 StatHist hdrUCountDistr;
22 StatHist fieldTypeDistr;
23 StatHist ccTypeDistr;
24 StatHist scTypeDistr;
25
26 int parsedCount;
27 int ccParsedCount;
28 int scParsedCount;
29 int destroyedCount;
30 int busyDestroyedCount;
31 };
32
33 #endif /* HTTPHEADERSTAT_H_ */
34