]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_HttpReply.cc
Fix off by one in snmp subsystem
[thirdparty/squid.git] / src / tests / stub_HttpReply.cc
CommitLineData
f7f3304a 1#include "squid.h"
c8f4eac4 2#include "HttpReply.h"
3
081edc2d
AJ
4#define STUB_API "HttpReply.cc"
5#include "tests/STUB.h"
c8f4eac4 6
814f9a2e
AJ
7HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0),
8 expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0),
be798e45 9 protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2)
50a12abb
A
10 STUB_NOP
11 HttpReply::~HttpReply() STUB
955394ce 12 void HttpReply::setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires_) STUB
50a12abb
A
13 void HttpReply::packHeadersInto(Packer * p) const STUB
14 void HttpReply::reset() STUB
15 void httpBodyPackInto(const HttpBody * body, Packer * p) STUB
955394ce 16 bool HttpReply::sanityCheckStartLine(MemBuf *buf, const size_t hdr_len, Http::StatusCode *error) STUB_RETVAL(false)
50a12abb
A
17 int HttpReply::httpMsgParseError() STUB_RETVAL(0)
18 bool HttpReply::expectingBody(const HttpRequestMethod&, int64_t&) const STUB_RETVAL(false)
50a12abb
A
19 bool HttpReply::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false)
20 void HttpReply::hdrCacheInit() STUB
21 HttpReply * HttpReply::clone() const STUB_RETVAL(NULL)
22 bool HttpReply::inheritProperties(const HttpMsg *aMsg) STUB_RETVAL(false)
23 int64_t HttpReply::bodySize(const HttpRequestMethod&) const STUB_RETVAL(0)