external_acl.cc File Reference
#include "squid.h"
#include "acl/Acl.h"
#include "acl/FilledChecklist.h"
#include "cache_cf.h"
#include "client_side.h"
#include "client_side_request.h"
#include "comm/Connection.h"
#include "ConfigParser.h"
#include "ExternalACL.h"
#include "ExternalACLEntry.h"
#include "fde.h"
#include "format/Token.h"
#include "helper.h"
#include "helper/Reply.h"
#include "http/Stream.h"
#include "HttpHeaderTools.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "ip/tools.h"
#include "MemBuf.h"
#include "mgr/Registration.h"
#include "rfc1738.h"
#include "SquidConfig.h"
#include "SquidString.h"
#include "SquidTime.h"
#include "Store.h"
#include "tools.h"
#include "URL.h"
#include "wordlist.h"
#include "ssl/ServerBump.h"
#include "ssl/support.h"
#include "auth/Acl.h"
#include "auth/Gadgets.h"
#include "auth/UserRequest.h"
#include "ident/AclIdent.h"
Include dependency graph for external_acl.cc:

Go to the source code of this file.

Classes

class  external_acl
 
class  external_acl_data
 
class  externalAclState
 

Macros

#define DEFAULT_EXTERNAL_ACL_TTL   1 * 60 * 60
 
#define DEFAULT_EXTERNAL_ACL_CHILDREN   5
 

Functions

static char * makeExternalAclKey (ACLFilledChecklist *ch, external_acl_data *acl_data)
 
static void external_acl_cache_delete (external_acl *def, const ExternalACLEntryPointer &entry)
 
static int external_acl_entry_expired (external_acl *def, const ExternalACLEntryPointer &entry)
 
static int external_acl_grace_expired (external_acl *def, const ExternalACLEntryPointer &entry)
 
static void external_acl_cache_touch (external_acl *def, const ExternalACLEntryPointer &entry)
 
static ExternalACLEntryPointer external_acl_cache_add (external_acl *def, const char *key, ExternalACLEntryData const &data)
 
void parse_externalAclHelper (external_acl **list)
 
void dump_externalAclHelper (StoreEntry *sentry, const char *name, const external_acl *list)
 
void free_externalAclHelper (external_acl **list)
 
static external_aclfind_externalAclHelper (const char *name)
 
static void copyResultsFromEntry (HttpRequest *req, const ExternalACLEntryPointer &entry)
 
static allow_t aclMatchExternal (external_acl_data *acl, ACLFilledChecklist *ch)
 
static void externalAclHandleReply (void *data, const Helper::Reply &reply)
 
static void externalAclStats (StoreEntry *sentry)
 
static void externalAclRegisterWithCacheManager (void)
 
void externalAclInit (void)
 
void externalAclShutdown (void)
 

Macro Definition Documentation

#define DEFAULT_EXTERNAL_ACL_CHILDREN   5

Definition at line 57 of file external_acl.cc.

Referenced by dump_externalAclHelper().

#define DEFAULT_EXTERNAL_ACL_TTL   1 * 60 * 60

Definition at line 54 of file external_acl.cc.

Referenced by dump_externalAclHelper().

Function Documentation

static void external_acl_cache_touch ( external_acl def,
const ExternalACLEntryPointer entry 
)
static
static void externalAclRegisterWithCacheManager ( void  )
static

Definition at line 1101 of file external_acl.cc.

References externalAclStats(), and Mgr::RegisterAction().

Referenced by externalAclInit().

void externalAclShutdown ( void  )
static void externalAclStats ( StoreEntry sentry)
static
static external_acl* find_externalAclHelper ( const char *  name)
static
void free_externalAclHelper ( external_acl **  list)

Definition at line 426 of file external_acl.cc.

References NULL.

void parse_externalAclHelper ( external_acl **  list)

Definition at line 181 of file external_acl.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors