From: Francesco Chemolli Date: Wed, 8 Aug 2012 07:54:29 +0000 (+0200) Subject: Fixed formatting of stub_libcomm.cc X-Git-Tag: sourceformat-review-1~126^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9375050a3140f45d06b6b55fc666efc6518ba16f;p=thirdparty%2Fsquid.git Fixed formatting of stub_libcomm.cc --- 9375050a3140f45d06b6b55fc666efc6518ba16f diff --cc src/tests/stub_HttpRequest.cc index 202193b831,202193b831..c4a92546ab --- a/src/tests/stub_HttpRequest.cc +++ b/src/tests/stub_HttpRequest.cc @@@ -6,15 -6,15 +6,15 @@@ #include "tests/STUB.h" HttpRequest::HttpRequest() : HttpMsg(hoRequest) STUB -- HttpRequest::HttpRequest(const HttpRequestMethod& method, AnyP::ProtocolType protocol, const char *aUrlpath) : HttpMsg(hoRequest) STUB -- HttpRequest::~HttpRequest() STUB -- void HttpRequest::packFirstLineInto(Packer * p, bool full_uri) const STUB -- bool HttpRequest::sanityCheckStartLine(MemBuf *buf, const size_t hdr_len, http_status *error) STUB_RETVAL(false) -- void HttpRequest::hdrCacheInit() STUB -- void HttpRequest::reset() STUB -- bool HttpRequest::expectingBody(const HttpRequestMethod& unused, int64_t&) const STUB_RETVAL(false) -- void HttpRequest::initHTTP(const HttpRequestMethod& aMethod, AnyP::ProtocolType aProtocol, const char *aUrlpath) STUB -- bool HttpRequest::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false) -- HttpRequest * HttpRequest::clone() const STUB_RETVAL(NULL) -- bool HttpRequest::inheritProperties(const HttpMsg *aMsg) STUB_RETVAL(false) -- int64_t HttpRequest::getRangeOffsetLimit() STUB_RETVAL(0) ++HttpRequest::HttpRequest(const HttpRequestMethod& method, AnyP::ProtocolType protocol, const char *aUrlpath) : HttpMsg(hoRequest) STUB ++HttpRequest::~HttpRequest() STUB ++void HttpRequest::packFirstLineInto(Packer * p, bool full_uri) const STUB ++bool HttpRequest::sanityCheckStartLine(MemBuf *buf, const size_t hdr_len, http_status *error) STUB_RETVAL(false) ++void HttpRequest::hdrCacheInit() STUB ++void HttpRequest::reset() STUB ++bool HttpRequest::expectingBody(const HttpRequestMethod& unused, int64_t&) const STUB_RETVAL(false) ++void HttpRequest::initHTTP(const HttpRequestMethod& aMethod, AnyP::ProtocolType aProtocol, const char *aUrlpath) STUB ++bool HttpRequest::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false) ++HttpRequest * HttpRequest::clone() const STUB_RETVAL(NULL) ++bool HttpRequest::inheritProperties(const HttpMsg *aMsg) STUB_RETVAL(false) ++int64_t HttpRequest::getRangeOffsetLimit() STUB_RETVAL(0) diff --cc src/tests/stub_libcomm.cc index b2632fc0e9,b2632fc0e9..ac1a2b4088 --- a/src/tests/stub_libcomm.cc +++ b/src/tests/stub_libcomm.cc @@@ -26,19 -26,19 +26,19 @@@ bool Comm::ConnOpener::doneAll() const void Comm::ConnOpener::start() STUB void Comm::ConnOpener::swanSong() STUB Comm::ConnOpener::ConnOpener(Comm::ConnectionPointer &, AsyncCall::Pointer &, time_t) : AsyncJob("STUB Comm::ConnOpener") STUB -- Comm::ConnOpener::~ConnOpener() STUB -- void Comm::ConnOpener::setHost(const char *) STUB -- const char * Comm::ConnOpener::getHost() const STUB_RETVAL(NULL) ++Comm::ConnOpener::~ConnOpener() STUB ++void Comm::ConnOpener::setHost(const char *) STUB ++const char * Comm::ConnOpener::getHost() const STUB_RETVAL(NULL) #include "comm/forward.h" -- bool Comm::IsConnOpen(const Comm::ConnectionPointer &) STUB_RETVAL(false) ++bool Comm::IsConnOpen(const Comm::ConnectionPointer &) STUB_RETVAL(false) #include "comm/IoCallback.h" -- void Comm::IoCallback::setCallback(iocb_type type, AsyncCall::Pointer &cb, char *buf, FREE *func, int sz) STUB -- void Comm::IoCallback::selectOrQueueWrite() STUB -- void Comm::IoCallback::cancel(const char *reason) STUB -- void Comm::IoCallback::finish(comm_err_t code, int xerrn) STUB -- Comm::CbEntry *Comm::iocb_table = NULL; ++void Comm::IoCallback::setCallback(iocb_type type, AsyncCall::Pointer &cb, char *buf, FREE *func, int sz) STUB ++void Comm::IoCallback::selectOrQueueWrite() STUB ++void Comm::IoCallback::cancel(const char *reason) STUB ++void Comm::IoCallback::finish(comm_err_t code, int xerrn) STUB ++Comm::CbEntry *Comm::iocb_table = NULL; void Comm::CallbackTableInit() STUB void Comm::CallbackTableDestruct() STUB