17 #ifndef APR_ALLOCATOR_H
18 #define APR_ALLOCATOR_H
27 #define APR_WANT_MEMFUNC
64 #define APR_MEMNODE_T_SIZE APR_ALIGN_DEFAULT(sizeof(apr_memnode_t))
67 #define APR_ALLOCATOR_MAX_FREE_UNLIMITED 0
APR Platform Definitions.
APR Thread Mutex Routines.
APR Standard Headers Support.
dav_buffer apr_size_t size
Definition: mod_dav.h:461
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
struct apr_allocator_t apr_allocator_t
Definition: apr_allocator.h:41
void apr_allocator_mutex_set(apr_allocator_t *allocator, apr_thread_mutex_t *mutex) __attribute__((nonnull(1)))
void apr_allocator_destroy(apr_allocator_t *allocator) __attribute__((nonnull(1)))
void apr_allocator_max_free_set(apr_allocator_t *allocator, apr_size_t size) __attribute__((nonnull(1)))
apr_thread_mutex_t * apr_allocator_mutex_get(apr_allocator_t *allocator) __attribute__((nonnull(1)))
apr_pool_t * apr_allocator_owner_get(apr_allocator_t *allocator) __attribute__((nonnull(1)))
apr_size_t apr_allocator_align(apr_allocator_t *allocator, apr_size_t size)
void apr_allocator_owner_set(apr_allocator_t *allocator, apr_pool_t *pool) __attribute__((nonnull(1)))
apr_status_t apr_allocator_create(apr_allocator_t **allocator) __attribute__((nonnull(1)))
apr_status_t apr_allocator_min_order_set(unsigned int order)
void apr_size_t apr_allocator_page_size(void)
void apr_allocator_free(apr_allocator_t *allocator, apr_memnode_t *memnode) __attribute__((nonnull(1
apr_memnode_t * apr_allocator_alloc(apr_allocator_t *allocator, apr_size_t size) __attribute__((nonnull(1)))
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
#define APR_DECLARE(x)
Definition: macros.h:6
Definition: apr_allocator.h:54
apr_memnode_t * next
Definition: apr_allocator.h:55
char * endp
Definition: apr_allocator.h:60
apr_uint32_t index
Definition: apr_allocator.h:57
char * first_avail
Definition: apr_allocator.h:59
apr_memnode_t ** ref
Definition: apr_allocator.h:56
apr_uint32_t free_index
Definition: apr_allocator.h:58
Definition: apr_arch_thread_mutex.h:28