#include <Acl.h>

Collaboration diagram for allow_t:

Public Member Functions

 allow_t (const aclMatchCode aCode, int aKind=0)
 allow_t ()
bool operator== (const aclMatchCode aCode) const
bool operator!= (const aclMatchCode aCode) const
bool operator== (const allow_t allow) const
 operator aclMatchCode () const
bool allowed () const
bool denied () const
bool conflicted () const
 whether Squid is uncertain about the allowed() or denied() answer More...

Public Attributes

aclMatchCode code
 ACCESS_* code. More...
int kind
 which custom access list verb matched More...

Detailed Description

ACL check answer; TODO: Rename to Acl::Answer

Definition at line 113 of file Acl.h.

Constructor & Destructor Documentation

◆ allow_t() [1/2]

allow_t::allow_t ( const aclMatchCode  aCode,
int  aKind = 0 

Definition at line 117 of file Acl.h.

◆ allow_t() [2/2]

allow_t::allow_t ( )

Definition at line 119 of file Acl.h.

Member Function Documentation

◆ allowed()

bool allow_t::allowed ( ) const

Whether an "allow" rule matched. If in doubt, use this popular method. Also use this method to treat exceptional ACCESS_DUNNO and ACCESS_AUTH_REQUIRED outcomes as if a "deny" rule matched. See also: denied().

Definition at line 141 of file Acl.h.

References ACCESS_ALLOWED, and code.

Referenced by accessLogLogTo(), aclFindNfMarkConfig(), aclMapTOS(), aclMatchExternal(), Acl::AllowOrDeny(), Client::blockCaching(), clientReplyContext::blockedHit(), HttpReply::calcMaxBodySize(), Adaptation::Icap::Launcher::canRepeat(), Ssl::PeekingPeerConnector::checkForPeekAndSpliceDone(), ClientRequestContext::clientAccessCheckDone(), clientFollowXForwardedForCheck(), clientRedirectAccessCheckDone(), clientStoreIdAccessCheckDone(), clientTunnelOnError(), DelayId::DelayClient(), external_acl_entry_expired(), external_acl_grace_expired(), HttpStateData::finishingBrokenPost(), getOutgoingAddress(), HttpRequest::getRangeOffsetLimit(), HttpStateData::handle1xx(), Ftp::Server::handleUploadRequest(), httpHdrAdd(), httpHdrMangle(), httpsSslBumpAccessCheckDone(), httpsSslBumpStep2AccessCheckDone(), icpAccessAllowed(), ClientHttpRequest::logRequest(), HttpRequest::manager(), external_acl::maybeCacheable(), Adaptation::AccessCheck::noteAnswer(), StoreClient::onCollapsingPath(), FwdState::pconnPop(), peerAllowedToUse(), clientReplyContext::processReplyAccessResult(), ConnStateData::proxyProtocolValidateClient(), schemesConfig(), Ftp::Client::sendPassive(), Http::Stream::sendStartOfMessage(), ConnStateData::serveDelayedError(), snmpDecodePacket(), ssl_verify_cb(), ClientRequestContext::sslBumpAccessCheckDone(), Security::PeerConnector::sslCrtvdCheckForErrors(), and ConnStateData::whenClientIpKnown().

◆ conflicted()

bool allow_t::conflicted ( ) const

Definition at line 150 of file Acl.h.

Referenced by clientFollowXForwardedForCheck().

◆ denied()

bool allow_t::denied ( ) const

Whether a "deny" rule matched. Avoid this rarely used method. Use this method (only) to treat exceptional ACCESS_DUNNO and ACCESS_AUTH_REQUIRED outcomes as if an "allow" rule matched. See also: allowed().

Definition at line 147 of file Acl.h.

References ACCESS_DENIED, and code.

Referenced by ClientRequestContext::checkNoCacheDone(), FwdState::Start(), and tunnelStart().

◆ operator aclMatchCode()

allow_t::operator aclMatchCode ( ) const

Definition at line 133 of file Acl.h.

References code.

◆ operator!=()

bool allow_t::operator!= ( const aclMatchCode  aCode) const

Definition at line 125 of file Acl.h.

◆ operator==() [1/2]

bool allow_t::operator== ( const aclMatchCode  aCode) const

Definition at line 121 of file Acl.h.

References code.

◆ operator==() [2/2]

bool allow_t::operator== ( const allow_t  allow) const

Definition at line 129 of file Acl.h.

References code, code, and kind.

Member Data Documentation

◆ code

aclMatchCode allow_t::code

Definition at line 152 of file Acl.h.

Referenced by operator==().

◆ kind

The documentation for this class was generated from the following file:






Web Site Translations