<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Apache Portable Runtime: apr_memnode_t Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.9.1 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <h1>apr_memnode_t Struct Reference<br> <small> [<a class="el" href="group__apr__allocator.html">Internal Memory Allocation</a>]</small> </h1><code>#include <<a class="el" href="apr__allocator_8h-source.html">apr_allocator.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#o0">next</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#o1">ref</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">apr_uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#o2">index</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">apr_uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#o3">free_index</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#o4">first_avail</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#o5">endp</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> basic memory node structure <dl compact><dt><b>Note:</b></dt><dd>The next, ref and first_avail fields are available for use by the caller of <a class="el" href="group__apr__allocator.html#ga4">apr_allocator_alloc()</a>, 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 <a class="el" href="group__apr__allocator.html#ga5">apr_allocator_free()</a>. See <a class="el" href="group__apr__allocator.html#ga5">apr_allocator_free()</a> for details. The ref and first_avail fields will be properly restored by <a class="el" href="group__apr__allocator.html#ga5">apr_allocator_free()</a>. </dd></dl> <p> <hr><h2>Field Documentation</h2> <a class="anchor" name="o5" doxytag="apr_memnode_t::endp"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* <a class="el" href="structapr__memnode__t.html#o5">apr_memnode_t::endp</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> pointer to end of free memory </td> </tr> </table> <a class="anchor" name="o4" doxytag="apr_memnode_t::first_avail"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* <a class="el" href="structapr__memnode__t.html#o4">apr_memnode_t::first_avail</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> pointer to first free memory </td> </tr> </table> <a class="anchor" name="o3" doxytag="apr_memnode_t::free_index"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">apr_uint32_t <a class="el" href="structapr__memnode__t.html#o3">apr_memnode_t::free_index</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> how much free </td> </tr> </table> <a class="anchor" name="o2" doxytag="apr_memnode_t::index"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">apr_uint32_t <a class="el" href="structapr__memnode__t.html#o2">apr_memnode_t::index</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> size </td> </tr> </table> <a class="anchor" name="o0" doxytag="apr_memnode_t::next"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>* <a class="el" href="structapr__memnode__t.html#o0">apr_memnode_t::next</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> next memnode </td> </tr> </table> <a class="anchor" name="o1" doxytag="apr_memnode_t::ref"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>** <a class="el" href="structapr__memnode__t.html#o1">apr_memnode_t::ref</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> reference to self </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="apr__allocator_8h-source.html">apr_allocator.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Sun Mar 20 19:52:26 2005 for Apache Portable Runtime by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> </body> </html>