]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_libauth_acls.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / tests / stub_libauth_acls.cc
CommitLineData
4e0938ef 1/*
f70aedc4 2 * Copyright (C) 1996-2021 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"
329c128c 18Acl::Answer AuthenticateAcl(ACLChecklist *) STUB_RETVAL(ACCESS_DENIED)
1960f966
FC
19
20#include "auth/AclMaxUserIp.h"
2f186a45 21ACL * ACLMaxUserIP::clone() const STUB_RETVAL(NULL)
1960f966 22ACLMaxUserIP::ACLMaxUserIP (char const *) STUB
2f186a45
FC
23char const * ACLMaxUserIP::typeString() const STUB_RETVAL(NULL)
24bool ACLMaxUserIP::empty () const STUB_RETVAL(false)
25bool ACLMaxUserIP::valid () const STUB_RETVAL(false)
1960f966 26void ACLMaxUserIP::parse() STUB
2f186a45
FC
27int ACLMaxUserIP::match(Auth::UserRequest::Pointer, Ip::Address const &) STUB_RETVAL(0)
28int ACLMaxUserIP::match(ACLChecklist *) STUB_RETVAL(0)
4f8ca96e 29SBufList ACLMaxUserIP::dump() const STUB_RETVAL(SBufList())
4eac3407 30const Acl::Options &ACLMaxUserIP::options() STUB_RETVAL(Acl::NoOptions())
1960f966
FC
31
32#include "auth/AclProxyAuth.h"
33ACLProxyAuth::~ACLProxyAuth() STUB
c2092c3f 34ACLProxyAuth::ACLProxyAuth(ACLData<char const *> *, char const *) STUB
1960f966 35ACLProxyAuth::ACLProxyAuth (ACLProxyAuth const &) STUB
2f186a45
FC
36ACLProxyAuth & ACLProxyAuth::operator= (ACLProxyAuth const & a) STUB_RETVAL(const_cast<ACLProxyAuth &>(a))
37char const * ACLProxyAuth::typeString() const STUB_RETVAL(NULL)
1960f966 38void ACLProxyAuth::parse() STUB
2f186a45 39int ACLProxyAuth::match(ACLChecklist *) STUB_RETVAL(0)
4f8ca96e 40SBufList ACLProxyAuth::dump() const STUB_RETVAL(SBufList())
2f186a45
FC
41bool ACLProxyAuth::empty () const STUB_RETVAL(false)
42bool ACLProxyAuth::valid () const STUB_RETVAL(false)
43ProxyAuthLookup * ProxyAuthLookup::Instance() STUB_RETVAL(NULL)
1960f966
FC
44void ProxyAuthLookup::checkForAsync(ACLChecklist *) const STUB
45void ProxyAuthLookup::LookupDone(void *) STUB
2f186a45
FC
46ACL * ACLProxyAuth::clone() const STUB_RETVAL(NULL)
47int ACLProxyAuth::matchForCache(ACLChecklist *) STUB_RETVAL(0)
48int ACLProxyAuth::matchProxyAuth(ACLChecklist *) STUB_RETVAL(0)
4eac3407 49void ACLProxyAuth::parseFlags() STUB
d4139eca
FC
50
51#endif /* USE_AUTH */
f53969cc 52