stub_tools.cc File Reference
#include "squid.h"
#include "src/tools.h"
#include "tests/STUB.h"
Include dependency graph for stub_tools.cc:

Go to the source code of this file.

Macros

#define STUB_API   "tools.cc"
 

Functions

void releaseServerSockets (void) STUB_NOP char *dead_msg(void) STUB_RETVAL(NULL) void mail_warranty(void) STUB void dumpMallocStats(void) STUB void squid_getrusage(struct rusage *) STUB double rusage_cputime(struct rusage *) STUB_RETVAL(0) int rusage_maxrss(struct rusage *) STUB_RETVAL(0) int rusage_pagefaults(struct rusage *) STUB_RETVAL(0) void PrintRusage(void) STUB void death(int) STUB void BroadcastSignalIfAny(int &) STUB void sigusr2_handle(int) STUB void debug_trap(const char *) STUB void sig_child(int) STUB const char *getMyHostname(void) STUB_RETVAL(NULL) const char *uniqueHostname(void) STUB_RETVAL(NULL) void leave_suid(void) STUB_NOP void enter_suid(void) STUB void no_suid(void) STUB bool IamMasterProcess()
 
bool IamWorkerProcess ()
 whether the current process handles HTTP transactions and such More...
 
bool IamDiskProcess () STUB_RETVAL_NOP(false) bool InDaemonMode() STUB_RETVAL_NOP(false) bool UsingSmp() STUB_RETVAL_NOP(false) bool IamCoordinatorProcess() STUB_RETVAL(false) bool IamPrimaryProcess() STUB_RETVAL(false) int NumberOfKids() STUB_RETVAL(0) void setMaxFD(void) STUB void setSystemLimits(void) STUB void squid_signal(int
 whether the current process is dedicated to managing a cache_dir More...
 
bool SIGHDLR int STUB void logsFlush (void) STUB void debugObj(int
 
bool SIGHDLR int STUB void
const char void ObjPackMethod
STUB void 
parseEtcHosts (void) STUB int getMyPort(void) STUB_RETVAL(0) void setUmask(mode_t) STUB void strwordquote(MemBuf *
 
bool SIGHDLR int STUB void
const char void ObjPackMethod
STUB void const char *STUB
void 
keepCapabilities (void) STUB void restoreCapabilities(bool) STUB pid_t WaitForOnePid(pid_t
 

Variables

int DebugSignal = -1
 
SBuf service_name (APP_SHORTNAME)
 
bool SIGHDLR int STUB void int
 

Macro Definition Documentation

#define STUB_API   "tools.cc"

Definition at line 13 of file stub_tools.cc.

Function Documentation

bool SIGHDLR int STUB void const char void ObjPackMethod STUB void const char* STUB void keepCapabilities ( void  )

Referenced by setEffectiveUser().

bool SIGHDLR int STUB void logsFlush ( void  )

Referenced by ipcCreate().

bool SIGHDLR int STUB void const char void ObjPackMethod STUB void parseEtcHosts ( void  )
void releaseServerSockets ( void  ) const

Definition at line 18 of file stub_tools.cc.

Referenced by fatal(), fatal_dump(), and SquidShutdown().

Variable Documentation

int DebugSignal = -1

Definition at line 16 of file stub_tools.cc.

Referenced by masterCheckAndBroadcastSignals(), and masterSignaled().

bool SIGHDLR int STUB void int

Definition at line 68 of file stub_tools.cc.

Referenced by _tmpnam(), accessLogLog(), Mgr::Inquirer::applyQueryParams(), asn_build_int(), asn_build_unsigned_int(), asn_parse_header(), asn_parse_int(), asn_parse_length(), asn_parse_objid(), asn_parse_string(), asn_parse_unsigned_int(), berEncodeLoginData(), carpInit(), cbdataDump(), Adaptation::Icap::ServiceRep::checkOptions(), ConvertIP(), store_client::copy(), crypt_main(), StatHist::deltaPctile(), Comm::DoSelect(), dump_refreshpattern(), esiProcessStream(), fqdnStats(), fsBlockSize(), fsStats(), fwdStats(), GetInteger(), StoreMetaUnpacker::getLength(), Ip::Address::getReverseString4(), gperf_case_memcmp(), hash_create(), htcpHandleMsg(), httpHdrScStatDumper(), httpHdrScTargetStatDumper(), IcmpPacketType(), icpHandleUdp(), icpUdpSend(), idnsStats(), SharedMemory::init(), DelayBucket::init(), Ping::Init(), Math::intPercent(), main(), main_loop(), Fs::Ufs::UFSSwapDir::maintain(), neighborAlive(), netdbBinaryExchange(), netdbExchangeHandleReply(), netdbHostData(), operator++(), operator-(), Http::Message::parse(), parseManyConfigFiles(), peerCountMcastPeersDone(), peerDigestFetchSetStats(), peerHtcpParentMiss(), peerSourceHashInit(), peerUserHashInit(), Mem::PoolReport(), Ssl::ClientBio::read(), Fs::Ufs::RebuildState::rebuildFromDirectory(), refreshCheck(), regexec(), request(), rfc1035BuildAQuery(), rfc1035BuildPTRQuery(), rfc1035MessageUnpack(), rfc3596BuildHostQuery(), rfc3596BuildPTRQuery4(), RFCNB_CvtPad_Name(), RFCNB_NBName_To_AName(), SearchIPLDAP(), DiskdIOStrategy::SEND(), snmp_var_DecodeVarBind(), snmp_var_new_integer(), squid_rn_insert(), squid_rn_refines(), squidaio_queue_request(), statAvgTick(), statClientRequests(), statStoreEntry(), storeDigestRebuildStep(), storeEntryFlags(), storeLog(), storeSwapMetaPack(), StringToInt(), wccp2AssignBuckets(), wccp2HandleUdp(), xatoi(), xatoui(), and fqdncache_entry::~fqdncache_entry().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors