]> git.ipfire.org Git - thirdparty/squid.git/blob - src/HttpHeaderFieldInfo.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / HttpHeaderFieldInfo.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 SQUID_HTTPHEADERFIELDINFO_H_
10 #define SQUID_HTTPHEADERFIELDINFO_H_
11
12 #include "HttpHeaderFieldStat.h"
13 #include "SquidString.h"
14
15 /// compiled version of HttpHeaderFieldAttrs plus stats. Currently a POD.
16 class HttpHeaderFieldInfo
17 {
18 public:
19 HttpHeaderFieldInfo() : id(HDR_ACCEPT), type(ftInvalid) {}
20
21 http_hdr_type id;
22 String name;
23 field_type type;
24 HttpHeaderFieldStat stat;
25 };
26
27 #endif /* SQUID_HTTPHEADERFIELDINFO_H_ */
28