ExtUser.h
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#ifndef SQUID_EXTUSER_H
10#define SQUID_EXTUSER_H
11
12#if USE_AUTH
13
14#include "acl/Acl.h"
15#include "acl/Checklist.h"
16#include "acl/Data.h"
17
18class ACLExtUser : public ACL
19{
21
22public:
23 ACLExtUser(ACLData<char const *> *newData, char const *);
24 ~ACLExtUser() override;
25
26 /* ACL API */
27 char const *typeString() const override;
28 void parse() override;
29 int match(ACLChecklist *checklist) override;
30 SBufList dump() const override;
31 bool empty () const override;
32
33private:
34 /* ACL API */
35 const Acl::Options &lineOptions() override;
36
38 char const *type_;
39};
40
41#endif /* USE_AUTH */
42#endif /* SQUID_EXTUSER_H */
43
MEMPROXY_CLASS(ACLExtUser)
~ACLExtUser() override
Definition: ExtUser.cc:22
ACLExtUser(ACLData< char const * > *newData, char const *)
Definition: ExtUser.cc:27
ACLData< char const * > * data
Definition: ExtUser.h:37
int match(ACLChecklist *checklist) override
Matches the actual data in checklist against this ACL.
Definition: ExtUser.cc:48
char const * type_
Definition: ExtUser.h:38
SBufList dump() const override
Definition: ExtUser.cc:59
bool empty() const override
Definition: ExtUser.cc:65
const Acl::Options & lineOptions() override
Definition: ExtUser.cc:36
void parse() override
parses node representation in squid.conf; dies on failures
Definition: ExtUser.cc:42
char const * typeString() const override
Definition: ExtUser.cc:30
Definition: Acl.h:46
std::vector< const Option * > Options
Definition: Options.h:214
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors