4 <html class=
"writer-html5" lang=
"en" >
8 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
10 <title>libmemcached API
— libmemcached
1.0.99 documentation
</title>
14 <link rel=
"stylesheet" href=
"../_static/css/theme.css" type=
"text/css" />
15 <link rel=
"stylesheet" href=
"../_static/pygments.css" type=
"text/css" />
24 <script src="../_static/js/html5shiv.min.js"></script>
28 <script type=
"text/javascript" id=
"documentation_options" data-url_root=
"../" src=
"../_static/documentation_options.js"></script>
29 <script src=
"../_static/jquery.js"></script>
30 <script src=
"../_static/underscore.js"></script>
31 <script src=
"../_static/doctools.js"></script>
32 <script src=
"../_static/language_data.js"></script>
34 <script type=
"text/javascript" src=
"../_static/js/theme.js"></script>
37 <link rel=
"index" title=
"Index" href=
"../genindex.html" />
38 <link rel=
"search" title=
"Search" href=
"../search.html" />
39 <link rel=
"copyright" title=
"Copyright" href=
"../copyright.html" />
40 <link rel=
"next" title=
"Basics" href=
"index_basics.html" />
41 <link rel=
"prev" title=
"C/C++ Client Library for memcached" href=
"../libmemcached.html" />
44 <body class=
"wy-body-for-nav">
47 <div class=
"wy-grid-for-nav">
49 <nav data-toggle=
"wy-nav-shift" class=
"wy-nav-side">
50 <div class=
"wy-side-scroll">
51 <div class=
"wy-side-nav-search" >
55 <a href=
"../index.html" class=
"icon icon-home" alt=
"Documentation Home"> libmemcached
72 <form id=
"rtd-search-form" class=
"wy-form" action=
"../search.html" method=
"get">
73 <input type=
"text" name=
"q" placeholder=
"Search docs" />
74 <input type=
"hidden" name=
"check_keywords" value=
"yes" />
75 <input type=
"hidden" name=
"area" value=
"default" />
83 <div class=
"wy-menu wy-menu-vertical" data-spy=
"affix" role=
"navigation" aria-label=
"main navigation">
90 <p class=
"caption"><span class=
"caption-text">libmemcached
</span></p>
92 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcached.html">Introduction
</a></li>
93 <li class=
"toctree-l1 current"><a class=
"current reference internal" href=
"#">libmemcached API
</a><ul>
94 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_basics.html">Basics
</a></li>
95 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_data.html">Working with Data
</a></li>
96 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_errors.html">Messages and Errors
</a></li>
97 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_advanced.html">Advanced Topics
</a></li>
98 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_deprecated.html">Deprecated Functionality
</a></li>
101 <li class=
"toctree-l1"><a class=
"reference internal" href=
"index_misc.html">Misc
</a></li>
103 <p class=
"caption"><span class=
"caption-text">libmemcachedutil
</span></p>
105 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcachedutil.html">Introduction
</a></li>
106 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcachedutil/index.html">libmemcachedutil API
</a></li>
108 <p class=
"caption"><span class=
"caption-text">libhashkit
</span></p>
110 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libhashkit.html">Introduction
</a></li>
111 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libhashkit/index.html">libhashkit API
</a></li>
113 <p class=
"caption"><span class=
"caption-text">Client Applications
</span></p>
115 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../bin/index.html">Client Applications
</a></li>
117 <p class=
"caption"><span class=
"caption-text">Copyright
</span></p>
119 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../copyright.html">Copyright
</a></li>
129 <section data-toggle=
"wy-nav-shift" class=
"wy-nav-content-wrap">
132 <nav class=
"wy-nav-top" aria-label=
"top navigation">
134 <i data-toggle=
"wy-nav-top" class=
"fa fa-bars"></i>
135 <a href=
"../index.html">libmemcached
</a>
140 <div class=
"wy-nav-content">
142 <div class=
"rst-content">
160 <div role=
"navigation" aria-label=
"breadcrumbs navigation">
162 <ul class=
"wy-breadcrumbs">
164 <li><a href=
"../index.html" class=
"icon icon-home"></a> »</li>
166 <li>libmemcached API
</li>
169 <li class=
"wy-breadcrumbs-aside">
180 <div role=
"main" class=
"document" itemscope=
"itemscope" itemtype=
"http://schema.org/Article">
181 <div itemprop=
"articleBody">
183 <div class=
"section" id=
"libmemcached-api">
184 <h1>libmemcached API
<a class=
"headerlink" href=
"#libmemcached-api" title=
"Permalink to this headline">ΒΆ
</a></h1>
185 <div class=
"toctree-wrapper compound">
186 <p class=
"caption"><span class=
"caption-text">Basics
</span></p>
188 <li class=
"toctree-l1"><a class=
"reference internal" href=
"index_basics.html">Basics
</a><ul>
189 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_create.html">Creating and destroying a memcached_st
</a></li>
190 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_get.html">Retrieving data from the server
</a></li>
191 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_set.html">Storing data on the server
</a></li>
192 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_delete.html">Deleting data from a server
</a></li>
193 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_quit.html">Disconnecting a client from a server
</a></li>
198 <div class=
"toctree-wrapper compound">
199 <p class=
"caption"><span class=
"caption-text">Working with Data
</span></p>
201 <li class=
"toctree-l1"><a class=
"reference internal" href=
"index_data.html">Working with Data
</a><ul>
202 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_auto.html">Incrementing and Decrementing Values
</a></li>
203 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_exist.html">Determine if a keys exists
</a></li>
204 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_touch.html">Update expiration on a key
</a></li>
205 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_flush_buffers.html">Flush and send buffered commands
</a></li>
206 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_result_st.html">Working with result sets
</a></li>
207 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_append.html">Appending or Prepending Data
</a></li>
208 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_cas.html">Working with data on the server in an atomic fashion
</a></li>
213 <div class=
"toctree-wrapper compound">
214 <p class=
"caption"><span class=
"caption-text">Messages and Errors
</span></p>
216 <li class=
"toctree-l1"><a class=
"reference internal" href=
"index_errors.html">Messages and Errors
</a><ul>
217 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_return_t.html">Error Codes - memcached_return_t
</a></li>
218 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_last_error.html">Retrieving Error Codes and Messages
</a></li>
219 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_strerror.html">Converting Error Codes to Messages
</a></li>
224 <div class=
"toctree-wrapper compound">
225 <p class=
"caption"><span class=
"caption-text">Advanced Topics
</span></p>
227 <li class=
"toctree-l1"><a class=
"reference internal" href=
"index_advanced.html">Advanced Topics
</a><ul>
228 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_advanced_internals.html">Internal Behavior
</a><ul>
229 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_behavior.html">Behaviors of the library
</a></li>
230 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_callback.html">Library callbacks
</a></li>
231 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_memory_allocators.html">Use custom allocators for embedded usage
</a></li>
232 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_user_data.html">Storing custom user information in the client.
</a></li>
235 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_advanced_aeh.html">Authentication, Encryption
& Hashing
</a><ul>
236 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_set_encoding_key.html">Set encryption key
</a></li>
237 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_generate_hash_value.html">Generating hash values directly
</a></li>
238 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_sasl.html">SASL support
</a></li>
241 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_advanced_servers.html">Servers and Server Lists
</a><ul>
242 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_server_st.html">Managing lists of servers
</a></li>
243 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_servers.html">Manipulate the server information stored in memcached_st
</a></li>
246 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_advanced_daemon.html">Affecting the memcached Daemon
</a><ul>
247 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_dump.html">Dumping data from a server
</a></li>
248 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_flush.html">Wiping clean the contents of a server
</a></li>
249 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_verbosity.html">Setting the verbosity of a server
</a></li>
250 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_version.html">Getting version information about the client and server
</a></li>
253 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index_advanced_stats.html">Statistics
</a><ul>
254 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_analyze.html">Analyzing servers
</a></li>
255 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcached_stats.html">Working with statistical information from a server
</a></li>
262 <div class=
"toctree-wrapper compound">
263 <p class=
"caption"><span class=
"caption-text">Deprecated Functionality
</span></p>
265 <li class=
"toctree-l1"><a class=
"reference internal" href=
"index_deprecated.html">Deprecated Functionality
</a><ul>
266 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcached_fetch.html">memcached_fetch
</a></li>
279 <div class=
"rst-footer-buttons" role=
"navigation" aria-label=
"footer navigation">
281 <a href=
"index_basics.html" class=
"btn btn-neutral float-right" title=
"Basics" accesskey=
"n" rel=
"next">Next
<span class=
"fa fa-arrow-circle-right"></span></a>
284 <a href=
"../libmemcached.html" class=
"btn btn-neutral float-left" title=
"C/C++ Client Library for memcached" accesskey=
"p" rel=
"prev"><span class=
"fa fa-arrow-circle-left"></span> Previous
</a>
291 <div role=
"contentinfo">
295 © <a href=
"../copyright.html">Copyright
</a>
302 Built with
<a href=
"http://sphinx-doc.org/">Sphinx
</a> using a
304 <a href=
"https://github.com/rtfd/sphinx_rtd_theme">theme
</a>
306 provided by
<a href=
"https://readthedocs.org">Read the Docs
</a>.
318 <script type=
"text/javascript">
320 SphinxRtdTheme.Navigation.enable(true);