]>
Commit | Line | Data |
---|---|---|
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" |
15 | AnyP::Uri::Uri(AnyP::UriScheme const &) {STUB} | |
16 | void AnyP::Uri::touch() STUB | |
6c880a16 | 17 | bool AnyP::Uri::parse(const HttpRequestMethod&, const SBuf &) STUB_RETVAL(true) |
c8ab5ec6 | 18 | void AnyP::Uri::host(const char *) STUB |
3c849cc5 | 19 | static SBuf nil; |
c8ab5ec6 | 20 | const SBuf &AnyP::Uri::path() const STUB_RETVAL(nil) |
614bd511 | 21 | void AnyP::Uri::addRelativePath(const char *) STUB |
c8ab5ec6 | 22 | const SBuf &AnyP::Uri::SlashPath() |
3c849cc5 AJ |
23 | { |
24 | static SBuf slash("/"); | |
25 | return slash; | |
26 | } | |
c8ab5ec6 | 27 | const SBuf &AnyP::Uri::Asterisk() |
3c849cc5 AJ |
28 | { |
29 | static SBuf asterisk("*"); | |
30 | return asterisk; | |
31 | } | |
c8ab5ec6 AJ |
32 | SBuf &AnyP::Uri::authority(bool) const STUB_RETVAL(nil) |
33 | SBuf &AnyP::Uri::absolute() const STUB_RETVAL(nil) | |
3c849cc5 | 34 | void urlInitialize() STUB |
3c849cc5 AJ |
35 | const char *urlCanonicalFakeHttps(const HttpRequest *) STUB_RETVAL(nullptr) |
36 | bool urlIsRelative(const char *) STUB_RETVAL(false) | |
3c849cc5 AJ |
37 | char *urlRInternal(const char *, unsigned short, const char *, const char *) STUB_RETVAL(nullptr) |
38 | char *urlInternal(const char *, const char *) STUB_RETVAL(nullptr) | |
6c1219b9 | 39 | int matchDomainName(const char *, const char *, enum MatchDomainNameFlags) STUB_RETVAL(0) |
3c849cc5 | 40 | int urlCheckRequest(const HttpRequest *) STUB_RETVAL(0) |
3c849cc5 | 41 | void urlExtMethodConfigure() STUB |
6873312b | 42 |