Sophie

Sophie

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

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

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Apache Portable Runtime Utility Library: include/apr_memcache.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>include/apr_memcache.h</h1><a href="apr__memcache_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00002"></a>00002 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00003"></a>00003 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00004"></a>00004 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00005"></a>00005 <span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span>
<a name="l00006"></a>00006 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"> */</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef APR_MEMCACHE_H</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define APR_MEMCACHE_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;apr.h&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;apr_pools.h&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;apr_time.h&quot;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;apr_strings.h&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;apr_network_io.h&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;apr_ring.h&quot;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;<a class="code" href="apr__buckets_8h.html" title="APR-UTIL Buckets/Bucket Brigades.">apr_buckets.h</a>&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;<a class="code" href="apr__reslist_8h.html" title="APR-UTIL Resource List Routines.">apr_reslist.h</a>&quot;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &quot;apr_hash.h&quot;</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00040"></a>00040 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
<a name="l00041"></a>00041 
<a name="l00049"></a><a class="code" href="group___a_p_r___util___m_c.html#ga3b18c7c3f0ecabb930b78aa549c2e2e8">00049</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00050"></a>00050 {
<a name="l00051"></a><a class="code" href="group___a_p_r___util___m_c.html#gga3b18c7c3f0ecabb930b78aa549c2e2e8a211c8d3d7a4a187b5c8f936a6929d007">00051</a>     <a class="code" href="group___a_p_r___util___m_c.html#gga3b18c7c3f0ecabb930b78aa549c2e2e8a211c8d3d7a4a187b5c8f936a6929d007">APR_MC_SERVER_LIVE</a>, 
<a name="l00052"></a><a class="code" href="group___a_p_r___util___m_c.html#gga3b18c7c3f0ecabb930b78aa549c2e2e8a6dffa918006f926e0fdf0074f4bdac28">00052</a>     <a class="code" href="group___a_p_r___util___m_c.html#gga3b18c7c3f0ecabb930b78aa549c2e2e8a6dffa918006f926e0fdf0074f4bdac28">APR_MC_SERVER_DEAD</a>  
<a name="l00053"></a>00053 } <a class="code" href="group___a_p_r___util___m_c.html#ga3b18c7c3f0ecabb930b78aa549c2e2e8">apr_memcache_server_status_t</a>;
<a name="l00054"></a>00054 
<a name="l00056"></a><a class="code" href="group___a_p_r___util___m_c.html#gac4fabf6e3b3efb959eca48f473b73825">00056</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group___a_p_r___util___m_c.html#gac4fabf6e3b3efb959eca48f473b73825">apr_memcache_conn_t</a> <a class="code" href="group___a_p_r___util___m_c.html#gac4fabf6e3b3efb959eca48f473b73825">apr_memcache_conn_t</a>;
<a name="l00057"></a>00057 
<a name="l00059"></a><a class="code" href="group___a_p_r___util___m_c.html#gaa7b43f2275de0fc700cc05e2467bbc4b">00059</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a>;
<a name="l00060"></a><a class="code" href="structapr__memcache__server__t.html">00060</a> <span class="keyword">struct </span><a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a>
<a name="l00061"></a>00061 {
<a name="l00062"></a><a class="code" href="structapr__memcache__server__t.html#a3f0cbe5cde09d28791f8a8950258b305">00062</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__memcache__server__t.html#a3f0cbe5cde09d28791f8a8950258b305">host</a>; 
<a name="l00063"></a><a class="code" href="structapr__memcache__server__t.html#aade2ee234b229b6711a80fe2a3de853b">00063</a>     apr_port_t <a class="code" href="structapr__memcache__server__t.html#aade2ee234b229b6711a80fe2a3de853b">port</a>; 
<a name="l00064"></a><a class="code" href="structapr__memcache__server__t.html#a641c9cd95499a998ba2717ec5f03b174">00064</a>     <a class="code" href="group___a_p_r___util___m_c.html#ga3b18c7c3f0ecabb930b78aa549c2e2e8">apr_memcache_server_status_t</a> <a class="code" href="structapr__memcache__server__t.html#a641c9cd95499a998ba2717ec5f03b174">status</a>; 
<a name="l00065"></a>00065 <span class="preprocessor">#if APR_HAS_THREADS || defined(DOXYGEN)</span>
<a name="l00066"></a><a class="code" href="structapr__memcache__server__t.html#a49f27525b9dd7de3dfb15dba3b86bd05">00066</a> <span class="preprocessor"></span>    <a class="code" href="group___a_p_r___util___r_l.html#ga670f6719dfeffe1037e063eaab7b82ac">apr_reslist_t</a> *<a class="code" href="structapr__memcache__server__t.html#a49f27525b9dd7de3dfb15dba3b86bd05">conns</a>; 
<a name="l00067"></a>00067 <span class="preprocessor">#else</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>    <a class="code" href="group___a_p_r___util___m_c.html#gac4fabf6e3b3efb959eca48f473b73825">apr_memcache_conn_t</a> *conn;
<a name="l00069"></a>00069 <span class="preprocessor">#endif</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span>    apr_pool_t *p; 
<a name="l00071"></a>00071 <span class="preprocessor">#if APR_HAS_THREADS</span>
<a name="l00072"></a><a class="code" href="structapr__memcache__server__t.html#aab472a87e5f0abe993e565a8e3a72490">00072</a> <span class="preprocessor"></span>    apr_thread_mutex_t *<a class="code" href="structapr__memcache__server__t.html#aab472a87e5f0abe993e565a8e3a72490">lock</a>;
<a name="l00073"></a>00073 <span class="preprocessor">#endif</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span>    apr_time_t btime;
<a name="l00075"></a>00075 };
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 <span class="comment">/* Custom hash callback function prototype, user for server selection.</span>
<a name="l00078"></a>00078 <span class="comment">* @param baton user selected baton</span>
<a name="l00079"></a>00079 <span class="comment">* @param data data to hash</span>
<a name="l00080"></a>00080 <span class="comment">* @param data_len length of data</span>
<a name="l00081"></a>00081 <span class="comment">*/</span>
<a name="l00082"></a>00082 <span class="keyword">typedef</span> apr_uint32_t (*apr_memcache_hash_func)(<span class="keywordtype">void</span> *baton,
<a name="l00083"></a>00083                                                <span class="keyword">const</span> <span class="keywordtype">char</span> *data,
<a name="l00084"></a>00084                                                <span class="keyword">const</span> apr_size_t data_len);
<a name="l00085"></a>00085 
<a name="l00086"></a>00086 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> <a class="code" href="structapr__memcache__t.html">apr_memcache_t</a>;
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <span class="comment">/* Custom Server Select callback function prototype.</span>
<a name="l00089"></a>00089 <span class="comment">* @param baton user selected baton</span>
<a name="l00090"></a>00090 <span class="comment">* @param mc memcache instance, use mc-&gt;live_servers to select a node</span>
<a name="l00091"></a>00091 <span class="comment">* @param hash hash of the selected key.</span>
<a name="l00092"></a>00092 <span class="comment">*/</span>
<a name="l00093"></a>00093 <span class="keyword">typedef</span> <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a>* (*apr_memcache_server_func)(<span class="keywordtype">void</span> *baton,
<a name="l00094"></a>00094                                                  <a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00095"></a>00095                                                  <span class="keyword">const</span> apr_uint32_t hash);
<a name="l00096"></a>00096 
<a name="l00098"></a><a class="code" href="structapr__memcache__t.html">00098</a> <span class="keyword">struct </span><a class="code" href="structapr__memcache__t.html">apr_memcache_t</a>
<a name="l00099"></a>00099 {
<a name="l00100"></a><a class="code" href="structapr__memcache__t.html#aeb0639bc75fd5bc7561ab88f671f75d3">00100</a>     apr_uint32_t <a class="code" href="structapr__memcache__t.html#aeb0639bc75fd5bc7561ab88f671f75d3">flags</a>; 
<a name="l00101"></a><a class="code" href="structapr__memcache__t.html#a95d15cfa5b291700cd9a697687eeac73">00101</a>     apr_uint16_t <a class="code" href="structapr__memcache__t.html#a95d15cfa5b291700cd9a697687eeac73">nalloc</a>; 
<a name="l00102"></a><a class="code" href="structapr__memcache__t.html#a94e1353d23d4d02a18a9f0ca0e90005d">00102</a>     apr_uint16_t <a class="code" href="structapr__memcache__t.html#a94e1353d23d4d02a18a9f0ca0e90005d">ntotal</a>; 
<a name="l00103"></a><a class="code" href="structapr__memcache__t.html#a85f916183d0aae6aaa88251edc7a1f81">00103</a>     <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> **<a class="code" href="structapr__memcache__t.html#a85f916183d0aae6aaa88251edc7a1f81">live_servers</a>; 
<a name="l00104"></a>00104     apr_pool_t *p; 
<a name="l00105"></a><a class="code" href="structapr__memcache__t.html#a26614ee9cfdc014d7e5ea46df253193a">00105</a>     <span class="keywordtype">void</span> *<a class="code" href="structapr__memcache__t.html#a26614ee9cfdc014d7e5ea46df253193a">hash_baton</a>;
<a name="l00106"></a>00106     apr_memcache_hash_func hash_func;
<a name="l00107"></a>00107     <span class="keywordtype">void</span> *server_baton;
<a name="l00108"></a>00108     apr_memcache_server_func server_func;
<a name="l00109"></a>00109 };
<a name="l00110"></a>00110 
<a name="l00112"></a><a class="code" href="structapr__memcache__value__t.html">00112</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00113"></a>00113 {
<a name="l00114"></a>00114     apr_status_t status;
<a name="l00115"></a>00115     <span class="keyword">const</span> <span class="keywordtype">char</span>* key;
<a name="l00116"></a>00116     apr_size_t len;
<a name="l00117"></a>00117     <span class="keywordtype">char</span> *data;
<a name="l00118"></a>00118     apr_uint16_t flags;
<a name="l00119"></a>00119 } <a class="code" href="structapr__memcache__value__t.html">apr_memcache_value_t</a>;
<a name="l00120"></a>00120 
<a name="l00129"></a>00129 APU_DECLARE(apr_uint32_t) <a class="code" href="group___a_p_r___util___m_c.html#ga945a83f7f56800b18243ec5933c16593">apr_memcache_hash</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00130"></a>00130                                             const <span class="keywordtype">char</span> *data,
<a name="l00131"></a>00131                                             const apr_size_t data_len);
<a name="l00132"></a>00132 
<a name="l00136"></a>00136 APU_DECLARE(apr_uint32_t) <a class="code" href="group___a_p_r___util___m_c.html#ga103ab58d59ca8e4668d31631ee0d3222">apr_memcache_hash_crc32</a>(<span class="keywordtype">void</span> *baton,
<a name="l00137"></a>00137                                                   const <span class="keywordtype">char</span> *data,
<a name="l00138"></a>00138                                                   const apr_size_t data_len);
<a name="l00139"></a>00139 
<a name="l00143"></a>00143 APU_DECLARE(apr_uint32_t) <a class="code" href="group___a_p_r___util___m_c.html#ga6e2fa2e270332d2cdb44abf775f8022e">apr_memcache_hash_default</a>(<span class="keywordtype">void</span> *baton,
<a name="l00144"></a>00144                                                     const <span class="keywordtype">char</span> *data,
<a name="l00145"></a>00145                                                     const apr_size_t data_len);
<a name="l00146"></a>00146 
<a name="l00154"></a>00154 APU_DECLARE(<a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *) <a class="code" href="group___a_p_r___util___m_c.html#ga22fe48405f08eaded915f5205d9fc221">apr_memcache_find_server_hash</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00155"></a>00155                                                                    const apr_uint32_t hash);
<a name="l00156"></a>00156 
<a name="l00160"></a>00160 APU_DECLARE(<a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *) <a class="code" href="group___a_p_r___util___m_c.html#ga0c1f483d299b083e0c06e9ec1c9eb316">apr_memcache_find_server_hash_default</a>(<span class="keywordtype">void</span> *baton,
<a name="l00161"></a>00161                                                                            <a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc, 
<a name="l00162"></a>00162                                                                            const apr_uint32_t hash);
<a name="l00163"></a>00163 
<a name="l00172"></a>00172 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga9d6381d9d9f8f83f4fa5450cc8066590">apr_memcache_add_server</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00173"></a>00173                                                   <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *server);
<a name="l00174"></a>00174 
<a name="l00175"></a>00175 
<a name="l00183"></a>00183 APU_DECLARE(<a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *) <a class="code" href="group___a_p_r___util___m_c.html#ga76b77e042ced1bae3b23f71696482a7e">apr_memcache_find_server</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00184"></a>00184                                                               const <span class="keywordtype">char</span> *host,
<a name="l00185"></a>00185                                                               apr_port_t port);
<a name="l00186"></a>00186 
<a name="l00192"></a>00192 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#gafe4824659cbe261409b57a48d85c34e3">apr_memcache_enable_server</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00193"></a>00193                                                      <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *ms);
<a name="l00194"></a>00194 
<a name="l00195"></a>00195 
<a name="l00201"></a>00201 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#gae8a982e8794a08a78264ec3a966797fc">apr_memcache_disable_server</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00202"></a>00202                                                       <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *ms);
<a name="l00203"></a>00203 
<a name="l00217"></a>00217 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga18ddd72bc1ab5edb0a08a8f26f193bd3">apr_memcache_server_create</a>(apr_pool_t *p,
<a name="l00218"></a>00218                                                      const <span class="keywordtype">char</span> *host,
<a name="l00219"></a>00219                                                      apr_port_t port,
<a name="l00220"></a>00220                                                      apr_uint32_t min,
<a name="l00221"></a>00221                                                      apr_uint32_t smax,
<a name="l00222"></a>00222                                                      apr_uint32_t max,
<a name="l00223"></a>00223                                                      apr_uint32_t ttl,
<a name="l00224"></a>00224                                                      <a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> **ns);
<a name="l00232"></a>00232 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga5a510d8ac3f5bf12cf2da1a445f4854b">apr_memcache_create</a>(apr_pool_t *p,
<a name="l00233"></a>00233                                               apr_uint16_t max_servers,
<a name="l00234"></a>00234                                               apr_uint32_t flags,
<a name="l00235"></a>00235                                               <a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> **mc);
<a name="l00236"></a>00236 
<a name="l00247"></a>00247 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#gac41597ff979e7a181da459398196196f">apr_memcache_getp</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc, 
<a name="l00248"></a>00248                                             apr_pool_t *p,
<a name="l00249"></a>00249                                             const <span class="keywordtype">char</span>* key,
<a name="l00250"></a>00250                                             <span class="keywordtype">char</span> **baton,
<a name="l00251"></a>00251                                             apr_size_t *len,
<a name="l00252"></a>00252                                             apr_uint16_t *flags);
<a name="l00253"></a>00253 
<a name="l00254"></a>00254 
<a name="l00263"></a>00263 APU_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="group___a_p_r___util___m_c.html#gac94d47eedb9baebe823b2e5eeed54157">apr_memcache_add_multget_key</a>(apr_pool_t *data_pool,
<a name="l00264"></a>00264                                                const <span class="keywordtype">char</span>* key,
<a name="l00265"></a>00265                                                apr_hash_t **values);
<a name="l00266"></a>00266 
<a name="l00277"></a>00277 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga4a5beadb98954331896e95c35324b0fc">apr_memcache_multgetp</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00278"></a>00278                                                 apr_pool_t *temp_pool,
<a name="l00279"></a>00279                                                 apr_pool_t *data_pool,
<a name="l00280"></a>00280                                                 apr_hash_t *values);
<a name="l00281"></a>00281 
<a name="l00291"></a>00291 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#gaa5bbe2c60302a689773d6a70da8f99fb">apr_memcache_set</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00292"></a>00292                                            const <span class="keywordtype">char</span> *key,
<a name="l00293"></a>00293                                            <span class="keywordtype">char</span> *baton,
<a name="l00294"></a>00294                                            const apr_size_t data_size,
<a name="l00295"></a>00295                                            apr_uint32_t timeout,
<a name="l00296"></a>00296                                            apr_uint16_t flags);
<a name="l00297"></a>00297 
<a name="l00309"></a>00309 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga3c150706f243bf2b9cd89152d416ee56">apr_memcache_add</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00310"></a>00310                                            const <span class="keywordtype">char</span> *key,
<a name="l00311"></a>00311                                            <span class="keywordtype">char</span> *baton,
<a name="l00312"></a>00312                                            const apr_size_t data_size,
<a name="l00313"></a>00313                                            apr_uint32_t timeout,
<a name="l00314"></a>00314                                            apr_uint16_t flags);
<a name="l00315"></a>00315 
<a name="l00327"></a>00327 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga0f7b9fdb5d7a0a1feb5642d7778e268d">apr_memcache_replace</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00328"></a>00328                                                const <span class="keywordtype">char</span> *key,
<a name="l00329"></a>00329                                                <span class="keywordtype">char</span> *baton,
<a name="l00330"></a>00330                                                const apr_size_t data_size,
<a name="l00331"></a>00331                                                apr_uint32_t timeout,
<a name="l00332"></a>00332                                                apr_uint16_t flags);
<a name="l00339"></a>00339 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga97d2c5be42ef773ba82fd8293b219ece">apr_memcache_delete</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc,
<a name="l00340"></a>00340                                               const <span class="keywordtype">char</span> *key,
<a name="l00341"></a>00341                                               apr_uint32_t timeout);
<a name="l00342"></a>00342 
<a name="l00350"></a>00350 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga2cfc95fe963f2d4190996153a2ddb748">apr_memcache_incr</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc, 
<a name="l00351"></a>00351                                             const <span class="keywordtype">char</span> *key,
<a name="l00352"></a>00352                                             apr_int32_t n,
<a name="l00353"></a>00353                                             apr_uint32_t *nv);
<a name="l00354"></a>00354 
<a name="l00362"></a>00362 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#gacf93837a1fd4c3d230644098f3043a39">apr_memcache_decr</a>(<a class="code" href="structapr__memcache__t.html">apr_memcache_t</a> *mc, 
<a name="l00363"></a>00363                                             const <span class="keywordtype">char</span> *key,
<a name="l00364"></a>00364                                             apr_int32_t n,
<a name="l00365"></a>00365                                             apr_uint32_t *new_value);
<a name="l00366"></a>00366 
<a name="l00374"></a>00374 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#ga1d1b9478138b907eb9c10576cb1653ff">apr_memcache_version</a>(<a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *ms,
<a name="l00375"></a>00375                                                apr_pool_t *p,
<a name="l00376"></a>00376                                                <span class="keywordtype">char</span> **baton);
<a name="l00377"></a>00377 
<a name="l00378"></a><a class="code" href="structapr__memcache__stats__t.html">00378</a> typedef struct
<a name="l00379"></a>00379 {
<a name="l00381"></a><a class="code" href="structapr__memcache__stats__t.html#a5fa17a72064c6b5ae0624f5945fceea7">00381</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *version;
<a name="l00383"></a><a class="code" href="structapr__memcache__stats__t.html#a8ed498f4a6cbfb55312b8b67ce2689d3">00383</a>     apr_uint32_t pid;
<a name="l00385"></a><a class="code" href="structapr__memcache__stats__t.html#aec6db8440a51aabfbfaf2130ec5a78bb">00385</a>     apr_uint32_t uptime;
<a name="l00387"></a><a class="code" href="structapr__memcache__stats__t.html#adc02da0e6bfc619cd7eaebfae94404ff">00387</a>     apr_time_t time;
<a name="l00389"></a><a class="code" href="structapr__memcache__stats__t.html#a01bd7ed7ba82b7a7bf03f9de468fcc2e">00389</a>     apr_uint32_t pointer_size;
<a name="l00391"></a><a class="code" href="structapr__memcache__stats__t.html#a4e43e96550407edd29e81ba59706c5b5">00391</a>     apr_time_t rusage_user;
<a name="l00393"></a><a class="code" href="structapr__memcache__stats__t.html#a2eff9899b9cb4ee704fae93af4c5bf76">00393</a>     apr_time_t rusage_system;
<a name="l00395"></a><a class="code" href="structapr__memcache__stats__t.html#abe0f28297441a55d30a6c7c8e0faaea3">00395</a>     apr_uint32_t curr_items;
<a name="l00397"></a><a class="code" href="structapr__memcache__stats__t.html#a298fd199bee38cd658d54f6099e9fb58">00397</a>     apr_uint32_t total_items;
<a name="l00399"></a><a class="code" href="structapr__memcache__stats__t.html#a327ed9d43d6df23337101eda379a7870">00399</a>     apr_uint64_t bytes;
<a name="l00401"></a><a class="code" href="structapr__memcache__stats__t.html#a1db1876674d978f4f70ae465a060bfc2">00401</a>     apr_uint32_t curr_connections;
<a name="l00403"></a><a class="code" href="structapr__memcache__stats__t.html#a47413a65552fa02fcc8adb74b3d0b8c0">00403</a>     apr_uint32_t total_connections;
<a name="l00405"></a><a class="code" href="structapr__memcache__stats__t.html#ac155c7a510e94b3cd43aea90a05e3cd3">00405</a>     apr_uint32_t connection_structures;
<a name="l00407"></a><a class="code" href="structapr__memcache__stats__t.html#abd9b0fa7bf554436883c8b6a2a89c2a8">00407</a>     apr_uint32_t cmd_get;
<a name="l00409"></a><a class="code" href="structapr__memcache__stats__t.html#a4930557b41d879b1b4767862c1693f95">00409</a>     apr_uint32_t cmd_set;
<a name="l00411"></a><a class="code" href="structapr__memcache__stats__t.html#a6d3b60bc77c024259a2e9dfb1e35bfd7">00411</a>     apr_uint32_t get_hits;
<a name="l00413"></a><a class="code" href="structapr__memcache__stats__t.html#affaa2901db1db585fca3cfa77fcb0230">00413</a>     apr_uint32_t get_misses;
<a name="l00416"></a><a class="code" href="structapr__memcache__stats__t.html#ad430486ea11c0e5f7b70c9c2b95a216c">00416</a>     apr_uint64_t evictions;
<a name="l00418"></a><a class="code" href="structapr__memcache__stats__t.html#acf5d7892543403de8a48e9276d94b5af">00418</a>     apr_uint64_t bytes_read;
<a name="l00420"></a><a class="code" href="structapr__memcache__stats__t.html#a05f5b9a19c330460fe66b79746989094">00420</a>     apr_uint64_t bytes_written;
<a name="l00422"></a><a class="code" href="structapr__memcache__stats__t.html#afbfa184ab0898d4a897a629c935783b8">00422</a>     apr_uint32_t limit_maxbytes;
<a name="l00424"></a><a class="code" href="structapr__memcache__stats__t.html#a4e2a4875902e032a56de9ac58315f372">00424</a>     apr_uint32_t threads; 
<a name="l00425"></a>00425 } <a class="code" href="structapr__memcache__stats__t.html">apr_memcache_stats_t</a>;
<a name="l00426"></a>00426 
<a name="l00433"></a>00433 APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_c.html#gad81ba4ef97f7dd64e37a0fbb09677859">apr_memcache_stats</a>(<a class="code" href="structapr__memcache__server__t.html">apr_memcache_server_t</a> *ms, 
<a name="l00434"></a>00434                                              apr_pool_t *p,
<a name="l00435"></a>00435                                              <a class="code" href="structapr__memcache__stats__t.html">apr_memcache_stats_t</a> **stats);
<a name="l00436"></a>00436 
<a name="l00437"></a>00437 
<a name="l00440"></a>00440 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00441"></a>00441 <span class="preprocessor"></span>}
<a name="l00442"></a>00442 <span class="preprocessor">#endif</span>
<a name="l00443"></a>00443 <span class="preprocessor"></span>
<a name="l00444"></a>00444 <span class="preprocessor">#endif </span><span class="comment">/* APR_MEMCACHE_H */</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

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

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