]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_libauth_acls.cc
CI: Upgrade GitHub Setup Node and CodeQL actions to Node 20 (#1845)
[thirdparty/squid.git] / src / tests / stub_libauth_acls.cc
CommitLineData
4e0938ef 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
4e0938ef
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
1960f966
FC
9#include "squid.h"
10
11#define STUB_API "auth/libacls.la"
44e802f4 12#include "tests/STUB.h"
1960f966 13
d4139eca 14#if USE_AUTH
329c128c 15#include "acl/Acl.h" /* for Acl::Answer */
56aa04eb 16
1960f966 17#include "auth/Acl.h"
922513e5 18Acl::Answer AuthenticateAcl(ACLChecklist *, const Acl::Node &) STUB_RETVAL(ACCESS_DENIED)
1960f966
FC
19
20#include "auth/AclMaxUserIp.h"
1960f966 21ACLMaxUserIP::ACLMaxUserIP (char const *) STUB
aee3523a 22char const * ACLMaxUserIP::typeString() const STUB_RETVAL(nullptr)
2f186a45
FC
23bool ACLMaxUserIP::empty () const STUB_RETVAL(false)
24bool ACLMaxUserIP::valid () const STUB_RETVAL(false)
1960f966 25void ACLMaxUserIP::parse() STUB
2f186a45
FC
26int ACLMaxUserIP::match(Auth::UserRequest::Pointer, Ip::Address const &) STUB_RETVAL(0)
27int ACLMaxUserIP::match(ACLChecklist *) STUB_RETVAL(0)
4f8ca96e 28SBufList ACLMaxUserIP::dump() const STUB_RETVAL(SBufList())
4eac3407 29const Acl::Options &ACLMaxUserIP::options() STUB_RETVAL(Acl::NoOptions())
1960f966
FC
30
31#include "auth/AclProxyAuth.h"
32ACLProxyAuth::~ACLProxyAuth() STUB
c2092c3f 33ACLProxyAuth::ACLProxyAuth(ACLData<char const *> *, char const *) STUB
aee3523a 34char const * ACLProxyAuth::typeString() const STUB_RETVAL(nullptr)
1960f966 35void ACLProxyAuth::parse() STUB
2f186a45 36int ACLProxyAuth::match(ACLChecklist *) STUB_RETVAL(0)
4f8ca96e 37SBufList ACLProxyAuth::dump() const STUB_RETVAL(SBufList())
2f186a45
FC
38bool ACLProxyAuth::empty () const STUB_RETVAL(false)
39bool ACLProxyAuth::valid () const STUB_RETVAL(false)
2f186a45
FC
40int ACLProxyAuth::matchForCache(ACLChecklist *) STUB_RETVAL(0)
41int ACLProxyAuth::matchProxyAuth(ACLChecklist *) STUB_RETVAL(0)
8d76389c 42const Acl::Options &ACLProxyAuth::lineOptions() STUB_RETVAL(Acl::NoOptions())
d4139eca
FC
43
44#endif /* USE_AUTH */
f53969cc 45