|
Squid Web Cache master
|
Public Member Functions | |
| CBDATA_DECL_ (external_acl, noexcept) | |
| external_acl () | |
| ~external_acl () | |
| void | add (const ExternalACLEntryPointer &) |
| void | trimCache () |
| bool | maybeCacheable (const Acl::Answer &) const |
Definition at line 64 of file external_acl.cc.
| external_acl::external_acl | ( | ) |
Definition at line 127 of file external_acl.cc.
References local_addr, and Ip::Address::setLocalhost().
| external_acl::~external_acl | ( | ) |
Definition at line 148 of file external_acl.cc.
References cache, cmdline, dlink_node::data, external_acl_cache_delete(), hashFreeMemory(), helperShutdown(), lru_list, name, node::next, next, dlink_list::tail, theHelper, wordlistDestroy(), and xfree.
| void external_acl::add | ( | const ExternalACLEntryPointer & | anEntry | ) |
Definition at line 439 of file external_acl.cc.
References assert, cache, cache_entries, ExternalACLEntry::def, dlinkAdd(), RefCount< C >::getRaw(), hash_join(), ExternalACLEntry::lru, lru_list, and trimCache().
Referenced by external_acl_cache_add().
| external_acl::CBDATA_DECL_ | ( | external_acl | , |
| noexcept | |||
| ) |
| bool external_acl::maybeCacheable | ( | const Acl::Answer & | result | ) | const |
Definition at line 462 of file external_acl.cc.
References ACCESS_DUNNO, Acl::Answer::allowed(), cache_size, negative_ttl, and ttl.
Referenced by external_acl_cache_add(), and external_acl_cache_touch().
| void external_acl::trimCache | ( | ) |
Definition at line 453 of file external_acl.cc.
References cache_entries, cache_size, dlink_node::data, external_acl_cache_delete(), lru_list, and dlink_list::tail.
Referenced by add().
| hash_table* external_acl::cache |
Definition at line 100 of file external_acl.cc.
Referenced by ~external_acl(), ACLExternal::aclMatchExternal(), add(), external_acl_cache_add(), and external_acl_cache_delete().
| int external_acl::cache_entries |
Definition at line 106 of file external_acl.cc.
Referenced by add(), external_acl_cache_delete(), and trimCache().
| int external_acl::cache_size |
Definition at line 104 of file external_acl.cc.
Referenced by external_acl_cache_delete(), external_acl_entry_expired(), external_acl_grace_expired(), maybeCacheable(), parse_externalAclHelper(), ACLExternal::startLookup(), and trimCache().
| Helper::ChildConfig external_acl::children |
Definition at line 96 of file external_acl.cc.
Referenced by parse_externalAclHelper().
| wordlist* external_acl::cmdline |
Definition at line 94 of file external_acl.cc.
Referenced by ~external_acl(), and parse_externalAclHelper().
| Format::Format external_acl::format |
Definition at line 92 of file external_acl.cc.
Referenced by ACLExternal::makeExternalAclKey(), and parse_externalAclHelper().
| int external_acl::grace |
Definition at line 88 of file external_acl.cc.
Referenced by external_acl_grace_expired(), and parse_externalAclHelper().
| Ip::Address external_acl::local_addr |
Definition at line 122 of file external_acl.cc.
Referenced by external_acl(), and parse_externalAclHelper().
| dlink_list external_acl::lru_list |
Definition at line 102 of file external_acl.cc.
Referenced by ~external_acl(), add(), external_acl_cache_delete(), external_acl_cache_touch(), and trimCache().
| char* external_acl::name |
Definition at line 90 of file external_acl.cc.
Referenced by ~external_acl(), ACLExternal::aclMatchExternal(), ACLExternal::dump(), parse_externalAclHelper(), and ACLExternal::startLookup().
| int external_acl::negative_ttl |
Definition at line 86 of file external_acl.cc.
Referenced by external_acl_entry_expired(), external_acl_grace_expired(), maybeCacheable(), and parse_externalAclHelper().
| external_acl* external_acl::next |
Definition at line 76 of file external_acl.cc.
Referenced by ~external_acl(), externalAclShutdown(), and parse_externalAclHelper().
| dlink_list external_acl::queue |
Definition at line 108 of file external_acl.cc.
Referenced by externalAclHandleReply(), and ACLExternal::startLookup().
| Format::Quoting external_acl::quote |
Definition at line 120 of file external_acl.cc.
Referenced by ACLExternal::makeExternalAclKey(), and parse_externalAclHelper().
| bool external_acl::require_auth |
Configuration flag. May only be altered by the configuration parser.
Indicates that all uses of this external_acl_type helper require authentication details to be processed. If none are available its a fail match.
Definition at line 117 of file external_acl.cc.
Referenced by ACLExternal::aclMatchExternal(), ACLExternal::isProxyAuth(), parse_externalAclHelper(), and ACLExternal::valid().
| Helper::Client::Pointer external_acl::theHelper |
Definition at line 98 of file external_acl.cc.
Referenced by ~external_acl(), ACLExternal::aclMatchExternal(), externalAclShutdown(), and ACLExternal::startLookup().
| int external_acl::ttl |
Definition at line 84 of file external_acl.cc.
Referenced by external_acl_entry_expired(), external_acl_grace_expired(), maybeCacheable(), and parse_externalAclHelper().