Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > bdbf07027827e6ad7d9208f8a9eaea97 > files > 166

apr-docs-1.2.7-11.el5_6.5.x86_64.rpm

<!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">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>apr_memnode_t Struct Reference<br>
<small>
[<a class="el" href="group__apr__allocator.html">Internal Memory Allocation</a>]</small>
</h1><!-- doxytag: class="apr_memnode_t" --><code>#include &lt;<a class="el" href="apr__allocator_8h-source.html">apr_allocator.h</a>&gt;</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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#3dab028f0a018247932ccf3fc7406723">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> **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#010502c804cef365ca38e616a7b2d690">ref</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#c3d913e79d1c9c700850fe5ecc89967a">index</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#e375c5b03e1f66d3cc19578d4fa67205">free_index</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#cf6442bd0b2b29b4ce54675d1b552fc5">first_avail</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html#0651998585ae46f03dbc805d8261837b">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#g1faf4ae0fdffe952b0a80d272ab02654">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#gbe55fa0b1926a78576341e323172d08c">apr_allocator_free()</a>. See <a class="el" href="group__apr__allocator.html#gbe55fa0b1926a78576341e323172d08c">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#gbe55fa0b1926a78576341e323172d08c">apr_allocator_free()</a>. </dd></dl>

<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="0651998585ae46f03dbc805d8261837b"></a><!-- doxytag: member="apr_memnode_t::endp" ref="0651998585ae46f03dbc805d8261837b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="structapr__memnode__t.html#0651998585ae46f03dbc805d8261837b">apr_memnode_t::endp</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
pointer to end of free memory 
</div>
</div><p>
<a class="anchor" name="cf6442bd0b2b29b4ce54675d1b552fc5"></a><!-- doxytag: member="apr_memnode_t::first_avail" ref="cf6442bd0b2b29b4ce54675d1b552fc5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="structapr__memnode__t.html#cf6442bd0b2b29b4ce54675d1b552fc5">apr_memnode_t::first_avail</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
pointer to first free memory 
</div>
</div><p>
<a class="anchor" name="e375c5b03e1f66d3cc19578d4fa67205"></a><!-- doxytag: member="apr_memnode_t::free_index" ref="e375c5b03e1f66d3cc19578d4fa67205" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">apr_uint32_t <a class="el" href="structapr__memnode__t.html#e375c5b03e1f66d3cc19578d4fa67205">apr_memnode_t::free_index</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
how much free 
</div>
</div><p>
<a class="anchor" name="c3d913e79d1c9c700850fe5ecc89967a"></a><!-- doxytag: member="apr_memnode_t::index" ref="c3d913e79d1c9c700850fe5ecc89967a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">apr_uint32_t <a class="el" href="structapr__memnode__t.html#c3d913e79d1c9c700850fe5ecc89967a">apr_memnode_t::index</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
size 
</div>
</div><p>
<a class="anchor" name="3dab028f0a018247932ccf3fc7406723"></a><!-- doxytag: member="apr_memnode_t::next" ref="3dab028f0a018247932ccf3fc7406723" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>* <a class="el" href="structapr__memnode__t.html#3dab028f0a018247932ccf3fc7406723">apr_memnode_t::next</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
next memnode 
</div>
</div><p>
<a class="anchor" name="010502c804cef365ca38e616a7b2d690"></a><!-- doxytag: member="apr_memnode_t::ref" ref="010502c804cef365ca38e616a7b2d690" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>** <a class="el" href="structapr__memnode__t.html#010502c804cef365ca38e616a7b2d690">apr_memnode_t::ref</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
reference to self 
</div>
</div><p>
<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 Tue May 31 12:20:26 2011 for Apache Portable Runtime by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>