#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::allow_t ( const aclMatchCode  aCode,
int  aKind = 0 
)
inline

Definition at line 117 of file Acl.h.

allow_t::allow_t ( )
inline

Definition at line 119 of file Acl.h.

Member Function Documentation

bool allow_t::allowed ( ) const
inline

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(), aclMapNfmark(), aclMapTOS(), aclMatchExternal(), Acl::AllowOrDeny(), Client::blockCaching(), clientReplyContext::blockedHit(), HttpReply::calcMaxBodySize(), Adaptation::Icap::Launcher::canRepeat(), Ssl::PeekingPeerConnector::checkForPeekAndSpliceDone(), ClientRequestContext::clientAccessCheckDone(), clientFollowXForwardedForCheck(), clientRedirectAccessCheckDone(), clientStoreIdAccessCheckDone(), clientTunnelOnError(), conflicted(), 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(), 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().

bool allow_t::conflicted ( ) const
inline

Definition at line 150 of file Acl.h.

References allowed(), and denied().

Referenced by clientFollowXForwardedForCheck().

bool allow_t::denied ( ) const
inline

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(), conflicted(), FwdState::Start(), and tunnelStart().

allow_t::operator aclMatchCode ( ) const
inline

Definition at line 133 of file Acl.h.

References code.

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

Definition at line 125 of file Acl.h.

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

Definition at line 121 of file Acl.h.

References code.

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

Definition at line 129 of file Acl.h.

References code, and kind.

Member Data Documentation

aclMatchCode allow_t::code

Definition at line 152 of file Acl.h.

Referenced by allowed(), denied(), operator aclMatchCode(), and operator==().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors