]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_HttpReply.cc
Bug 5428: Warn if pkg-config is not found (#1902)
[thirdparty/squid.git] / src / tests / stub_HttpReply.cc
CommitLineData
4e0938ef 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
4e0938ef
AJ
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
63df1d28 15HttpReply::HttpReply() : Http::Message(hoReply), date (0), last_modified (0),
8341f96d
EB
16 expires(0), surrogate_control(nullptr), keep_alive(0),
17 protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2), content_range(nullptr)
6ee40ab2
SM
18{STUB_NOP}
19HttpReply::~HttpReply() STUB
8b082ed9 20void HttpReply::setHeaders(Http::StatusCode, const char *, const char *, int64_t, time_t, time_t) STUB
f8432432
EB
21void HttpReply::packHeadersUsingFastPacker(Packable&) const STUB
22void HttpReply::packHeadersUsingSlowPacker(Packable&) const STUB
6ee40ab2 23void HttpReply::reset() STUB
8b082ed9 24bool HttpReply::sanityCheckStartLine(const char *, const size_t, Http::StatusCode *) STUB_RETVAL(false)
6ee40ab2
SM
25int HttpReply::httpMsgParseError() STUB_RETVAL(0)
26bool HttpReply::expectingBody(const HttpRequestMethod&, int64_t&) const STUB_RETVAL(false)
122a6e3c 27size_t HttpReply::parseTerminatedPrefix(const char *, size_t) STUB_RETVAL(0)
55e1c6e8 28size_t HttpReply::prefixLen() const STUB_RETVAL(0)
8b082ed9 29bool HttpReply::parseFirstLine(const char *, const char *) STUB_RETVAL(false)
6ee40ab2 30void HttpReply::hdrCacheInit() STUB
aee3523a 31HttpReply * HttpReply::clone() const STUB_RETVAL(nullptr)
8b082ed9 32bool HttpReply::inheritProperties(const Http::Message *) STUB_RETVAL(false)
66d51f4f 33HttpReply::Pointer HttpReply::recreateOnNotModified(const HttpReply &) const STUB_RETVAL(nullptr)
6ee40ab2 34int64_t HttpReply::bodySize(const HttpRequestMethod&) const STUB_RETVAL(0)
8341f96d 35const HttpHdrContRange *HttpReply::contentRange() const STUB_RETVAL(nullptr)
4f1c93a7 36void HttpReply::configureContentLengthInterpreter(Http::ContentLengthInterpreter &) STUB
f53969cc 37