]> git.ipfire.org Git - thirdparty/squid.git/blame - src/HttpHeaderFieldInfo.h
Maintenance: bump astyle to 2.04 and quieten report
[thirdparty/squid.git] / src / HttpHeaderFieldInfo.h
CommitLineData
79cb238d 1/*
bbc27441 2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
79cb238d 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.
79cb238d
FC
7 */
8
bbc27441
AJ
9#ifndef SQUID_HTTPHEADERFIELDINFO_H_
10#define SQUID_HTTPHEADERFIELDINFO_H_
11
79cb238d 12#include "HttpHeaderFieldStat.h"
602d9612 13#include "SquidString.h"
79cb238d 14
001d55dc 15/// compiled version of HttpHeaderFieldAttrs plus stats. Currently a POD.
79cb238d
FC
16class HttpHeaderFieldInfo
17{
18public:
60c799d3 19 HttpHeaderFieldInfo() : id(HDR_ACCEPT), type(ftInvalid) {}
79cb238d
FC
20
21 http_hdr_type id;
22 String name;
23 field_type type;
24 HttpHeaderFieldStat stat;
25};
26
79cb238d 27#endif /* SQUID_HTTPHEADERFIELDINFO_H_ */