diff options
author | Cliff Woolley <jwoolley@apache.org> | 2002-04-01 05:42:38 +0000 |
---|---|---|
committer | Cliff Woolley <jwoolley@apache.org> | 2002-04-01 05:42:38 +0000 |
commit | 1b08dcb6f710c34c1b8b6a39c1be039235b1b977 (patch) | |
tree | b722477ed6441358bbf001d9fd95c918d87e62c8 /include/apr_allocator.h | |
parent | 104c398635fa558a79324c5d2c1f4e65b4dd1bde (diff) | |
download | apr-1b08dcb6f710c34c1b8b6a39c1be039235b1b977.tar.gz |
Minor tweaks to expose things in the apr_allocator API needed to implement
the bucket allocator in apr-util
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63209 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_allocator.h')
-rw-r--r-- | include/apr_allocator.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/apr_allocator.h b/include/apr_allocator.h index 934c7c8b2..a2d2aa1bb 100644 --- a/include/apr_allocator.h +++ b/include/apr_allocator.h @@ -85,6 +85,15 @@ typedef struct apr_allocator_t apr_allocator_t; /** the structure which holds information about the allocation */ typedef struct apr_memnode_t apr_memnode_t; +struct apr_memnode_t { + apr_memnode_t *next; + apr_uint32_t index; + char *first_avail; + char *endp; +}; + +#define APR_MEMNODE_T_SIZE APR_ALIGN_DEFAULT(sizeof(apr_memnode_t)) + /** * Create a new allocator * @param allocator The allocator we have just created. |