summaryrefslogtreecommitdiff
path: root/include/apr_allocator.h
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-11-10 08:35:16 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-11-10 08:35:16 +0000
commit05e4db1ad0daefbe23c7bd4bf95dcc26117791ee (patch)
tree0706c9dcb9d80ee34b95fef0edcc656533723049 /include/apr_allocator.h
parent4af567a62faf58f6758c4c744b1dad30520ef7a8 (diff)
downloadapr-05e4db1ad0daefbe23c7bd4bf95dcc26117791ee.tar.gz
Go through doxygen output and remove as many errors and warnings as I could.
No code changes. (Note removal of #define duplication in apr_poll.h/apr_network_io.h of the APR_POLL* values. This appears to have been an oversight and is now just in apr_poll.h) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_allocator.h')
-rw-r--r--include/apr_allocator.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/apr_allocator.h b/include/apr_allocator.h
index 2041fc43b..07992004d 100644
--- a/include/apr_allocator.h
+++ b/include/apr_allocator.h
@@ -81,15 +81,17 @@ typedef struct apr_allocator_t apr_allocator_t;
/** the structure which holds information about the allocation */
typedef struct apr_memnode_t apr_memnode_t;
+/** basic memory node structure */
struct apr_memnode_t {
- apr_memnode_t *next;
- apr_memnode_t **ref;
- apr_uint32_t index;
- apr_uint32_t free_index;
- char *first_avail;
- char *endp;
+ apr_memnode_t *next; /**< next memnode */
+ apr_memnode_t **ref; /**< reference to self */
+ apr_uint32_t index; /**< size */
+ apr_uint32_t free_index; /**< how much free */
+ char *first_avail; /**< pointer to first free memory */
+ char *endp; /**< pointer to end of free memory */
};
+/** The base size of a memory node - aligned. */
#define APR_MEMNODE_T_SIZE APR_ALIGN_DEFAULT(sizeof(apr_memnode_t))
/** Symbolic constants */