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"
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)
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(nullptr)
35 void ACLProxyAuth::parse() STUB
36 int ACLProxyAuth::match(ACLChecklist *) STUB_RETVAL(0)
38 bool ACLProxyAuth::empty () const STUB_RETVAL(false)
39 bool ACLProxyAuth::valid () const STUB_RETVAL(false)
40 int ACLProxyAuth::matchForCache(ACLChecklist *) STUB_RETVAL(0)
41 int ACLProxyAuth::matchProxyAuth(ACLChecklist *) STUB_RETVAL(0)
42 const Acl::Options &ACLProxyAuth::lineOptions() STUB_RETVAL(Acl::NoOptions())
43 
44 #endif /* USE_AUTH */
45 
const char * typeString() const override
Definition: AclMaxUserIp.cc:27
HTTP Authentication.
Definition: Config.h:18
std::vector< const Option * > Options
Definition: Options.h:217
#define STUB_RETVAL(x)
Definition: STUB.h:42
std::list< SBuf > SBufList
Definition: forward.h:22
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
Definition: Acl.cc:33
static struct node * parse(FILE *fp)
Definition: parse.c:965
ACLMaxUserIP(char const *theClass)
Definition: AclMaxUserIp.cc:21
#define STUB
macro to stub a void function.
Definition: STUB.h:34
Acl::Answer AuthenticateAcl(ACLChecklist *ch, const Acl::Node &acl)
Definition: Acl.cc:28
Definition: Xaction.cc:137
const Options & NoOptions()
Definition: Options.cc:234
~ACLProxyAuth() override
Definition: AclProxyAuth.cc:24
Definition: Node.h:25
@ ACCESS_DENIED
Definition: Acl.h:41

 

Introduction

Documentation

Support

Miscellaneous