Callback Data Allocator Internals
[Callback Data Allocator API]
|
Classes | |
| class | cbdata |
| struct | CBDataIndex |
Defines | |
| #define | OFFSET_OF(TYPE, MEMBER) ((size_t) &(((TYPE) *)0)->(MEMBER)) |
Variables | |
| struct CBDataIndex * | cbdata_index |
| int | cbdata_types = 0 |
Detailed Description
These routines manage a set of registered callback data pointers. One of the easiest ways to make Squid coredump is to issue a callback to for some data structure which has previously been freed. With these routines, we register (add) callback data pointers, lock them just before registering the callback function, validate them before issuing the callback, and then free them when finished.
Define Documentation
| #define OFFSET_OF | ( | TYPE, | |||
| MEMBER | ) | ((size_t) &(((TYPE) *)0)->(MEMBER)) |
Variable Documentation
| struct CBDataIndex * cbdata_index |
Referenced by cbdataDump(), cbdataInternalAlloc(), cbdataInternalFree(), cbdataInternalInitType(), cbdataInternalUnlock(), and cbdata::~cbdata().
| int cbdata_types = 0 |
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
