stub_libauth_acls.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 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"
21 ACLMaxUserIP::ACLMaxUserIP (char const *) STUB
22 char const * ACLMaxUserIP::typeString() const STUB_RETVAL(NULL)
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)
29 const Acl::Options &ACLMaxUserIP::options() STUB_RETVAL(Acl::NoOptions())
30 
31 #include "auth/AclProxyAuth.h"
33 ACLProxyAuth::ACLProxyAuth(ACLData<char const *> *, char const *) STUB
34 char const * ACLProxyAuth::typeString() const STUB_RETVAL(NULL)
35 void ACLProxyAuth::parse() STUB
38 bool ACLProxyAuth::empty () const STUB_RETVAL(false)
39 bool ACLProxyAuth::valid () const STUB_RETVAL(false)
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 
static bool match(const char *fn, const REList *list)
Definition: purge.cc:398
virtual char const * typeString() const
Definition: AclMaxUserIp.cc:27
HTTP Authentication.
Definition: Config.h:19
std::vector< const Option * > Options
Definition: Options.h:214
#define STUB_RETVAL(x)
Definition: STUB.h:41
std::list< SBuf > SBufList
Definition: forward.h:22
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
Definition: Acl.cc:31
static struct node * parse(FILE *fp)
Definition: parse.c:965
#define NULL
Definition: types.h:166
ACLMaxUserIP(char const *theClass)
Definition: AclMaxUserIp.cc:21
code related to Squid Instance and PID file management
Definition: Instance.h:17
#define STUB
macro to stub a void function.
Definition: STUB.h:33
Definition: client_db.h:23
const Options & NoOptions()
Definition: Options.cc:234
Acl::Answer AuthenticateAcl(ACLChecklist *ch)
Definition: Acl.cc:28
@ ACCESS_DENIED
Definition: Acl.h:109
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors