]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_libauth_acls.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / tests / stub_libauth_acls.cc
1 /*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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
11 #define STUB_API "auth/libacls.la"
12 #include "tests/STUB.h"
13
14 #if USE_AUTH
15 #include "acl/Acl.h" /* for Acl::Answer */
16
17 #include "auth/Acl.h"
18 Acl::Answer AuthenticateAcl(ACLChecklist *) STUB_RETVAL(ACCESS_DENIED)
19
20 #include "auth/AclMaxUserIp.h"
21 ACLMaxUserIP::ACLMaxUserIP (char const *) STUB
22 char const * ACLMaxUserIP::typeString() const STUB_RETVAL(nullptr)
23 bool ACLMaxUserIP::empty () const STUB_RETVAL(false)
24 bool ACLMaxUserIP::valid () const STUB_RETVAL(false)
25 void ACLMaxUserIP::parse() STUB
26 int ACLMaxUserIP::match(Auth::UserRequest::Pointer, Ip::Address const &) STUB_RETVAL(0)
27 int ACLMaxUserIP::match(ACLChecklist *) STUB_RETVAL(0)
28 SBufList ACLMaxUserIP::dump() const STUB_RETVAL(SBufList())
29 const Acl::Options &ACLMaxUserIP::options() STUB_RETVAL(Acl::NoOptions())
30
31 #include "auth/AclProxyAuth.h"
32 ACLProxyAuth::~ACLProxyAuth() STUB
33 ACLProxyAuth::ACLProxyAuth(ACLData<char const *> *, char const *) STUB
34 char const * ACLProxyAuth::typeString() const STUB_RETVAL(nullptr)
35 void ACLProxyAuth::parse() STUB
36 int ACLProxyAuth::match(ACLChecklist *) STUB_RETVAL(0)
37 SBufList ACLProxyAuth::dump() const STUB_RETVAL(SBufList())
38 bool ACLProxyAuth::empty () const STUB_RETVAL(false)
39 bool ACLProxyAuth::valid () const STUB_RETVAL(false)
40 ProxyAuthLookup * ProxyAuthLookup::Instance() STUB_RETVAL(nullptr)
41 void ProxyAuthLookup::checkForAsync(ACLChecklist *) const STUB
42 void ProxyAuthLookup::LookupDone(void *) STUB
43 int ACLProxyAuth::matchForCache(ACLChecklist *) STUB_RETVAL(0)
44 int ACLProxyAuth::matchProxyAuth(ACLChecklist *) STUB_RETVAL(0)
45 const Acl::Options &ACLProxyAuth::lineOptions() STUB_RETVAL(Acl::NoOptions())
46
47 #endif /* USE_AUTH */
48