apr_allocator.h File Reference

APR Internal Memory Allocation. More...

#include "apr.h"
#include "apr_errno.h"
#include "apr_want.h"
#include "apr_pools.h"
#include "apr_thread_mutex.h"

Go to the source code of this file.

Data Structures

struct  apr_memnode_t

Defines

#define APR_WANT_MEMFUNC
#define APR_MEMNODE_T_SIZE   APR_ALIGN_DEFAULT(sizeof(apr_memnode_t))
#define APR_ALLOCATOR_MAX_FREE_UNLIMITED   0

Typedefs

typedef apr_allocator_t apr_allocator_t
typedef apr_memnode_t apr_memnode_t

Functions

apr_status_t apr_allocator_create (apr_allocator_t **allocator)
void apr_allocator_destroy (apr_allocator_t *allocator)
apr_memnode_tapr_allocator_alloc (apr_allocator_t *allocator, apr_size_t size)
void apr_allocator_free (apr_allocator_t *allocator, apr_memnode_t *memnode)
void apr_allocator_owner_set (apr_allocator_t *allocator, apr_pool_t *pool)
void apr_allocator_set_owner (apr_allocator_t *allocator, apr_pool_t *pool)
apr_pool_tapr_allocator_owner_get (apr_allocator_t *allocator)
apr_pool_tapr_allocator_get_owner (apr_allocator_t *allocator)
void apr_allocator_max_free_set (apr_allocator_t *allocator, apr_size_t size)
void apr_allocator_set_max_free (apr_allocator_t *allocator, apr_size_t size)
void apr_allocator_mutex_set (apr_allocator_t *allocator, apr_thread_mutex_t *mutex)
void apr_allocator_set_mutex (apr_allocator_t *allocator, apr_thread_mutex_t *mutex)
apr_thread_mutex_tapr_allocator_mutex_get (apr_allocator_t *allocator)
apr_thread_mutex_tapr_allocator_get_mutex (apr_allocator_t *allocator)


Detailed Description

APR Internal Memory Allocation.


Define Documentation

#define APR_WANT_MEMFUNC

For no good reason?


Generated on Mon Nov 26 11:47:26 2007 for Apache Portable Runtime by  doxygen 1.5.2