]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/stub_HttpReply.cc
SourceLayout: move HttpMsg into libhttp as Http::Message
[thirdparty/squid.git] / src / tests / stub_HttpReply.cc
index 202e964df4490ff08167c914fbfa78fed51e37ec..39d815607a757c948a5c1d3c1fd5bd3c3c80fb7b 100644 (file)
 #define STUB_API "HttpReply.cc"
 #include "tests/STUB.h"
 
-HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0),
+HttpReply::HttpReply() : Http::Message(hoReply), date (0), last_modified (0),
     expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0),
     protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2)
-    STUB_NOP
+    {STUB_NOP}
     HttpReply::~HttpReply() STUB
     void HttpReply::setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires_) STUB
     void HttpReply::packHeadersInto(Packable *) const STUB
@@ -27,7 +27,7 @@ HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0),
     bool HttpReply::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false)
     void HttpReply::hdrCacheInit() STUB
     HttpReply * HttpReply::clone() const STUB_RETVAL(NULL)
-    bool HttpReply::inheritProperties(const HttpMsg *aMsg) STUB_RETVAL(false)
+    bool HttpReply::inheritProperties(const Http::Message *aMsg) STUB_RETVAL(false)
     bool HttpReply::updateOnNotModified(HttpReply const*) STUB_RETVAL(false)
     int64_t HttpReply::bodySize(const HttpRequestMethod&) const STUB_RETVAL(0)