Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 7c859c6f61469ed11e2ab179848b0178 > files > 275

libapr-util-devel-1.4.1-0.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Apache Portable Runtime Utility Library: apr_bucket_pool Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </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>
</div>
<div class="contents">
<h1>apr_bucket_pool Struct Reference<br/>
<small>
[<a class="el" href="group___a_p_r___util___bucket___brigades.html">Bucket Brigades</a>]</small>
</h1><!-- doxytag: class="apr_bucket_pool" -->
<p><code>#include &lt;<a class="el" href="apr__buckets_8h_source.html">apr_buckets.h</a>&gt;</code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapr__bucket__heap.html">apr_bucket_heap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__bucket__pool.html#a0fe0b0dedea28fb1ed0a1a0f42338225">heap</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__bucket__pool.html#a9ee5297361ba548a20c3aa626a37c068">base</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">apr_pool_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__bucket__pool.html#af55591a1e7f3b097e7c271683bc80968">pool</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___a_p_r___util___bucket___brigades.html#ga9a30babfeb6e290db124d8f9b69e49e4">apr_bucket_alloc_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__bucket__pool.html#a651aa0c18658342daf72ff86680bfaca">list</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A bucket referring to data allocated from a pool </p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a9ee5297361ba548a20c3aa626a37c068"></a><!-- doxytag: member="apr_bucket_pool::base" ref="a9ee5297361ba548a20c3aa626a37c068" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="structapr__bucket__pool.html#a9ee5297361ba548a20c3aa626a37c068">apr_bucket_pool::base</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The block of data actually allocated from the pool. Segments of this block are referenced by adjusting the start and length of the <a class="el" href="structapr__bucket.html">apr_bucket</a> accordingly. This will be NULL after the pool gets cleaned up. </p>

</div>
</div>
<a class="anchor" id="a0fe0b0dedea28fb1ed0a1a0f42338225"></a><!-- doxytag: member="apr_bucket_pool::heap" ref="a0fe0b0dedea28fb1ed0a1a0f42338225" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapr__bucket__heap.html">apr_bucket_heap</a> <a class="el" href="structapr__bucket__pool.html#a0fe0b0dedea28fb1ed0a1a0f42338225">apr_bucket_pool::heap</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The pool bucket must be able to be easily morphed to a heap bucket if the pool gets cleaned up before all references are destroyed. This <a class="el" href="structapr__bucket__heap.html">apr_bucket_heap</a> structure is populated automatically when the pool gets cleaned up, and subsequent calls to pool_read() will result in the <a class="el" href="structapr__bucket.html">apr_bucket</a> in question being morphed into a regular heap bucket. (To avoid having to do many extra refcount manipulations and b-&gt;data manipulations, the <a class="el" href="structapr__bucket__pool.html">apr_bucket_pool</a> struct actually *contains* the <a class="el" href="structapr__bucket__heap.html">apr_bucket_heap</a> struct that it will become as its first element; the two share their <a class="el" href="structapr__bucket__refcount.html">apr_bucket_refcount</a> members.) </p>

</div>
</div>
<a class="anchor" id="a651aa0c18658342daf72ff86680bfaca"></a><!-- doxytag: member="apr_bucket_pool::list" ref="a651aa0c18658342daf72ff86680bfaca" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___a_p_r___util___bucket___brigades.html#ga9a30babfeb6e290db124d8f9b69e49e4">apr_bucket_alloc_t</a>* <a class="el" href="structapr__bucket__pool.html#a651aa0c18658342daf72ff86680bfaca">apr_bucket_pool::list</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The freelist this structure was allocated from, which is needed in the cleanup phase in order to allocate space on the heap </p>

</div>
</div>
<a class="anchor" id="af55591a1e7f3b097e7c271683bc80968"></a><!-- doxytag: member="apr_bucket_pool::pool" ref="af55591a1e7f3b097e7c271683bc80968" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">apr_pool_t* <a class="el" href="structapr__bucket__pool.html#af55591a1e7f3b097e7c271683bc80968">apr_bucket_pool::pool</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The pool the data was allocated from. When the pool is cleaned up, this gets set to NULL as an indicator to pool_read() that the data is now on the heap and so it should morph the bucket into a regular heap bucket before continuing. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="apr__buckets_8h_source.html">apr_buckets.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Feb 1 12:19:48 2012 for Apache Portable Runtime Utility Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>