Apache Portable Runtime
 
Loading...
Searching...
No Matches
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
 

Macros

#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 struct apr_allocator_t apr_allocator_t
 
typedef struct apr_memnode_t apr_memnode_t
 

Functions

 APR_DECLARE (apr_status_t) apr_allocator_create(apr_allocator_t **allocator)
 
 APR_DECLARE (void) apr_allocator_destroy(apr_allocator_t *allocator)
 
 APR_DECLARE (apr_memnode_t *) apr_allocator_alloc(apr_allocator_t *allocator
 
 APR_DECLARE (apr_size_t) apr_allocator_align(apr_allocator_t *allocator
 
 APR_DECLARE (apr_pool_t *) apr_allocator_owner_get(apr_allocator_t *allocator)
 

Variables

apr_size_t size
 
apr_memnode_tmemnode
 
apr_pool_tpool
 

Detailed Description

APR Internal Memory Allocation.

Macro Definition Documentation

◆ APR_WANT_MEMFUNC

#define APR_WANT_MEMFUNC

For no good reason?