![](mem_2minimal_8cc__incl.png)
Go to the source code of this file.
Functions | |
void * | memAllocBuf (const size_t netSize, size_t *const grossSize) |
void * | memReallocBuf (void *const oldBuf, const size_t netSize, size_t *const grossSize) |
void | memFree (void *memory, int) |
Free a element allocated by memAllocate() More... | |
void | memFreeBuf (size_t, void *const buf) |
static void | myFree (void *const buf) |
FREE * | memFreeBufFunc (size_t) |
Variables | |
static int | Alive = 0 |
Function Documentation
◆ memAllocBuf()
Definition at line 46 of file minimal.cc.
References xmalloc.
◆ memFree()
void memFree | ( | void * | memory, |
int | |||
) |
Definition at line 61 of file minimal.cc.
References xfree.
◆ memFreeBuf()
void memFreeBuf | ( | size_t | , |
void *const | buf | ||
) |
Definition at line 67 of file minimal.cc.
References xfree.
◆ memFreeBufFunc()
Definition at line 79 of file minimal.cc.
References myFree().
◆ memReallocBuf()
Definition at line 54 of file minimal.cc.
References xrealloc().
◆ myFree()
|
static |
Variable Documentation
◆ Alive
|
static |
The number of currently alive objects (poor man's meter.alloc=meter.inuse). Technically, this is supposed to be a per-allocator statistics, but AllocatorProxy is not a Mem::Allocator so we maintain a global counter instead. We probably do not have to maintain this statistics at all.
Definition at line 17 of file minimal.cc.
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products