D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/../bin/../include/../share/doc/libapr1-dev/html/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : /var/../bin/../include/../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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<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 style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Apache Portable Runtime
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</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="#group____apr____allocator" alt=""/></div>
<!-- MAP 0 -->
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 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 name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem: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"><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 name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem: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"><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 name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem: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"><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:ga7452b0837c2148bd63109f89bbc0c3db"><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#ga7452b0837c2148bd63109f89bbc0c3db">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:ga7452b0837c2148bd63109f89bbc0c3db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem: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"><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"><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:ga3cfe48c8717de6495480ce1479d262f1"><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#ga3cfe48c8717de6495480ce1479d262f1">apr_allocator_owner_get</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator)</td></tr>
<tr class="separator:ga3cfe48c8717de6495480ce1479d262f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem: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"><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:ga38599aa9f1330846a2d2b25ec5c8d9c9"><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#ga38599aa9f1330846a2d2b25ec5c8d9c9">apr_allocator_mutex_get</a> (<a class="el" href="group__apr__allocator.html#ga1ceabfd30fcfc455e47d052d2a24244b">apr_allocator_t</a> *allocator)</td></tr>
<tr class="separator:ga38599aa9f1330846a2d2b25ec5c8d9c9"><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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54f32b19d8dad59bc6364a7a6b8ebec9">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf382851817012929f4e2458b43f4482c">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ceabfd30fcfc455e47d052d2a24244b">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3b6437036dfcdffbf87ad4677c818211">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85162b4fb7e68b76dd70beb46947b9e5">&#9670;&nbsp;</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="ga7452b0837c2148bd63109f89bbc0c3db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7452b0837c2148bd63109f89bbc0c3db">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf834f409a34b7f8656c045cff02fd953">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga704529f6b26279ad1c48d5e8372d859c">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga124e48339838213fd5e160a4125cb7e8">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1d45cb6dbe69ba25dee0ec5f4e031d60">&#9670;&nbsp;</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="ga38599aa9f1330846a2d2b25ec5c8d9c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga38599aa9f1330846a2d2b25ec5c8d9c9">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab803d74f56683004f7ec384ced210dd5">&#9670;&nbsp;</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="ga3cfe48c8717de6495480ce1479d262f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3cfe48c8717de6495480ce1479d262f1">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadf38bbec37c29c24388e95b1c9acad28">&#9670;&nbsp;</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="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>

AnonSec - 2021 | Recode By D7net