]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_url.cc
2 * Copyright (C) 1996-2017 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 #define STUB_API "url.cc"
12 #include "tests/STUB.h"
15 URL::URL(AnyP::UriScheme
const &) {STUB
}
16 void URL::touch() STUB
17 bool URL::parse(const HttpRequestMethod
&, const char *) STUB_RETVAL(true)
18 void URL::host(const char *) STUB
20 const SBuf
&URL::path() const STUB_RETVAL(nil
)
21 const SBuf
&URL::SlashPath()
23 static SBuf
slash("/");
26 const SBuf
&URL::Asterisk()
28 static SBuf
asterisk("*");
31 SBuf
&URL::authority(bool) const STUB_RETVAL(nil
)
32 SBuf
&URL::absolute() const STUB_RETVAL(nil
)
33 void urlInitialize() STUB
34 char *urlCanonicalClean(const HttpRequest
*) STUB_RETVAL(nullptr)
35 const char *urlCanonicalFakeHttps(const HttpRequest
*) STUB_RETVAL(nullptr)
36 bool urlIsRelative(const char *) STUB_RETVAL(false)
37 char *urlMakeAbsolute(const HttpRequest
*, const char *)STUB_RETVAL(nullptr)
38 char *urlRInternal(const char *, unsigned short, const char *, const char *) STUB_RETVAL(nullptr)
39 char *urlInternal(const char *, const char *) STUB_RETVAL(nullptr)
40 int matchDomainName(const char *, const char *, uint
) STUB_RETVAL(0)
41 int urlCheckRequest(const HttpRequest
*) STUB_RETVAL(0)
42 char *urlHostname(const char *) STUB_RETVAL(nullptr)
43 void urlExtMethodConfigure() STUB