]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_db.h
SourceLayout: Shuffle and collate the log result codes symbols
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 11 Feb 2013 23:11:12 +0000 (16:11 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 11 Feb 2013 23:11:12 +0000 (16:11 -0700)
commit02c8dde5cc20d7594afac26284c0119167d19721
tree655312725e4001950bdb2ade868598281e4fcb2e
parent3e1dfe3d84c112042c4c3da038c36a94793c08b2
SourceLayout: Shuffle and collate the log result codes symbols

This collates all the small definitions spread around Squid for defining
and handling the TCP_* and UDP_* result code tags logged by Squid.

* log_type enumeration shuffled from enums.h
* log_type increment operator shuffled from client_db
* log_type strings shuffled from Format:: and built automatically
* is-HIT lookup test shuffled from ICP

Due to LogTags.cc being automatically built from the enum list we define
the shuffled functions as inline. This is not a problem due to their small
size. When the LogTags type is converted to a class thay can be de-inlined.
27 files changed:
src/AccessLogEntry.h
src/ClientInfo.h
src/ICP.h
src/LogTags.h [new file with mode: 0644]
src/Makefile.am
src/adaptation/icap/History.h
src/client_db.cc
src/client_db.h
src/client_side.cc
src/client_side_reply.cc
src/client_side_request.cc
src/client_side_request.h
src/enums.h
src/format/ByteCode.h
src/format/Format.cc
src/format/Token.cc
src/format/Token.h
src/htcp.cc
src/icp_v2.cc
src/log/FormatHttpdCombined.cc
src/log/FormatHttpdCommon.cc
src/log/FormatSquidNative.cc
src/log/access_log.cc
src/log/access_log.h
src/stat.cc
src/tests/stub_client_db.cc
src/tests/stub_icp.cc