]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_libanyp.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / tests / stub_libanyp.cc
CommitLineData
3c849cc5 1/*
f70aedc4 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3c849cc5
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
9#include "squid.h"
10
c8ab5ec6 11#define STUB_API "anyp/libanyp.la"
3c849cc5
AJ
12#include "tests/STUB.h"
13
c8ab5ec6
AJ
14#include "anyp/Uri.h"
15AnyP::Uri::Uri(AnyP::UriScheme const &) {STUB}
16void AnyP::Uri::touch() STUB
6c880a16 17bool AnyP::Uri::parse(const HttpRequestMethod&, const SBuf &) STUB_RETVAL(true)
c8ab5ec6 18void AnyP::Uri::host(const char *) STUB
3c849cc5 19static SBuf nil;
c8ab5ec6 20const SBuf &AnyP::Uri::path() const STUB_RETVAL(nil)
614bd511 21void AnyP::Uri::addRelativePath(const char *) STUB
c8ab5ec6 22const SBuf &AnyP::Uri::SlashPath()
3c849cc5
AJ
23{
24 static SBuf slash("/");
25 return slash;
26}
c8ab5ec6 27const SBuf &AnyP::Uri::Asterisk()
3c849cc5
AJ
28{
29 static SBuf asterisk("*");
30 return asterisk;
31}
c8ab5ec6
AJ
32SBuf &AnyP::Uri::authority(bool) const STUB_RETVAL(nil)
33SBuf &AnyP::Uri::absolute() const STUB_RETVAL(nil)
3c849cc5 34void urlInitialize() STUB
3c849cc5
AJ
35const char *urlCanonicalFakeHttps(const HttpRequest *) STUB_RETVAL(nullptr)
36bool urlIsRelative(const char *) STUB_RETVAL(false)
3c849cc5
AJ
37char *urlRInternal(const char *, unsigned short, const char *, const char *) STUB_RETVAL(nullptr)
38char *urlInternal(const char *, const char *) STUB_RETVAL(nullptr)
6c1219b9 39int matchDomainName(const char *, const char *, enum MatchDomainNameFlags) STUB_RETVAL(0)
3c849cc5 40int urlCheckRequest(const HttpRequest *) STUB_RETVAL(0)
3c849cc5 41void urlExtMethodConfigure() STUB
6873312b 42