]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ExternalACLEntry.h
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 /* DEBUG: section 82 External ACL */
11 #ifndef SQUID_EXTERNALACLENTRY_H
12 #define SQUID_EXTERNALACLENTRY_H
15 #include "acl/forward.h"
18 #include "SquidString.h"
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.
28 class ExternalACLEntryData
32 ExternalACLEntryData() : result(ACCESS_DUNNO
) {}
36 /// list of all kv-pairs returned by the helper
40 // TODO use an AuthUser to hold this info
49 /*******************************************************************
50 * external_acl cache entry
51 * Used opaque in the interface
54 class ExternalACLEntry
: public hash_link
, public RefCountable
56 MEMPROXY_CLASS(ExternalACLEntry
);
62 void update(ExternalACLEntryData
const &);
67 /// list of all kv-pairs returned by the helper