D7net Mini Sh3LL v1
Current File : //libx32/../share/doc/libusbmuxd6/../libaprutil1-dev/html/apr__reslist_8h_source.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 Utility Library: apr_reslist.h Source File</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 Utility Library
</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&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&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>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">apr_reslist.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="apr__reslist_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef APR_RESLIST_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define APR_RESLIST_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "apr.h"</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "apu.h"</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "apr_pools.h"</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "apr_errno.h"</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "apr_time.h"</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac"> 42</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> <a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">/* Generic constructor called by resource list when it needs to create a</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> * resource.</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> * @param resource opaque resource</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * @param params flags</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> * @param pool Pool</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">typedef</span> apr_status_t (*apr_reslist_constructor)(<span class="keywordtype">void</span> **resource, <span class="keywordtype">void</span> *params,</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  apr_pool_t *pool);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment">/* Generic destructor called by resource list when it needs to destroy a</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"> * resource.</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> * @param resource opaque resource</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> * @param params flags</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> * @param pool Pool</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">typedef</span> apr_status_t (*apr_reslist_destructor)(<span class="keywordtype">void</span> *resource, <span class="keywordtype">void</span> *params,</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  apr_pool_t *pool);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment">/* Cleanup order modes */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group___a_p_r___util___r_l.html#gae442d99e6a2eef4a4957f0360822fcac"> 63</a></span> <span class="preprocessor">#define APR_RESLIST_CLEANUP_DEFAULT 0 </span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group___a_p_r___util___r_l.html#gad93b2c229d154c8f6a5c9dfcd7488756"> 64</a></span> <span class="preprocessor">#define APR_RESLIST_CLEANUP_FIRST 1 </span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">APU_DECLARE(apr_status_t) apr_reslist_create(apr_reslist_t **reslist,</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> smax, <span class="keywordtype">int</span> hmax,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  apr_interval_time_t ttl,</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  apr_reslist_constructor con,</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  apr_reslist_destructor de,</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> *params,</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  apr_pool_t *pool);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___r_l.html#ga103e0cbac6c5da7cb93d4e52799233cb">apr_reslist_destroy</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___r_l.html#gadfbb592b31ff9215f45d3280636e41d7">apr_reslist_acquire</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist,</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> **resource);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___r_l.html#gaf65ca1701994a0323df639cdb4a8d8b2">apr_reslist_release</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist,</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">void</span> *resource);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> APU_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="group___a_p_r___util___r_l.html#gafe06c964d04a568f2625fb5a9ba7bad6">apr_reslist_timeout_set</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist,</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  apr_interval_time_t timeout);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> APU_DECLARE(apr_uint32_t) <a class="code" href="group___a_p_r___util___r_l.html#gac37fbbcbc8a98ba9ed017638a2c6c1b7">apr_reslist_acquired_count</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___r_l.html#ga346c0604115a9659cf23ed0cc781f7a9">apr_reslist_invalidate</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist,</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordtype">void</span> *resource);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___r_l.html#gaa13a7724a30b5a37ac13548bd8dc56f6">apr_reslist_maintain</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> APU_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="group___a_p_r___util___r_l.html#ga7e8adfc4b12ffb63c6795d8d79ee5e95">apr_reslist_cleanup_order_set</a>(<a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *reslist,</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  apr_uint32_t mode);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> }</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="preprocessor">#endif </span><span class="comment">/* ! APR_RESLIST_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup___a_p_r___util___r_l_html_ga7e8adfc4b12ffb63c6795d8d79ee5e95"><div class="ttname"><a href="group___a_p_r___util___r_l.html#ga7e8adfc4b12ffb63c6795d8d79ee5e95">apr_reslist_cleanup_order_set</a></div><div class="ttdeci">void apr_reslist_cleanup_order_set(apr_reslist_t *reslist, apr_uint32_t mode)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_gafe06c964d04a568f2625fb5a9ba7bad6"><div class="ttname"><a href="group___a_p_r___util___r_l.html#gafe06c964d04a568f2625fb5a9ba7bad6">apr_reslist_timeout_set</a></div><div class="ttdeci">void apr_reslist_timeout_set(apr_reslist_t *reslist, apr_interval_time_t timeout)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_gadfbb592b31ff9215f45d3280636e41d7"><div class="ttname"><a href="group___a_p_r___util___r_l.html#gadfbb592b31ff9215f45d3280636e41d7">apr_reslist_acquire</a></div><div class="ttdeci">apr_status_t apr_reslist_acquire(apr_reslist_t *reslist, void **resource)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_gaa13a7724a30b5a37ac13548bd8dc56f6"><div class="ttname"><a href="group___a_p_r___util___r_l.html#gaa13a7724a30b5a37ac13548bd8dc56f6">apr_reslist_maintain</a></div><div class="ttdeci">apr_status_t apr_reslist_maintain(apr_reslist_t *reslist)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_ga103e0cbac6c5da7cb93d4e52799233cb"><div class="ttname"><a href="group___a_p_r___util___r_l.html#ga103e0cbac6c5da7cb93d4e52799233cb">apr_reslist_destroy</a></div><div class="ttdeci">apr_status_t apr_reslist_destroy(apr_reslist_t *reslist)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_gac37fbbcbc8a98ba9ed017638a2c6c1b7"><div class="ttname"><a href="group___a_p_r___util___r_l.html#gac37fbbcbc8a98ba9ed017638a2c6c1b7">apr_reslist_acquired_count</a></div><div class="ttdeci">apr_uint32_t apr_reslist_acquired_count(apr_reslist_t *reslist)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_ga670f6719dfeffe1037e063eaab7b82ac"><div class="ttname"><a href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a></div><div class="ttdeci">struct apr_reslist_t apr_reslist_t</div><div class="ttdef"><b>Definition:</b> apr_reslist.h:42</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_ga346c0604115a9659cf23ed0cc781f7a9"><div class="ttname"><a href="group___a_p_r___util___r_l.html#ga346c0604115a9659cf23ed0cc781f7a9">apr_reslist_invalidate</a></div><div class="ttdeci">apr_status_t apr_reslist_invalidate(apr_reslist_t *reslist, void *resource)</div></div>
<div class="ttc" id="agroup___a_p_r___util___r_l_html_gaf65ca1701994a0323df639cdb4a8d8b2"><div class="ttname"><a href="group___a_p_r___util___r_l.html#gaf65ca1701994a0323df639cdb4a8d8b2">apr_reslist_release</a></div><div class="ttdeci">apr_status_t apr_reslist_release(apr_reslist_t *reslist, void *resource)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <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