stub_libauth_acls.cc
Go to the documentation of this file.
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"
19
20#include "auth/AclMaxUserIp.h"
22char const * ACLMaxUserIP::typeString() const STUB_RETVAL(nullptr)
23bool ACLMaxUserIP::empty () const STUB_RETVAL(false)
24bool ACLMaxUserIP::valid () const STUB_RETVAL(false)
26int ACLMaxUserIP::match(Auth::UserRequest::Pointer, Ip::Address const &) STUB_RETVAL(0)
29const Acl::Options &ACLMaxUserIP::options() STUB_RETVAL(Acl::NoOptions())
30
31#include "auth/AclProxyAuth.h"
33ACLProxyAuth::ACLProxyAuth(ACLData<char const *> *, char const *) STUB
34char const * ACLProxyAuth::typeString() const STUB_RETVAL(nullptr)
38bool ACLProxyAuth::empty () const STUB_RETVAL(false)
39bool ACLProxyAuth::valid () const STUB_RETVAL(false)
41void ProxyAuthLookup::checkForAsync(ACLChecklist *) const STUB
42void ProxyAuthLookup::LookupDone(void *) STUB
43int ACLProxyAuth::matchForCache(ACLChecklist *) STUB_RETVAL(0)
44int ACLProxyAuth::matchProxyAuth(ACLChecklist *) STUB_RETVAL(0)
45const Acl::Options &ACLProxyAuth::lineOptions() STUB_RETVAL(Acl::NoOptions())
46
47#endif /* USE_AUTH */
48
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
Acl::Answer AuthenticateAcl(ACLChecklist *ch)
Definition: Acl.cc:28
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
ACLMaxUserIP(char const *theClass)
Definition: AclMaxUserIp.cc:21
char const * typeString() const override
Definition: AclMaxUserIp.cc:27
~ACLProxyAuth() override
Definition: AclProxyAuth.cc:24
@ ACCESS_DENIED
Definition: Acl.h:115
Definition: Acl.cc:31
const Options & NoOptions()
Definition: Options.cc:234
std::vector< const Option * > Options
Definition: Options.h:214
HTTP Authentication.
Definition: Config.h:19
code related to Squid Instance and PID file management
Definition: Instance.h:17
Definition: Xaction.cc:139
static struct node * parse(FILE *fp)
Definition: parse.c:965
static bool match(const char *fn, const REList *list)
Definition: purge.cc:402
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors