]>
Commit | Line | Data |
---|---|---|
4e0938ef AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors | |
3 | * | |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
7 | */ | |
8 | ||
f7f3304a | 9 | #include "squid.h" |
c8f4eac4 | 10 | #include "HttpReply.h" |
11 | ||
081edc2d AJ |
12 | #define STUB_API "HttpReply.cc" |
13 | #include "tests/STUB.h" | |
c8f4eac4 | 14 | |
814f9a2e | 15 | HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0), |
f53969cc SM |
16 | expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0), |
17 | protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2) | |
18 | STUB_NOP | |
19 | HttpReply::~HttpReply() STUB | |
20 | void HttpReply::setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires_) STUB | |
21 | void HttpReply::packHeadersInto(Packer * p) const STUB | |
22 | void HttpReply::reset() STUB | |
23 | void httpBodyPackInto(const HttpBody * body, Packer * p) STUB | |
24 | bool HttpReply::sanityCheckStartLine(MemBuf *buf, const size_t hdr_len, Http::StatusCode *error) STUB_RETVAL(false) | |
25 | int HttpReply::httpMsgParseError() STUB_RETVAL(0) | |
26 | bool HttpReply::expectingBody(const HttpRequestMethod&, int64_t&) const STUB_RETVAL(false) | |
27 | bool HttpReply::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false) | |
28 | void HttpReply::hdrCacheInit() STUB | |
29 | HttpReply * HttpReply::clone() const STUB_RETVAL(NULL) | |
30 | bool HttpReply::inheritProperties(const HttpMsg *aMsg) STUB_RETVAL(false) | |
31 | int64_t HttpReply::bodySize(const HttpRequestMethod&) const STUB_RETVAL(0) | |
32 |