ExtUser.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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 *);
25
26 /* ACL API */
27 virtual char const *typeString() const;
28 virtual void parse();
29 virtual int match(ACLChecklist *checklist);
30 virtual SBufList dump() const;
31 virtual bool empty () const;
32
33private:
34 /* ACL API */
35 virtual const Acl::Options &lineOptions();
36
38 char const *type_;
39};
40
41#endif /* USE_AUTH */
42#endif /* SQUID_EXTUSER_H */
43
MEMPROXY_CLASS(ACLExtUser)
ACLExtUser(ACLData< char const * > *newData, char const *)
Definition: ExtUser.cc:27
ACLData< char const * > * data
Definition: ExtUser.h:37
virtual SBufList dump() const
Definition: ExtUser.cc:59
char const * type_
Definition: ExtUser.h:38
~ACLExtUser()
Definition: ExtUser.cc:22
virtual const Acl::Options & lineOptions()
Definition: ExtUser.cc:36
virtual void parse()
parses node representation in squid.conf; dies on failures
Definition: ExtUser.cc:42
virtual bool empty() const
Definition: ExtUser.cc:65
virtual char const * typeString() const
Definition: ExtUser.cc:30
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
Definition: ExtUser.cc:48
Definition: Acl.h:40
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