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
75 __attribute__((nonnull(1)));
84 __attribute__((nonnull(1)));
94 __attribute__((nonnull(1)));
105 __attribute__((nonnull(1,2)));
107 #include "apr_pools.h"
122 __attribute__((nonnull(1)));
129 __attribute__((nonnull(1)));
139 __attribute__((nonnull(1)));
141 #include "apr_thread_mutex.h"
151 __attribute__((nonnull(1)));
159 __attribute__((nonnull(1)));
char * endp
Definition: apr_allocator.h:60
apr_uint32_t free_index
Definition: apr_allocator.h:58
struct apr_thread_mutex_t apr_thread_mutex_t
Definition: apr_thread_mutex.h:41
char * first_avail
Definition: apr_allocator.h:59
Definition: apr_allocator.h:54
struct apr_allocator_t apr_allocator_t
Definition: apr_allocator.h:41
void apr_allocator_destroy(apr_allocator_t *allocator)
APR Standard Headers Support.
apr_memnode_t * next
Definition: apr_allocator.h:55
apr_uint32_t index
Definition: apr_allocator.h:57
void apr_allocator_owner_set(apr_allocator_t *allocator, apr_pool_t *pool)
apr_memnode_t * apr_allocator_alloc(apr_allocator_t *allocator, apr_size_t size)
void apr_allocator_free(apr_allocator_t *allocator, apr_memnode_t *memnode)
APR Platform Definitions.
apr_status_t apr_allocator_create(apr_allocator_t **allocator)
apr_thread_mutex_t * apr_allocator_mutex_get(apr_allocator_t *allocator)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
void apr_allocator_max_free_set(apr_allocator_t *allocator, apr_size_t size)
apr_pool_t * apr_allocator_owner_get(apr_allocator_t *allocator)
apr_memnode_t ** ref
Definition: apr_allocator.h:56
void apr_allocator_mutex_set(apr_allocator_t *allocator, apr_thread_mutex_t *mutex)