]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ModXact.cc
SourceLayout: shuffle HttpStatusLine into http/libsquid-http.la
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Mar 2013 04:55:51 +0000 (22:55 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Mar 2013 04:55:51 +0000 (22:55 -0600)
commit9b769c6702f1596fc4ba9e27d4514ae414a98319
tree175566655c6e8fde8c3c14f46b201ddf7b88c3c1
parent8219a52ef2077f0c96ed5f4adb3426e37d94dfb5
SourceLayout: shuffle HttpStatusLine into http/libsquid-http.la

* moves HttpStatusLine.* to http/StatusLine.*

* renames HttpStatusLine to Http::StatusLine

* renames httpStatusLine*() functions as members of Http::StatusLine

* shuffles StatusCode string conversion function into http/StatusCode

* makes reason parameter of StatusLine::set() function optional.
  There is no logic change involved but callers now no longer need to
  set it to the status code string explicitly, nor need to set it to NULL
  explicitly unless intending to replace an existing status string.

* adds const-correctness and documentation to StatusLine symbols.
35 files changed:
src/HttpReply.cc
src/HttpReply.h
src/HttpStatusLine.cc [deleted file]
src/Makefile.am
src/Server.cc
src/acl/Asn.cc
src/acl/HttpStatus.cc
src/adaptation/ecap/MessageRep.cc
src/adaptation/icap/Launcher.cc
src/adaptation/icap/ModXact.cc
src/adaptation/icap/Options.cc
src/adaptation/icap/Xaction.cc
src/auth/UserRequest.cc
src/auth/digest/UserRequest.cc
src/auth/negotiate/UserRequest.cc
src/cache_manager.cc
src/client_side.cc
src/client_side_reply.cc
src/esi/Esi.cc
src/esi/Include.cc
src/forward.cc
src/http.cc
src/http/Makefile.am
src/http/StatusCode.cc [new file with mode: 0644]
src/http/StatusCode.h
src/http/StatusLine.cc [new file with mode: 0644]
src/http/StatusLine.h [moved from src/HttpStatusLine.h with 59% similarity]
src/icmp/net_db.cc
src/log/access_log.cc
src/peer_digest.cc
src/store.cc
src/store_client.cc
src/store_log.cc
src/tests/stub_HttpReply.cc
src/urn.cc