fde.h File Reference
#include "comm.h"
#include "defines.h"
#include "ip/Address.h"
#include "ip/forward.h"
#include "security/forward.h"
#include "typedefs.h"
#include "MessageBucket.h"
Include dependency graph for fde.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  _fde_disk
 
class  fde
 
struct  fde::_fde_flags
 

Macros

#define fd_table   fde::Table
 
#define FD_READ_METHOD(fd, buf, len)   (*fde::Table[fd].read_method)(fd, buf, len)
 
#define FD_WRITE_METHOD(fd, buf, len)   (*fde::Table[fd].write_method)(fd, buf, len)
 

Typedefs

typedef int READ_HANDLER (int, char *, int)
 
typedef int WRITE_HANDLER (int, const char *, int)
 

Functions

int fdNFree (void)
 

Macro Definition Documentation

#define FD_READ_METHOD (   fd,
  buf,
  len 
)    (*fde::Table[fd].read_method)(fd, buf, len)
#define fd_table   fde::Table

Definition at line 157 of file fde.h.

Referenced by _comm_close(), Format::Format::assemble(), Security::PeerConnector::certDownloadingDone(), Security::PeerConnector::checkForMissingCertificates(), Ssl::PeekingPeerConnector::checkForPeekAndSplice(), Ssl::PeekingPeerConnector::checkForPeekAndSpliceMatched(), checkTimeouts(), Comm::ConnOpener::cleanFd(), ClientHttpRequest::ClientHttpRequest(), clientNegotiateSSL(), FwdState::closeServerConnection(), comm_add_close_handler(), comm_check_incoming_poll_handlers(), comm_check_incoming_select_handlers(), comm_close_complete(), comm_connect_addr(), comm_empty_os_read_buffers(), comm_exit(), comm_import_opened(), comm_init(), comm_init_opened(), comm_local_port(), comm_open_uds(), comm_read_base(), comm_remove_close_handler(), comm_set_transparent(), comm_udp_sendto(), commBind(), commCallCloseHandlers(), commCloseAllSockets(), commHalfClosedCheck(), commHalfClosedReader(), commHandleWriteHelper(), commSetCloseOnExec(), commSetConnTimeout(), commSetNoLinger(), commSetNonBlocking(), commStartTlsClose(), commStopHalfClosedMonitor(), commUnsetFdTimeout(), commUnsetNonBlocking(), Comm::ConnOpener::connected(), Comm::ConnOpener::createFd(), CreateSession(), StoreEntry::delayAwareRead(), diskHandleRead(), diskHandleWrite(), FwdState::dispatch(), Server::doClientRead(), Ip::Qos::doNfmarkLocalMiss(), ConnStateData::doPeekAndSpliceStep(), Comm::DoSelect(), Ip::Qos::doTosLocalMiss(), examine_select(), fd_bytes(), fd_close(), fd_note(), fd_open(), fdDumpOpen(), fdUpdateBiggest(), file_close(), file_write(), IdleConnList::findUseable(), Ftp::Gateway::ftpAcceptDataConnection(), ConnStateData::getSslContextDone(), ConnStateData::getSslContextStart(), ConnStateData::handleIdleClientPinnedTlsRead(), Security::PeerConnector::handleNegotiateError(), Ftp::Client::handlePasvReply(), Ssl::PeekingPeerConnector::handleServerCertificate(), helperHandleRead(), helperStatefulHandleRead(), idnsDoSendQueryVC(), idnsSentQueryVC(), Ssl::PeekingPeerConnector::initialize(), Security::PeerConnector::initialize(), ipc_thread_1(), ipcCreate(), isOpen(), ConnStateData::isOpen(), DeferredReadManager::kickARead(), kq_update_events(), ClientHttpRequest::logRequest(), ACLCertificateStrategy::match(), HttpStateData::maybeReadVirginBody(), Ftp::Client::maybeReadVirginBody(), Security::PeerConnector::negotiate(), ClientHttpRequest::noteAdaptationAclCheckDone(), Adaptation::Icap::Xaction::noteCommConnected(), Adaptation::Icap::ServiceRep::noteConnectionUse(), Ssl::PeekingPeerConnector::noteNegotiationDone(), Security::BlindPeerConnector::noteNegotiationDone(), Ssl::IcapPeerConnector::noteNegotiationDone(), Ssl::PeekingPeerConnector::noteNegotiationError(), Security::PeerConnector::noteNegotiationError(), Security::PeerConnector::noteWantRead(), Ssl::PeekingPeerConnector::noteWantWrite(), Comm::TcpAcceptor::oldAccept(), IdleConnList::pop(), DeferredReadManager::popHead(), Security::PeerConnector::prepareSocket(), Security::PeerConnector::recordNegotiationDetails(), MessageBucket::scheduleWrite(), Comm::IoCallback::selectOrQueueWrite(), Http::Stream::sendStartOfMessage(), Ssl::PeekingPeerConnector::serverCertificateVerified(), FwdState::serverClosed(), Comm::SetSelect(), ConnStateData::splice(), Squid_SSL_accept(), ConnStateData::sslCrtdHandleReply(), Security::PeerConnector::sslCrtvdCheckForErrors(), Security::PeerConnector::sslCrtvdHandleReply(), Security::PeerConnector::sslFinalized(), ConnStateData::startPeekAndSplice(), statClientRequests(), Ssl::ClientBio::stateChanged(), ConnStateData::storeTlsContextToCache(), switchToTunnel(), CommConnectCbParams::syncWithComm(), CommIoCbParams::syncWithComm(), tls_read_method(), tls_write_method(), unlinkdInit(), ConnStateData::whenClientIpKnown(), Comm::Write(), Ssl::ServerBio::write(), Log::TcpLogger::writeIfPossible(), and writeTimedOut().

#define FD_WRITE_METHOD (   fd,
  buf,
  len 
)    (*fde::Table[fd].write_method)(fd, buf, len)

Typedef Documentation

typedef int READ_HANDLER(int, char *, int)

READ_HANDLER functions return < 0 if, and only if, they fail with an error. On error, they must pass back an error code in 'errno'.

Definition at line 29 of file fde.h.

typedef int WRITE_HANDLER(int, const char *, int)

WRITE_HANDLER functions return < 0 if, and only if, they fail with an error. On error, they must pass back an error code in 'errno'.

Definition at line 35 of file fde.h.

Function Documentation

int fdNFree ( void  )

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors