ExternalACLEntry.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 /* DEBUG: section 82 External ACL */
10 
11 #ifndef SQUID_SRC_EXTERNALACLENTRY_H
12 #define SQUID_SRC_EXTERNALACLENTRY_H
13 
14 #include "acl/Acl.h"
15 #include "acl/forward.h"
16 #include "hash.h"
17 #include "Notes.h"
18 #include "SquidString.h"
19 
20 class external_acl;
21 /******************************************************************
22  * ExternalACLEntryData
23  * Core data that ExternalACLEntry manages.
24  * Not meant to be used as remote storage at any point:
25  * stack or static or composition use only.
26  */
27 
29 {
30 
31 public:
33 
35 
38 
39 #if USE_AUTH
40  // TODO use an AuthUser to hold this info
41  String user;
43 #endif
45  String tag;
47 };
48 
49 /*******************************************************************
50  * external_acl cache entry
51  * Used opaque in the interface
52  */
53 
55 {
57 
58 public:
60  ~ExternalACLEntry() override;
61 
62  void update(ExternalACLEntryData const &);
65  time_t date;
66 
69 
70 #if USE_AUTH
73 #endif
76  String log;
78 };
79 
80 #endif /* SQUID_SRC_EXTERNALACLENTRY_H */
81 
NotePairs notes
list of all kv-pairs returned by the helper
external_acl * def
MEMPROXY_CLASS(ExternalACLEntry)
void update(ExternalACLEntryData const &)
~ExternalACLEntry() override
Acl::Answer result
NotePairs notes
list of all kv-pairs returned by the helper
@ ACCESS_DUNNO
Definition: Acl.h:43

 

Introduction

Documentation

Support

Miscellaneous