#include "common.h"
#include "palloc.h"
#include "walloc.h"
#include "override.h"
Functions | |
| pool_t * | pool_create (size_t size, gint max, pool_alloc_t alloc, pool_free_t dealloc) |
| Allocate a pool descriptor. | |
| void | pool_free (pool_t *p) |
| Free a pool descriptor. | |
| gpointer | palloc (pool_t *p) |
| Allocate buffer from the pool. | |
| void | pfree (pool_t *p, gpointer obj) |
| Return a buffer to the pool. | |
|
|
Allocate buffer from the pool.
|
|
||||||||||||
|
Return a buffer to the pool.
|
|
||||||||||||||||||||
|
Allocate a pool descriptor.
|
|
|
Free a pool descriptor.
|
1.3.9.1