summaryrefslogtreecommitdiff
path: root/assoc_8h.html
diff options
context:
space:
mode:
Diffstat (limited to 'assoc_8h.html')
-rw-r--r--assoc_8h.html289
1 files changed, 289 insertions, 0 deletions
diff --git a/assoc_8h.html b/assoc_8h.html
new file mode 100644
index 0000000..e735279
--- /dev/null
+++ b/assoc_8h.html
@@ -0,0 +1,289 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>memcached: assoc.h File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.8 -->
+<div class="navigation" id="top">
+ <div class="tabs">
+ <ul>
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></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>File&nbsp;Members</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="contents">
+<h1>assoc.h File Reference</h1>
+<p>
+<div class="dynheader">
+This graph shows which files directly or indirectly include this file:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h__dep__incl.png" border="0" usemap="#assoc.hdep_map" alt=""></center>
+<map name="assoc.hdep_map">
+<area shape="rect" id="node3" href="memcached_8h.html" title="memcached.h" alt="" coords="591,83,708,112"><area shape="rect" id="node5" href="assoc_8c.html" title="assoc.c" alt="" coords="5,160,77,189"><area shape="rect" id="node7" href="daemon_8c.html" title="daemon.c" alt="" coords="101,160,189,189"><area shape="rect" id="node9" href="globals_8c.html" title="globals.c" alt="" coords="213,160,291,189"><area shape="rect" id="node11" href="hash_8c.html" title="hash.c" alt="" coords="315,160,379,189"><area shape="rect" id="node13" href="internal__tests_8c.html" title="internal_tests.c" alt="" coords="403,160,531,189"><area shape="rect" id="node15" href="items_8c.html" title="items.c" alt="" coords="555,160,627,189"><area shape="rect" id="node17" href="memcached_8c.html" title="memcached.c" alt="" coords="651,160,768,189"><area shape="rect" id="node19" href="sizes_8c.html" title="sizes.c" alt="" coords="792,160,859,189"><area shape="rect" id="node21" href="slabs_8c.html" title="slabs.c" alt="" coords="883,160,949,189"><area shape="rect" id="node23" href="stats_8c.html" title="stats.c" alt="" coords="973,160,1043,189"><area shape="rect" id="node25" href="thread_8c.html" title="thread.c" alt="" coords="1067,160,1144,189"><area shape="rect" id="node27" href="util_8c.html" title="util.c" alt="" coords="1168,160,1221,189"></map>
+</div>
+
+<p>
+<a href="assoc_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#f7b17ebeaafd6b04053506a27362c45d">assoc_init</a> (void)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct__stritem.html">item</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#4972dca83569e1f192b193facb64a02f">assoc_find</a> (const char *key, const size_t nkey)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#110a5dc654c262b51a77cc8716676223">assoc_insert</a> (<a class="el" href="struct__stritem.html">item</a> *<a class="el" href="struct__stritem.html">item</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#d2a245870a21e6edd5a7ad482f9dca5c">assoc_delete</a> (const char *key, const size_t nkey)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#7ac3a95f8f8402f30ff16652f8214172">do_assoc_move_next_bucket</a> (void)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#03a605f06fe9ec751ca5c8787811874c">start_assoc_maintenance_thread</a> (void)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="assoc_8h.html#133219e097a9c7b6d12cf76b7e69da97">stop_assoc_maintenance_thread</a> (void)</td></tr>
+
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="d2a245870a21e6edd5a7ad482f9dca5c"></a><!-- doxytag: member="assoc.h::assoc_delete" ref="d2a245870a21e6edd5a7ad482f9dca5c" args="(const char *key, const size_t nkey)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void assoc_delete </td>
+ <td>(</td>
+ <td class="paramtype">const char *&nbsp;</td>
+ <td class="paramname"> <em>key</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const size_t&nbsp;</td>
+ <td class="paramname"> <em>nkey</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_d2a245870a21e6edd5a7ad482f9dca5c_icgraph.png" border="0" usemap="#assoc_8h_d2a245870a21e6edd5a7ad482f9dca5c_icgraph_map" alt=""></center>
+<map name="assoc_8h_d2a245870a21e6edd5a7ad482f9dca5c_icgraph_map">
+<area shape="rect" id="node3" href="items_8h.html#8068353af89272b21fbf0bd88d34118b" title="may fail if transgresses limits" alt="" coords="165,139,285,168"><area shape="rect" id="node5" href="items_8h.html#5b94ba56566ec70ae2a1906e1b6b14ae" title="do_item_alloc" alt="" coords="573,32,685,61"><area shape="rect" id="node17" href="items_8h.html#515ef8e7f0cef67772989fd076f7dcb4" title="do_item_flush_expired" alt="" coords="335,192,505,221"><area shape="rect" id="node21" href="items_8h.html#cee9fa57d05e04e8965f3e19dc0a472c" title="wrapper around assoc_find which does the lazy expiration logic" alt="" coords="367,139,473,168"><area shape="rect" id="node26" href="items_8h.html#cd5e21c19f9875e0d6a74943f90b6cc8" title="update LRU time to current and reposition" alt="" coords="353,85,487,115"><area shape="rect" id="node32" href="thread_8c.html#256717f932dae6220d67fa02af2266bc" title="item_unlink" alt="" coords="372,245,468,275"><area shape="rect" id="node7" href="memcached_8h.html#72e74041ab741435d161a044d23d0bef" title="do_add_delta" alt="" coords="757,59,867,88"><area shape="rect" id="node11" href="memcached_8h.html#c2e150055051a36e29e8215f5bc35fca" title="do_store_item" alt="" coords="752,112,872,141"><area shape="rect" id="node15" href="thread_8c.html#d69cc14d059b72c07e1f0b550b1922c6" title="item_alloc" alt="" coords="767,5,857,35"><area shape="rect" id="node9" href="thread_8c.html#4b4951c73b23897aee5843fb7306e764" title="add_delta" alt="" coords="924,59,1012,88"><area shape="rect" id="node13" href="thread_8c.html#c97ce2cadaeb4fe6524c0df01828c232" title="store_item" alt="" coords="920,112,1016,141"><area shape="rect" id="node19" href="thread_8c.html#84097b43e7999f753c11603eff36dadc" title="item_flush_expired" alt="" coords="556,243,703,272"><area shape="rect" id="node24" href="thread_8c.html#1ff584f7053e4a5c8f2cffc7186a12aa" title="item_get" alt="" coords="588,139,671,168"><area shape="rect" id="node28" href="thread_8c.html#32cd7e1744d2214e26f0ac267403314e" title="item_replace" alt="" coords="575,85,684,115"></map>
+</div>
+
+</div>
+</div><p>
+<a class="anchor" name="4972dca83569e1f192b193facb64a02f"></a><!-- doxytag: member="assoc.h::assoc_find" ref="4972dca83569e1f192b193facb64a02f" args="(const char *key, const size_t nkey)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="struct__stritem.html">item</a>* assoc_find </td>
+ <td>(</td>
+ <td class="paramtype">const char *&nbsp;</td>
+ <td class="paramname"> <em>key</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const size_t&nbsp;</td>
+ <td class="paramname"> <em>nkey</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+<div class="dynheader">
+Here is the call graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_4972dca83569e1f192b193facb64a02f_cgraph.png" border="0" usemap="#assoc_8h_4972dca83569e1f192b193facb64a02f_cgraph_map" alt=""></center>
+<map name="assoc_8h_4972dca83569e1f192b193facb64a02f_cgraph_map">
+<area shape="rect" id="node3" href="hash_8h.html#1c12edaae63f2e86a5b276a18475f863" title="hash" alt="" coords="145,5,196,35"></map>
+</div>
+
+<p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_4972dca83569e1f192b193facb64a02f_icgraph.png" border="0" usemap="#assoc_8h_4972dca83569e1f192b193facb64a02f_icgraph_map" alt=""></center>
+<map name="assoc_8h_4972dca83569e1f192b193facb64a02f_icgraph_map">
+<area shape="rect" id="node3" href="assoc_8h.html#110a5dc654c262b51a77cc8716676223" title="assoc_insert" alt="" coords="177,96,281,125"><area shape="rect" id="node22" href="items_8h.html#cee9fa57d05e04e8965f3e19dc0a472c" title="wrapper around assoc_find which does the lazy expiration logic" alt="" coords="176,161,283,191"><area shape="rect" id="node27" href="items_8h.html#8c5a6c6bfdfe2ed3514170cc836be7a9" title="returns an item whether or not it&#39;s expired." alt="" coords="144,215,315,244"><area shape="rect" id="node5" href="items_8h.html#aac564a623aaea767ddbfd0dd07ced15" title="do_item_link" alt="" coords="363,83,467,112"><area shape="rect" id="node7" href="items_8h.html#cd5e21c19f9875e0d6a74943f90b6cc8" title="update LRU time to current and reposition" alt="" coords="515,5,648,35"><area shape="rect" id="node15" href="memcached_8h.html#c2e150055051a36e29e8215f5bc35fca" title="do_store_item" alt="" coords="856,59,976,88"><area shape="rect" id="node20" href="thread_8c.html#7fc0055d9dba8a3a14d2189e95acf844" title="item_link" alt="" coords="541,109,621,139"><area shape="rect" id="node9" href="thread_8c.html#32cd7e1744d2214e26f0ac267403314e" title="item_replace" alt="" coords="697,5,807,35"><area shape="rect" id="node11" href="memcached_8h.html#72e74041ab741435d161a044d23d0bef" title="do_add_delta" alt="" coords="861,5,971,35"><area shape="rect" id="node13" href="thread_8c.html#4b4951c73b23897aee5843fb7306e764" title="add_delta" alt="" coords="1028,5,1116,35"><area shape="rect" id="node17" href="thread_8c.html#c97ce2cadaeb4fe6524c0df01828c232" title="store_item" alt="" coords="1024,59,1120,88"><area shape="rect" id="node25" href="thread_8c.html#1ff584f7053e4a5c8f2cffc7186a12aa" title="item_get" alt="" coords="373,213,456,243"></map>
+</div>
+
+</div>
+</div><p>
+<a class="anchor" name="f7b17ebeaafd6b04053506a27362c45d"></a><!-- doxytag: member="assoc.h::assoc_init" ref="f7b17ebeaafd6b04053506a27362c45d" args="(void)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void assoc_init </td>
+ <td>(</td>
+ <td class="paramtype">void&nbsp;</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_f7b17ebeaafd6b04053506a27362c45d_icgraph.png" border="0" usemap="#assoc_8h_f7b17ebeaafd6b04053506a27362c45d_icgraph_map" alt=""></center>
+<map name="assoc_8h_f7b17ebeaafd6b04053506a27362c45d_icgraph_map">
+<area shape="rect" id="node3" href="memcached_8c.html#3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="141,5,195,35"></map>
+</div>
+
+</div>
+</div><p>
+<a class="anchor" name="110a5dc654c262b51a77cc8716676223"></a><!-- doxytag: member="assoc.h::assoc_insert" ref="110a5dc654c262b51a77cc8716676223" args="(item *item)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int assoc_insert </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="struct__stritem.html">item</a> *&nbsp;</td>
+ <td class="paramname"> <em>item</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+<div class="dynheader">
+Here is the call graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_110a5dc654c262b51a77cc8716676223_cgraph.png" border="0" usemap="#assoc_8h_110a5dc654c262b51a77cc8716676223_cgraph_map" alt=""></center>
+<map name="assoc_8h_110a5dc654c262b51a77cc8716676223_cgraph_map">
+<area shape="rect" id="node3" href="assoc_8c.html#4972dca83569e1f192b193facb64a02f" title="assoc_find" alt="" coords="160,5,251,35"><area shape="rect" id="node5" href="hash_8h.html#1c12edaae63f2e86a5b276a18475f863" title="hash" alt="" coords="300,32,351,61"></map>
+</div>
+
+<p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_110a5dc654c262b51a77cc8716676223_icgraph.png" border="0" usemap="#assoc_8h_110a5dc654c262b51a77cc8716676223_icgraph_map" alt=""></center>
+<map name="assoc_8h_110a5dc654c262b51a77cc8716676223_icgraph_map">
+<area shape="rect" id="node3" href="items_8h.html#aac564a623aaea767ddbfd0dd07ced15" title="do_item_link" alt="" coords="160,59,264,88"><area shape="rect" id="node5" href="items_8h.html#cd5e21c19f9875e0d6a74943f90b6cc8" title="update LRU time to current and reposition" alt="" coords="312,7,445,36"><area shape="rect" id="node13" href="memcached_8h.html#c2e150055051a36e29e8215f5bc35fca" title="do_store_item" alt="" coords="653,59,773,88"><area shape="rect" id="node18" href="thread_8c.html#7fc0055d9dba8a3a14d2189e95acf844" title="item_link" alt="" coords="339,111,419,140"><area shape="rect" id="node7" href="thread_8c.html#32cd7e1744d2214e26f0ac267403314e" title="item_replace" alt="" coords="495,7,604,36"><area shape="rect" id="node9" href="memcached_8h.html#72e74041ab741435d161a044d23d0bef" title="do_add_delta" alt="" coords="659,5,768,35"><area shape="rect" id="node11" href="thread_8c.html#4b4951c73b23897aee5843fb7306e764" title="add_delta" alt="" coords="825,5,913,35"><area shape="rect" id="node15" href="thread_8c.html#c97ce2cadaeb4fe6524c0df01828c232" title="store_item" alt="" coords="821,59,917,88"></map>
+</div>
+
+</div>
+</div><p>
+<a class="anchor" name="7ac3a95f8f8402f30ff16652f8214172"></a><!-- doxytag: member="assoc.h::do_assoc_move_next_bucket" ref="7ac3a95f8f8402f30ff16652f8214172" args="(void)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void do_assoc_move_next_bucket </td>
+ <td>(</td>
+ <td class="paramtype">void&nbsp;</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="03a605f06fe9ec751ca5c8787811874c"></a><!-- doxytag: member="assoc.h::start_assoc_maintenance_thread" ref="03a605f06fe9ec751ca5c8787811874c" args="(void)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int start_assoc_maintenance_thread </td>
+ <td>(</td>
+ <td class="paramtype">void&nbsp;</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_03a605f06fe9ec751ca5c8787811874c_icgraph.png" border="0" usemap="#assoc_8h_03a605f06fe9ec751ca5c8787811874c_icgraph_map" alt=""></center>
+<map name="assoc_8h_03a605f06fe9ec751ca5c8787811874c_icgraph_map">
+<area shape="rect" id="node3" href="memcached_8c.html#3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="301,5,355,35"></map>
+</div>
+
+</div>
+</div><p>
+<a class="anchor" name="133219e097a9c7b6d12cf76b7e69da97"></a><!-- doxytag: member="assoc.h::stop_assoc_maintenance_thread" ref="133219e097a9c7b6d12cf76b7e69da97" args="(void)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void stop_assoc_maintenance_thread </td>
+ <td>(</td>
+ <td class="paramtype">void&nbsp;</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dynsection">
+<p><center><img src="assoc_8h_133219e097a9c7b6d12cf76b7e69da97_icgraph.png" border="0" usemap="#assoc_8h_133219e097a9c7b6d12cf76b7e69da97_icgraph_map" alt=""></center>
+<map name="assoc_8h_133219e097a9c7b6d12cf76b7e69da97_icgraph_map">
+<area shape="rect" id="node3" href="memcached_8c.html#3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="299,5,352,35"></map>
+</div>
+
+</div>
+</div><p>
+</div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 10:12:55 2009 for memcached by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
+</body>
+</html>