]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_HttpHeader.cc
5bd5d1e5c343e71af5ec3a7e27fb9819f98922be
2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
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.
11 #include "TimeOrTag.h"
13 #define STUB_API "HttpHeader.cc"
16 #include "HttpHeader.h"
17 HttpHeaderEntry::HttpHeaderEntry(Http::HdrType
, const SBuf
&, const char *) {STUB
}
18 HttpHeaderEntry::~HttpHeaderEntry() {STUB
}
19 HttpHeaderEntry
*HttpHeaderEntry::parse(const char *, const char *) STUB_RETVAL(nullptr)
20 HttpHeaderEntry
*HttpHeaderEntry::clone() const STUB_RETVAL(nullptr)
21 void HttpHeaderEntry::packInto(Packable
*) const STUB
22 int HttpHeaderEntry::getInt() const STUB_RETVAL(0)
23 int64_t HttpHeaderEntry::getInt64() const STUB_RETVAL(0)
24 HttpHeader::HttpHeader() {STUB
}
25 HttpHeader::HttpHeader(const http_hdr_owner_type
) {STUB
}
26 HttpHeader::HttpHeader(const HttpHeader
&) {STUB
}
27 HttpHeader::~HttpHeader() {STUB
}
28 HttpHeader
&HttpHeader::operator =(const HttpHeader
&other
) STUB_RETVAL(*this)
29 void HttpHeader::clean() STUB
30 void HttpHeader::append(const HttpHeader
*) STUB
31 bool HttpHeader::update(HttpHeader
const *) STUB_RETVAL(false)
32 void HttpHeader::compact() STUB
33 int HttpHeader::parse(const char *, size_t, Http::ContentLengthInterpreter
&) STUB_RETVAL(-1)
34 int HttpHeader::parse(const char *, size_t, bool, size_t &, Http::ContentLengthInterpreter
&) STUB_RETVAL(-1)
35 void HttpHeader::packInto(Packable
*, bool) const STUB
36 HttpHeaderEntry
*HttpHeader::getEntry(HttpHeaderPos
*) const STUB_RETVAL(nullptr)
37 HttpHeaderEntry
*HttpHeader::findEntry(Http::HdrType
) const STUB_RETVAL(nullptr)
38 int HttpHeader::delByName(const SBuf
&) STUB_RETVAL(0)
39 int HttpHeader::delById(Http::HdrType
) STUB_RETVAL(0)
40 void HttpHeader::delAt(HttpHeaderPos
, int &) STUB
41 void HttpHeader::refreshMask() STUB
42 void HttpHeader::addEntry(HttpHeaderEntry
*) STUB
43 void HttpHeader::insertEntry(HttpHeaderEntry
*) STUB
44 String
HttpHeader::getList(Http::HdrType
) const STUB_RETVAL(String())
45 bool HttpHeader::getList(Http::HdrType
, String
*) const STUB_RETVAL(false)
46 String
HttpHeader::getStrOrList(Http::HdrType
) const STUB_RETVAL(String())
47 String
HttpHeader::getByName(const SBuf
&) const STUB_RETVAL(String())
48 String
HttpHeader::getByName(const char *) const STUB_RETVAL(String())
49 String
HttpHeader::getById(Http::HdrType
) const STUB_RETVAL(String())
50 bool HttpHeader::getByIdIfPresent(Http::HdrType
, String
*) const STUB_RETVAL(false)
51 bool HttpHeader::hasNamed(const SBuf
&, String
*) const STUB_RETVAL(false)
52 bool HttpHeader::hasNamed(const char *, unsigned int, String
*) const STUB_RETVAL(false)
53 String
HttpHeader::getByNameListMember(const char *, const char *, const char) const STUB_RETVAL(String())
54 String
HttpHeader::getListMember(Http::HdrType
, const char *, const char) const STUB_RETVAL(String())
55 int HttpHeader::has(Http::HdrType
) const STUB_RETVAL(0)
56 void HttpHeader::addVia(const AnyP::ProtocolVersion
&, const HttpHeader
*) STUB
57 void HttpHeader::putInt(Http::HdrType
, int) STUB
58 void HttpHeader::putInt64(Http::HdrType
, int64_t ) STUB
59 void HttpHeader::putTime(Http::HdrType
, time_t) STUB
60 void HttpHeader::putStr(Http::HdrType
, const char *) STUB
61 void HttpHeader::putAuth(const char *, const char *) STUB
62 void HttpHeader::putCc(const HttpHdrCc
*) STUB
63 void HttpHeader::putContRange(const HttpHdrContRange
*) STUB
64 void HttpHeader::putRange(const HttpHdrRange
*) STUB
65 void HttpHeader::putSc(HttpHdrSc
*) STUB
66 void HttpHeader::putWarning(const int, const char *const) STUB
67 void HttpHeader::putExt(const char *, const char *) STUB
68 int HttpHeader::getInt(Http::HdrType
) const STUB_RETVAL(0)
69 int64_t HttpHeader::getInt64(Http::HdrType
) const STUB_RETVAL(0)
70 time_t HttpHeader::getTime(Http::HdrType
) const STUB_RETVAL(0)
71 const char *HttpHeader::getStr(Http::HdrType
) const STUB_RETVAL(nullptr)
72 const char *HttpHeader::getLastStr(Http::HdrType
) const STUB_RETVAL(nullptr)
73 HttpHdrCc
*HttpHeader::getCc() const STUB_RETVAL(nullptr)
74 HttpHdrRange
*HttpHeader::getRange() const STUB_RETVAL(nullptr)
75 HttpHdrSc
*HttpHeader::getSc() const STUB_RETVAL(nullptr)
76 HttpHdrContRange
*HttpHeader::getContRange() const STUB_RETVAL(nullptr)
77 const char *HttpHeader::getAuth(Http::HdrType
, const char *auth_scheme
) const STUB_RETVAL(nullptr)
78 ETag
HttpHeader::getETag(Http::HdrType
) const STUB_RETVAL(ETag())
79 TimeOrTag
HttpHeader::getTimeOrTag(Http::HdrType
) const STUB_RETVAL(TimeOrTag())
80 int HttpHeader::hasListMember(Http::HdrType
, const char *, const char) const STUB_RETVAL(0)
81 int HttpHeader::hasByNameListMember(const char *, const char *, const char) const STUB_RETVAL(0)
82 void HttpHeader::removeHopByHopEntries() STUB
83 void HttpHeader::removeConnectionHeaderEntries() STUB
84 bool HttpHeader::Isolate(const char **, size_t, const char **, const char **) STUB_RETVAL(false)
85 bool HttpHeader::needUpdate(const HttpHeader
*fresh
) const STUB_RETVAL(false)
86 bool HttpHeader::skipUpdateHeader(const Http::HdrType
) const STUB_RETVAL(false)
87 void HttpHeader::updateWarnings() STUB
88 int httpHeaderParseQuotedString(const char *, const int, String
*) STUB_RETVAL(-1)
89 SBuf
httpHeaderQuoteString(const char *) STUB_RETVAL(SBuf())
90 void httpHeaderCalcMask(HttpHeaderMask
*, Http::HdrType
[], size_t) STUB
91 void httpHeaderInitModule() STUB