D7net Mini Sh3LL v1
Current File : /var/../usr/share/dpkg/../doc/ncurses-term/../libaprutil1-dev/html/apr__dbm__private_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_dbm_private.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><li class="navelem"><a class="el" href="dir_4bd6cd521a56a9f4d924ab2d33a9895d.html">private</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">apr_dbm_private.h</div> </div>
</div><!--header-->
<div class="contents">
<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_DBM_PRIVATE_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define APR_DBM_PRIVATE_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "apr.h"</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "apr_errno.h"</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "apr_pools.h"</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="apr__dbm_8h.html">apr_dbm.h</a>"</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "apr_file_io.h"</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</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>  </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">/* ### for now, include the DBM selection; this will go away once we start</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> ### building and linking all of the DBMs at once. */</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "apu_select_dbm.h"</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> APU_DECLARE(<span class="keywordtype">int</span>) apr_posix_perms2mode(apr_fileperms_t perm);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html"> 47</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#af023b97eba22415785caf005fc5dcf64"> 49</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__dbm__type__t.html#af023b97eba22415785caf005fc5dcf64">name</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#a823966386777dcdc76081cccb7c493e1"> 52</a></span>  apr_status_t (*open)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> **pdb, <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname,</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  apr_int32_t mode, apr_fileperms_t perm,</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  apr_pool_t *<a class="code" href="structapr__dbm__t.html#af80b38e28d1504e98f9aa3308285bf9b">pool</a>);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#ad279fc2ecb08cb1c8b4dc93feacb8491"> 57</a></span>  void (*close)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#aed236143d1ce8ee0edd76fa96332357e"> 60</a></span>  apr_status_t (*fetch)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> key,</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="structapr__datum__t.html">apr_datum_t</a> * pvalue);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#a0c2e73a49901b9dcb80c302dd99a836b"> 64</a></span>  apr_status_t (*store)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> key, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> value);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#a513136c6a4e645f7524742d240f6e400"> 67</a></span>  apr_status_t (*del)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> key);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#ab3192948d859017eec8c350d55f8aa72"> 70</a></span>  int (*exists)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> key);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#ac33084f64b59fd71b299aa4c0636f5ca"> 73</a></span>  apr_status_t (*firstkey)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> * pkey);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#a346ec9bb854be926c821fef6c70658c6"> 76</a></span>  apr_status_t (*nextkey)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> * pkey);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#a61c7cf2ac5f6e3d941bf56d2ba7dd646"> 79</a></span>  void (*freedatum)(<a class="code" href="structapr__dbm__t.html">apr_dbm_t</a> *dbm, <a class="code" href="structapr__datum__t.html">apr_datum_t</a> data);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structapr__dbm__type__t.html#a2fc5fed0a3353db2ba24cd8da6da04e8"> 82</a></span>  void (*getusednames)(apr_pool_t *<a class="code" href="structapr__dbm__t.html#af80b38e28d1504e98f9aa3308285bf9b">pool</a>,</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> **used1,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> **used2);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> } <a class="code" href="structapr__dbm__type__t.html">apr_dbm_type_t</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structapr__dbm__t.html"> 93</a></span> <span class="keyword">struct </span><a class="code" href="structapr__dbm__t.html">apr_dbm_t</a></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> { </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structapr__dbm__t.html#af80b38e28d1504e98f9aa3308285bf9b"> 96</a></span>  apr_pool_t *<a class="code" href="structapr__dbm__t.html#af80b38e28d1504e98f9aa3308285bf9b">pool</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structapr__dbm__t.html#a228e2548b3a034d8d16451af4b93f3f1"> 99</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structapr__dbm__t.html#a228e2548b3a034d8d16451af4b93f3f1">file</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structapr__dbm__t.html#a130a628921f4c46241d09476f8a3090c"> 102</a></span>  <span class="keywordtype">int</span> <a class="code" href="structapr__dbm__t.html#a130a628921f4c46241d09476f8a3090c">errcode</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structapr__dbm__t.html#adc3defc90b90fe3411c099631f75a653"> 104</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__dbm__t.html#adc3defc90b90fe3411c099631f75a653">errmsg</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structapr__dbm__t.html#a27287213e7ebe16d9945207a13300faf"> 107</a></span>  <span class="keyword">const</span> <a class="code" href="structapr__dbm__type__t.html">apr_dbm_type_t</a> *<a class="code" href="structapr__dbm__t.html#a27287213e7ebe16d9945207a13300faf">type</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> };</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment">/* Declare all of the DBM provider tables */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <a class="code" href="group___a_p_r___util.html#ga9b0c0f8fe6546018d3a84a87fc3938f5">APU_MODULE_DECLARE_DATA</a> <span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structapr__dbm__type__t.html">apr_dbm_type_t</a> apr_dbm_type_sdbm;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <a class="code" href="group___a_p_r___util.html#ga9b0c0f8fe6546018d3a84a87fc3938f5">APU_MODULE_DECLARE_DATA</a> <span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structapr__dbm__type__t.html">apr_dbm_type_t</a> apr_dbm_type_gdbm;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <a class="code" href="group___a_p_r___util.html#ga9b0c0f8fe6546018d3a84a87fc3938f5">APU_MODULE_DECLARE_DATA</a> <span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structapr__dbm__type__t.html">apr_dbm_type_t</a> apr_dbm_type_ndbm;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <a class="code" href="group___a_p_r___util.html#ga9b0c0f8fe6546018d3a84a87fc3938f5">APU_MODULE_DECLARE_DATA</a> <span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structapr__dbm__type__t.html">apr_dbm_type_t</a> apr_dbm_type_db;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor">#endif </span><span class="comment">/* APR_DBM_PRIVATE_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructapr__dbm__t_html_adc3defc90b90fe3411c099631f75a653"><div class="ttname"><a href="structapr__dbm__t.html#adc3defc90b90fe3411c099631f75a653">apr_dbm_t::errmsg</a></div><div class="ttdeci">const char * errmsg</div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:104</div></div>
<div class="ttc" id="astructapr__dbm__type__t_html_af023b97eba22415785caf005fc5dcf64"><div class="ttname"><a href="structapr__dbm__type__t.html#af023b97eba22415785caf005fc5dcf64">apr_dbm_type_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:49</div></div>
<div class="ttc" id="astructapr__dbm__t_html_a228e2548b3a034d8d16451af4b93f3f1"><div class="ttname"><a href="structapr__dbm__t.html#a228e2548b3a034d8d16451af4b93f3f1">apr_dbm_t::file</a></div><div class="ttdeci">void * file</div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:99</div></div>
<div class="ttc" id="aapr__dbm_8h_html"><div class="ttname"><a href="apr__dbm_8h.html">apr_dbm.h</a></div><div class="ttdoc">APR-UTIL DBM library.</div></div>
<div class="ttc" id="astructapr__dbm__t_html_af80b38e28d1504e98f9aa3308285bf9b"><div class="ttname"><a href="structapr__dbm__t.html#af80b38e28d1504e98f9aa3308285bf9b">apr_dbm_t::pool</a></div><div class="ttdeci">apr_pool_t * pool</div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:96</div></div>
<div class="ttc" id="astructapr__dbm__t_html_a130a628921f4c46241d09476f8a3090c"><div class="ttname"><a href="structapr__dbm__t.html#a130a628921f4c46241d09476f8a3090c">apr_dbm_t::errcode</a></div><div class="ttdeci">int errcode</div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:102</div></div>
<div class="ttc" id="astructapr__dbm__t_html"><div class="ttname"><a href="structapr__dbm__t.html">apr_dbm_t</a></div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:93</div></div>
<div class="ttc" id="astructapr__dbm__t_html_a27287213e7ebe16d9945207a13300faf"><div class="ttname"><a href="structapr__dbm__t.html#a27287213e7ebe16d9945207a13300faf">apr_dbm_t::type</a></div><div class="ttdeci">const apr_dbm_type_t * type</div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:107</div></div>
<div class="ttc" id="astructapr__dbm__type__t_html"><div class="ttname"><a href="structapr__dbm__type__t.html">apr_dbm_type_t</a></div><div class="ttdef"><b>Definition:</b> apr_dbm_private.h:47</div></div>
<div class="ttc" id="agroup___a_p_r___util_html_ga9b0c0f8fe6546018d3a84a87fc3938f5"><div class="ttname"><a href="group___a_p_r___util.html#ga9b0c0f8fe6546018d3a84a87fc3938f5">APU_MODULE_DECLARE_DATA</a></div><div class="ttdeci">#define APU_MODULE_DECLARE_DATA</div><div class="ttdef"><b>Definition:</b> apu.h:94</div></div>
<div class="ttc" id="astructapr__datum__t_html"><div class="ttname"><a href="structapr__datum__t.html">apr_datum_t</a></div><div class="ttdef"><b>Definition:</b> apr_dbm.h:47</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