cbdata Class Reference
[Callback Data Allocator Internals]

Public Member Functions | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| ~cbdata () | |
| void | check (int aLine) const |
Static Public Member Functions | |
| static MemAllocatorProxy & | Pool () |
Public Attributes | |
| hash_link | hash |
| int | valid |
| int | locks |
| cbdata_type | type |
| long | cookie |
Static Public Attributes | |
| static const long | Cookie |
Detailed Description
Definition at line 87 of file cbdata.cc.
Constructor & Destructor Documentation
| cbdata::~cbdata | ( | ) |
Definition at line 207 of file cbdata.cc.
References calls, cbdata_index, CBDataIndex::free_func, hash, _hash_link::key, p, and type.
Member Function Documentation
| void cbdata::check | ( | int | aLine | ) | const [inline] |
Definition at line 129 of file cbdata.cc.
References assert, Cookie, and cookie.
Referenced by cbdataInternalFree(), cbdataInternalLock(), cbdataInternalUnlock(), and cbdataReferenceValid().
| MemAllocatorProxy & cbdata::Pool | ( | ) | [inline, static] |
Member Data Documentation
| long cbdata::cookie |
Definition at line 128 of file cbdata.cc.
Referenced by cbdataInternalAlloc(), and check().
const long cbdata::Cookie [static] |
Definition at line 130 of file cbdata.cc.
Referenced by cbdataInternalAlloc(), and check().
- Todo:
- examine making cbdata templated on this - so we get type safe access to data - RBC 20030902
Definition at line 93 of file cbdata.cc.
Referenced by cbdataInternalAlloc(), cbdataInternalFree(), cbdataInternalUnlock(), and ~cbdata().
| int cbdata::locks |
Definition at line 110 of file cbdata.cc.
Referenced by cbdataInternalAlloc(), cbdataInternalFree(), cbdataInternalLock(), cbdataInternalUnlock(), and cbdataReferenceValid().
Definition at line 111 of file cbdata.cc.
Referenced by cbdataInternalAlloc(), cbdataInternalFree(), cbdataInternalUnlock(), and ~cbdata().
| int cbdata::valid |
Definition at line 109 of file cbdata.cc.
Referenced by cbdataInternalAlloc(), cbdataInternalFree(), cbdataInternalUnlock(), and cbdataReferenceValid().
The documentation for this class was generated from the following file:
- src/cbdata.cc
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
