Apache HTTPD
Public Attributes | List of all members
apr_memnode_t Struct Reference

#include <apr_allocator.h>

Public Attributes

apr_memnode_tnext
 
apr_memnode_t ** ref
 
apr_uint32_t index
 
apr_uint32_t free_index
 
charfirst_avail
 
charendp
 

Detailed Description

basic memory node structure

Note
The next, ref and first_avail fields are available for use by the caller of apr_allocator_alloc(), the remaining fields are read-only. The next field has to be used with caution and sensibly set when the memnode is passed back to apr_allocator_free(). See apr_allocator_free() for details.
The ref and first_avail fields will be properly restored by apr_allocator_free().

Definition at line 54 of file apr_allocator.h.

Member Data Documentation

◆ endp

char* apr_memnode_t::endp

pointer to end of free memory

Definition at line 60 of file apr_allocator.h.

◆ first_avail

char* apr_memnode_t::first_avail

pointer to first free memory

Definition at line 59 of file apr_allocator.h.

◆ free_index

apr_uint32_t apr_memnode_t::free_index

how much free

Definition at line 58 of file apr_allocator.h.

◆ index

apr_uint32_t apr_memnode_t::index

size

Definition at line 57 of file apr_allocator.h.

◆ next

apr_memnode_t* apr_memnode_t::next

next memnode

Definition at line 55 of file apr_allocator.h.

◆ ref

apr_memnode_t** apr_memnode_t::ref

reference to self

Definition at line 56 of file apr_allocator.h.


The documentation for this struct was generated from the following file: