]> git.ipfire.org Git - thirdparty/squid.git/commit - src/comm/ConnOpener.cc
SourceLayout: rename comm_err_t to Comm::Flag
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 5 Jun 2014 14:57:58 +0000 (07:57 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 5 Jun 2014 14:57:58 +0000 (07:57 -0700)
commitc84072955413d01892a9ef72f44c676609850825
tree78617f423fefa7ac86ef6a5d4dfd0bd64d6c80cf
parentb3080eecc36652ca896c83e58f3b5c4bb0a7edff
SourceLayout: rename comm_err_t to Comm::Flag

Integration testing of rev.13443 revealed that there were two copies of
comm_err_t.h in the source code.

* Remove the unnecessary duplicate file.
* Shuffle the enum into Comm:: scope as 'Flag'.
* Reduce the enum value labels to drop the redundant prefix.
* Rename COMM_EOF to Comm::ENDFILE to avoid colliston with #define EOF
  in system headers.
55 files changed:
src/Comm.dox
src/CommCalls.cc
src/CommCalls.h
src/FwdState.cc
src/FwdState.h
src/Makefile.am
src/PeerPoolMgr.cc
src/Server.cc
src/client_side.cc
src/client_side.h
src/client_side_request.cc
src/client_side_request.h
src/comm.cc
src/comm.h
src/comm/ConnOpener.cc
src/comm/ConnOpener.h
src/comm/Flag.h [new file with mode: 0644]
src/comm/IoCallback.cc
src/comm/IoCallback.h
src/comm/Loops.h
src/comm/Makefile.am
src/comm/ModDevPoll.cc
src/comm/ModEpoll.cc
src/comm/ModKqueue.cc
src/comm/ModPoll.cc
src/comm/ModSelect.cc
src/comm/ModSelectWin32.cc
src/comm/Read.cc
src/comm/Read.h
src/comm/TcpAcceptor.cc
src/comm/TcpAcceptor.h
src/comm/Write.cc
src/comm/comm_err_t.h [deleted file]
src/comm_err_t.h [deleted file]
src/dns_internal.cc
src/errorpage.cc
src/ftp.cc
src/gopher.cc
src/helper.cc
src/http.cc
src/ident/Ident.cc
src/ipc.cc
src/ipc/Port.cc
src/ipc/UdsOp.cc
src/ipc_win32.cc
src/log/TcpLogger.cc
src/mgr/Inquirer.cc
src/mgr/StoreToCommWriter.cc
src/neighbors.cc
src/pconn.cc
src/tests/stub_client_side.cc
src/tests/stub_comm.cc
src/tests/stub_libcomm.cc
src/tunnel.cc
src/whois.cc