
Go to the source code of this file.
Macros | |
#define | STUB_API "cbdata.cc" |
Functions | |
void | cbdataRegisterWithCacheManager (void) STUB void *cbdataInternalAlloc(cbdata_type |
void * | cbdataInternalFree (void *p, const char *, int) |
void | cbdataInternalLock (const void *) STUB void cbdataInternalUnlock(const void *) STUB int cbdataInternalReferenceDoneValid(void ** |
void void ** | STUB_RETVAL (0) int cbdataReferenceValid(const void *) STUB_RETVAL(0) cbdata_type cbdataInternalAddType(cbdata_type |
Variables | |
void const char int | sz |
Macro Definition Documentation
◆ STUB_API
#define STUB_API "cbdata.cc" |
Definition at line 12 of file stub_cbdata.cc.
Function Documentation
◆ cbdataInternalFree()
void* cbdataInternalFree | ( | void * | p, |
const char * | , | ||
int | |||
) |
Frees a entry allocated by cbdataInternalAlloc().
Once this has been called cbdataReferenceValid() and cbdataReferenceValidDone() will return false regardless of whether there are remaining cbdata references.
cbdataReferenceDone() must still be called for any active references to the cbdata entry. The cbdata entry will be freed only when the last reference is removed.
- Note
- For internal CBDATA use only.
Definition at line 19 of file stub_cbdata.cc.
References assert, cbdataRealFree(), debugs, cbdata::FromUserData(), NULL, and xfree.
◆ cbdataInternalLock()
void cbdataInternalLock | ( | const void * | ) | const |
◆ cbdataRegisterWithCacheManager()
void cbdataRegisterWithCacheManager | ( | void | ) |
Create a run-time registration of CBDATA component with the Squid cachemgr
Definition at line 202 of file cbdata.cc.
References cbdataDump, and Mgr::RegisterAction().
◆ STUB_RETVAL()
Definition at line 92 of file stub_liblog.cc.
Variable Documentation
◆ sz
void const char int sz |
Definition at line 16 of file stub_cbdata.cc.
Referenced by String::allocBuffer(), MemBuf::append(), MemBuf::appended(), store_client::callback(), constructHelperQuery(), copyValue(), debugLogTime(), ClpMap< Key, Value, MemoryUsedBy >::erase(), getStringPrefix(), Adaptation::Icap::ModXact::handleCommWrote(), headersEnd(), htcpForwardClr(), htcpHandleClr(), htcpHandleMsg(), htcpHandleTst(), htcpHandleTstRequest(), htcpHandleTstResponse(), htcpHexdump(), htcpUnpackDetail(), htcpUnpackSpecifier(), idnsGrokReply(), local_printfx(), SBufAddLength::operator()(), Http::Message::parse(), Comm::ReadNow(), recordMemBlobSizeAtDestruct(), SBufStats::RecordMemBlobSizeAtDestruct(), recordSBufSizeAtDestruct(), SBufStats::RecordSBufSizeAtDestruct(), rfc1035BuildAQuery(), rfc1035BuildPTRQuery(), rfc1035HeaderPack(), rfc1035HeaderUnpack(), rfc1035LabelPack(), rfc1035MessageUnpack(), rfc1035NamePack(), rfc1035NameUnpack(), rfc1035QueryUnpack(), rfc1035QuestionPack(), rfc1035RRPack(), rfc1035RRUnpack(), rfc2671RROptPack(), rfc3596BuildAAAAQuery(), rfc3596BuildAQuery(), rfc3596BuildHostQuery(), rfc3596BuildPTRQuery4(), rfc3596BuildPTRQuery6(), store_client::scheduleMemRead(), Comm::IoCallback::setCallback(), MemBuf::vappendf(), SBuf::vappendf(), xcalloc(), xmalloc(), xrealloc(), xstrdup(), and xstrndup().