]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_libanyp.cc
2 * Copyright (C) 1996-2021 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 "anyp/libanyp.la"
12 #include "tests/STUB.h"
15 AnyP::Uri::Uri(AnyP::UriScheme
const &) {STUB
}
16 void AnyP::Uri::touch() STUB
17 bool AnyP::Uri::parse(const HttpRequestMethod
&, const SBuf
&) STUB_RETVAL(true)
18 void AnyP::Uri::host(const char *) STUB
20 const SBuf
&AnyP::Uri::path() const STUB_RETVAL(nil
)
21 void AnyP::Uri::addRelativePath(const char *) STUB
22 const SBuf
&AnyP::Uri::SlashPath()
24 static SBuf
slash("/");
27 const SBuf
&AnyP::Uri::Asterisk()
29 static SBuf
asterisk("*");
32 SBuf
&AnyP::Uri::authority(bool) const STUB_RETVAL(nil
)
33 SBuf
&AnyP::Uri::absolute() const STUB_RETVAL(nil
)
34 void urlInitialize() STUB
35 const char *urlCanonicalFakeHttps(const HttpRequest
*) STUB_RETVAL(nullptr)
36 bool urlIsRelative(const char *) STUB_RETVAL(false)
37 char *urlRInternal(const char *, unsigned short, const char *, const char *) STUB_RETVAL(nullptr)
38 char *urlInternal(const char *, const char *) STUB_RETVAL(nullptr)
39 int matchDomainName(const char *, const char *, enum MatchDomainNameFlags
) STUB_RETVAL(0)
40 int urlCheckRequest(const HttpRequest
*) STUB_RETVAL(0)
41 void urlExtMethodConfigure() STUB