*/
limit_to_mtu= c->udp;
+#ifdef IOV_MAX
/* We may need to start a new msghdr if this one is full. */
if ((m->msg_iovlen == IOV_MAX)
|| (limit_to_mtu && (c->msgbytes >= UDP_MAX_SEND_PAYLOAD_SIZE)))
ms_add_msghdr(c);
m= &c->msglist[c->msgused - 1];
}
+#endif
if (ms_ensure_iov_space(c) != 0)
return -1;
('memcached_create', 'memcached_servers_reset', u'libmemcached Documentation', [u'Brian Aker'], 3),
('memcached_delete', 'memcached_delete', u'libmemcached Documentation', [u'Brian Aker'], 3),
('memcached_delete', 'memcached_delete_by_key', u'libmemcached Documentation', [u'Brian Aker'], 3),
+ ('libmemcached-1.0/memcached_touch', 'memcached_touch', u'libmemcached Documentation', [u'Brian Aker'], 3),
+ ('libmemcached-1.0/memcached_touch', 'memcached_touch_by_key', u'libmemcached Documentation', [u'Brian Aker'], 3),
('libmemcached/memcached_exist', 'memcached_exist', u'libmemcached Documentation', [u'Brian Aker'], 3),
('libmemcached/memcached_exist', 'memcached_exist_by_key', u'libmemcached Documentation', [u'Brian Aker'], 3),
('memcached_dump', 'memcached_dump', u'libmemcached Documentation', [u'Brian Aker'], 3),
docs/man/memcached_decrement_with_initial.3 \
docs/man/memcached_delete.3 \
docs/man/memcached_delete_by_key.3 \
- docs/man/memcached_exist.3 \
- docs/man/memcached_exist_by_key.3 \
+ docs/man/libmemcached_check_configuration.3 \
+ docs/man/libmemcached_configuration.3 \
+ docs/man/memcached.3 \
docs/man/memcached_destroy_sasl_auth_data.3 \
docs/man/memcached_dump.3 \
+ docs/man/memcached_exist.3 \
+ docs/man/memcached_exist_by_key.3 \
docs/man/memcached_fetch.3 \
docs/man/memcached_fetch_execute.3 \
docs/man/memcached_fetch_result.3 \
docs/man/memcached_flush_buffers.3 \
docs/man/memcached_free.3 \
docs/man/memcached_generate_hash.3 \
- docs/man/libmemcached_check_configuration.3 \
- docs/man/libmemcached_configuration.3 \
- docs/man/memcached.3 \
docs/man/memcached_generate_hash_value.3 \
docs/man/memcached_get.3 \
docs/man/memcached_get_by_key.3 \
docs/man/memcached_quit.3 \
docs/man/memcached_replace.3 \
docs/man/memcached_replace_by_key.3 \
+ docs/man/memcached_last_error_message.3 \
docs/man/memcached_sasl_set_auth_data.3 \
docs/man/memcached_server_add.3 \
docs/man/memcached_server_count.3 \
docs/man/memcached_server_push.3 \
docs/man/memcached_servers_parse.3 \
docs/man/memcached_set.3 \
- docs/man/memcached_last_error_message.3 \
docs/man/memcached_set_by_key.3 \
docs/man/memcached_set_memory_allocators.3 \
docs/man/memcached_set_sasl_callbacks.3 \
docs/man/memcached_stat_get_value.3 \
docs/man/memcached_stat_servername.3 \
docs/man/memcached_strerror.3 \
+ docs/man/memcached_touch.3 \
+ docs/man/memcached_touch_by_key.3 \
docs/man/memcached_verbosity.3 \
docs/man/memcached_version.3 \
docs/man/memcapable.1 \
memcached_verbosity
memcached_version
+##################
+Interface Versions
+##################
+
+.. toctree::
+ :titlesonly:
+
+ libmemcached-1.0/index
+ libmemcached-1.1/index
####################
Deprecated Functions
--- /dev/null
+====================
+libmemcached 1.0 API
+====================
+
+
+.. toctree::
+ :titlesonly:
+
+ memcached_touch
--- /dev/null
+===========================================
+memcached_touch(), memcached_touch_by_key()
+===========================================
+
+.. index:: object: memcached_st
+
+--------
+SYNOPSIS
+--------
+
+
+#include <libmemcached/memcached.h>
+
+.. c:function:: memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+
+.. c:function:: memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+
+Compile and link with -lmemcached
+
+-----------
+DESCRIPTION
+-----------
+
+
+:c:func:`memcached_touch()` is used to update the expiration time on an existing key.
+:c:func:`memcached_touch_by_key()` works the same, but it takes a master key
+to find the given value.
+
+
+------
+RETURN
+------
+
+
+A value of type :c:type:`memcached_return_t` is returned
+On success that value will be :c:type:`MEMCACHED_SUCCESS`.
+Use :c:func:`memcached_strerror()` to translate this value to a printable
+string.
+
+----
+HOME
+----
+
+To find out more information please check:
+`http://libmemcached.org/ <http://libmemcached.org/>`_
+
+
+------
+AUTHOR
+------
+
+
+Brian Aker, <brian@tangent.org>
+
+
+--------
+SEE ALSO
+--------
+
+:manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`
+
--- /dev/null
+====================
+libmemcached 1.1 API
+====================
+
+The 1.1 is still being finalized. It will be the 1.0 API minus deprecated functions.
-.TH "HASHKIT_CLONE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_CLONE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_clone \- libhashkit Documentation
.
-.TH "HASHKIT_CRC32" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_CRC32" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_crc32 \- libhashkit Documentation
.
-.TH "HASHKIT_CREATE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_CREATE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_create \- libhashkit Documentation
.
-.TH "HASHKIT_FNV1_32" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_FNV1_32" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_fnv1_32 \- libhashkit Documentation
.
-.TH "HASHKIT_FNV1_64" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_FNV1_64" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_fnv1_64 \- libhashkit Documentation
.
-.TH "HASHKIT_FNV1A_32" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_FNV1A_32" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_fnv1a_32 \- libhashkit Documentation
.
-.TH "HASHKIT_FNV1A_64" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_FNV1A_64" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_fnv1a_64 \- libhashkit Documentation
.
-.TH "HASHKIT_FREE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_FREE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_free \- libhashkit Documentation
.
-.TH "HASHKIT_FUNCTIONS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_FUNCTIONS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_functions \- libhashkit Documentation
.
-.TH "HASHKIT_HSIEH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_HSIEH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_hsieh \- libhashkit Documentation
.
-.TH "HASHKIT_IS_ALLOCATED" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_IS_ALLOCATED" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_is_allocated \- libhashkit Documentation
.
-.TH "HASHKIT_JENKINS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_JENKINS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_jenkins \- libhashkit Documentation
.
-.TH "HASHKIT_MD5" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_MD5" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_md5 \- libhashkit Documentation
.
-.TH "HASHKIT_MURMUR" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_MURMUR" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_murmur \- libhashkit Documentation
.
-.TH "HASHKIT_VALUE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "HASHKIT_VALUE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
hashkit_value \- libhashkit Documentation
.
-.TH "LIBHASHKIT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "LIBHASHKIT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
libhashkit \- libhashkit Documentation
.
-.TH "LIBMEMCACHED" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "LIBMEMCACHED" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
libmemcached \- Introducing the C Client Library for memcached
.
.ce 0
.sp
.sp
-libMemcached is an open source C/C++ client library and tools for the memcached server (\fI\%http://danga.com/memcached\fP). It has been designed to be light on memory usage, thread safe, and provide full access to server side methods.
+libMemcached is an open source C/C++ client library and tools for the memcached server (\fI\%http://memcached.org/\fP). It has been designed to be light on memory usage, thread safe, and provide full access to server side methods.
.sp
libMemcached was designed to provide the greatest number of options to use Memcached. Some of the features provided:
.INDENT 0.0
.sp
"Memcached is a high\-performance, distributed memory object caching
system, generic in nature, but intended for use in speeding up dynamic web
-applications by alleviating database load." \fI\%http://danga.com/memcached/\fP
+applications by alleviating database load." \fI\%http://memcached.org/\fP
.sp
\fBlibmemcached\fP is a small, thread\-safe client library for the
memcached protocol. The code has all been written to allow
-.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
libmemcached_check_configuration \- libmemcached Documentation
.
-.TH "LIBMEMCACHED_CONFIGURATION" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "LIBMEMCACHED_CONFIGURATION" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
libmemcached_configuration \- libmemcached Documentation
.
-.TH "LIBMEMCACHED_EXAMPLES" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "LIBMEMCACHED_EXAMPLES" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
libmemcached_examples \- libmemcached Documentation
.
-.TH "LIBMEMCACHEDUTIL" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "LIBMEMCACHEDUTIL" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
libmemcachedutil \- libmemcached Documentation
.
-.TH "MEMASLAP" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMASLAP" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memaslap \- libmemcached Documentation
.
-.TH "MEMCACHED" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached \- libmemcached Documentation
.
-.TH "MEMCACHED_ADD" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_ADD" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_add \- Storing and Replacing Data
.
-.TH "MEMCACHED_ADD_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_ADD_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_add_by_key \- Storing and Replacing Data
.
-.TH "MEMCACHED_ANALYZE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_ANALYZE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_analyze \- libmemcached Documentation
.
-.TH "MEMCACHED_APPEND" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_APPEND" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_append \- Appending to or Prepending to data on the server
.
-.TH "MEMCACHED_APPEND_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_APPEND_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_append_by_key \- Appending to or Prepending to data on the server
.
-.TH "MEMCACHED_AUTO" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_AUTO" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_auto \- Incrementing and Decrementing Values
.
-.TH "MEMCACHED_BEHAVIOR" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_behavior \- libmemcached Documentation
.
-.TH "MEMCACHED_BEHAVIOR_GET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_GET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_behavior_get \- libmemcached Documentation
.
-.TH "MEMCACHED_BEHAVIOR_SET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_SET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_behavior_set \- libmemcached Documentation
.
-.TH "MEMCACHED_CALLBACK" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CALLBACK" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_callback \- libmemcached Documentation
.
-.TH "MEMCACHED_CALLBACK_GET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CALLBACK_GET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_callback_get \- libmemcached Documentation
.
-.TH "MEMCACHED_CALLBACK_SET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CALLBACK_SET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_callback_set \- libmemcached Documentation
.
-.TH "MEMCACHED_CAS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CAS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_cas \- Working with data on the server in an atomic fashion
.
-.TH "MEMCACHED_CAS_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CAS_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_cas_by_key \- Storing and Replacing Data
.
-.TH "MEMCACHED_CLONE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CLONE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_clone \- libmemcached Documentation
.
-.TH "MEMCACHED_CREATE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_CREATE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_create \- libmemcached Documentation
.
-.TH "MEMCACHED_DECREMENT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_DECREMENT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_decrement \- Incrementing and Decrementing Values
.
-.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_decrement_with_initial \- Incrementing and Decrementing Values
.
-.TH "MEMCACHED_DELETE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_DELETE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_delete \- libmemcached Documentation
.
-.TH "MEMCACHED_DELETE_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_DELETE_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_delete_by_key \- libmemcached Documentation
.
-.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_destroy_sasl_auth_data \- libmemcached Documentation
.
-.TH "MEMCACHED_DUMP" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_DUMP" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_dump \- libmemcached Documentation
.
-.TH "MEMCACHED_EXIST" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_EXIST" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_exist \- libmemcached Documentation
.
-.TH "MEMCACHED_EXIST_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_EXIST_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_exist_by_key \- libmemcached Documentation
.
-.TH "MEMCACHED_FETCH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_FETCH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_fetch \- Retrieving data from the server
.
-.TH "MEMCACHED_FETCH_EXECUTE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_FETCH_EXECUTE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_fetch_execute \- Retrieving data from the server
.
-.TH "MEMCACHED_FETCH_RESULT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_FETCH_RESULT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_fetch_result \- Retrieving data from the server
.
-.TH "MEMCACHED_FLUSH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_FLUSH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_flush \- libmemcached Documentation
.
-.TH "MEMCACHED_FLUSH_BUFFERS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_FLUSH_BUFFERS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_flush_buffers \- libmemcached Documentation
.
-.TH "MEMCACHED_FREE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_FREE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_free \- libmemcached Documentation
.
-.TH "MEMCACHED_GENERATE_HASH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_generate_hash \- Generating hash values directly
.
-.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_generate_hash_value \- Generating hash values directly
.
-.TH "MEMCACHED_GET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_get \- Retrieving data from the server
.
-.TH "MEMCACHED_GET_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GET_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_get_by_key \- Retrieving data from the server
.
-.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_get_memory_allocators \- libmemcached Documentation
.
-.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_get_sasl_callbacks \- libmemcached Documentation
.
-.TH "MEMCACHED_GET_USER_DATA" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_GET_USER_DATA" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_get_user_data \- libmemcached Documentation
.
-.TH "MEMCACHED_INCREMENT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_INCREMENT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_increment \- Incrementing and Decrementing Values
.
-.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_increment_with_initial \- Incrementing and Decrementing Values
.
-.TH "MEMCACHED_LAST_ERROR_MESSAGE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_LAST_ERROR_MESSAGE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_last_error_message \- libmemcached Documentation
.
-.TH "MEMCACHED_LIB_VERSION" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_LIB_VERSION" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_lib_version \- libmemcached Documentation
.
-.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_memory_allocators \- libmemcached Documentation
.
-.TH "MEMCACHED_MGET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_MGET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_mget \- Retrieving data from the server
.
-.TH "MEMCACHED_MGET_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_MGET_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_mget_by_key \- Retrieving data from the server
.
-.TH "MEMCACHED_MGET_EXECUTE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_mget_execute \- Retrieving data from the server
.
-.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_mget_execute_by_key \- Retrieving data from the server
.
-.TH "MEMCACHED_POOL" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_behavior_get \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_behavior_set \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_CREATE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_CREATE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_create \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_DESTROY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_DESTROY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_destroy \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_FETCH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_FETCH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_fetch \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_POP" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_POP" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_pop \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_PUSH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_PUSH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_push \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_RELEASE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_RELEASE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_release \- libmemcached Documentation
.
-.TH "MEMCACHED_POOL_ST" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_POOL_ST" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_pool_st \- libmemcached Documentation
.
-.TH "MEMCACHED_PREPEND" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_PREPEND" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_prepend \- Appending to or Prepending to data on the server
.
-.TH "MEMCACHED_PREPEND_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_PREPEND_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_prepend_by_key \- Appending to or Prepending to data on the server
.
-.TH "MEMCACHED_QUIT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_QUIT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_quit \- libmemcached Documentation
.
-.TH "MEMCACHED_REPLACE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_REPLACE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_replace \- Storing and Replacing Data
.
-.TH "MEMCACHED_REPLACE_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_REPLACE_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_replace_by_key \- Storing and Replacing Data
.
-.TH "MEMCACHED_RESULT_CAS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_CAS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_cas \- Working with result sets
.
-.TH "MEMCACHED_RESULT_CREATE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_CREATE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_create \- Working with result sets
.
-.TH "MEMCACHED_RESULT_FLAGS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_FLAGS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_flags \- Working with result sets
.
-.TH "MEMCACHED_RESULT_FREE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_FREE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_free \- Working with result sets
.
-.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_key_length \- Working with result sets
.
-.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_key_value \- Working with result sets
.
-.TH "MEMCACHED_RESULT_LENGTH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_LENGTH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_length \- Working with result sets
.
-.TH "MEMCACHED_RESULT_ST" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_ST" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_st \- Working with result sets
.
-.TH "MEMCACHED_RESULT_VALUE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RESULT_VALUE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_result_value \- Working with result sets
.
-.TH "MEMCACHED_RETURN_T" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_RETURN_T" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_return_t \- Return type values
.
-.TH "MEMCACHED_SASL" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SASL" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_sasl \- libmemcached Documentation
.
-.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_sasl_set_auth_data \- libmemcached Documentation
.
-.TH "MEMCACHED_SERVER_ADD" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_add \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_add_unix_socket \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVER_COUNT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_COUNT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_count \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVER_CURSOR" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_CURSOR" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_cursor \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVER_LIST" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_list \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_list_append \- libmemcached Documentation
.
-.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_list_count \- libmemcached Documentation
.
-.TH "MEMCACHED_SERVER_LIST_FREE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_FREE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_list_free \- libmemcached Documentation
.
-.TH "MEMCACHED_SERVER_PUSH" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_PUSH" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_push \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVER_ST" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVER_ST" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_server_st \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVERS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVERS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_servers \- libmemcached Documentation
.
.UNINDENT
.INDENT 0.0
.TP
-.B memcached_server_instance_st memcached_server_by_key(const memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
+.B memcached_server_instance_st memcached_server_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, memcached_return_t\fI\ *error\fP)
.UNINDENT
.INDENT 0.0
.TP
-.TH "MEMCACHED_SERVERS_PARSE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVERS_PARSE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_servers_parse \- libmemcached Documentation
.
-.TH "MEMCACHED_SERVERS_RESET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SERVERS_RESET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_servers_reset \- libmemcached Documentation
.
-.TH "MEMCACHED_SET" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SET" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_set \- Storing and Replacing Data
.
-.TH "MEMCACHED_SET_BY_KEY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SET_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_set_by_key \- Storing and Replacing Data
.
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_set_memory_allocators \- libmemcached Documentation
.
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_set_memory_allocators_context \- libmemcached Documentation
.
-.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_set_sasl_callbacks \- libmemcached Documentation
.
-.TH "MEMCACHED_SET_USER_DATA" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_SET_USER_DATA" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_set_user_data \- libmemcached Documentation
.
-.TH "MEMCACHED_STAT" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STAT" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_stat \- libmemcached Documentation
.
-.TH "MEMCACHED_STAT_EXECUTE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STAT_EXECUTE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_stat_execute \- libmemcached Documentation
.
-.TH "MEMCACHED_STAT_GET_KEYS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STAT_GET_KEYS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_stat_get_keys \- libmemcached Documentation
.
-.TH "MEMCACHED_STAT_GET_VALUE" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STAT_GET_VALUE" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_stat_get_value \- libmemcached Documentation
.
-.TH "MEMCACHED_STAT_SERVERNAME" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STAT_SERVERNAME" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_stat_servername \- libmemcached Documentation
.
-.TH "MEMCACHED_STATS" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STATS" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_stats \- libmemcached Documentation
.
-.TH "MEMCACHED_STRERROR" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_STRERROR" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_strerror \- libmemcached Documentation
.
--- /dev/null
+.TH "MEMCACHED_TOUCH" "3" "October 18, 2011" "1.01" "libmemcached"
+.SH NAME
+memcached_touch \- libmemcached Documentation
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" Man page generated from reStructeredText.
+.
+.SH SYNOPSIS
+.sp
+#include <libmemcached/memcached.h>
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+.UNINDENT
+.sp
+Compile and link with \-lmemcached
+.SH DESCRIPTION
+.sp
+\fBmemcached_touch()\fP is used to update the expiration time on an existing key.
+\fBmemcached_touch_by_key()\fP works the same, but it takes a master key
+to find the given value.
+.SH RETURN
+.sp
+A value of type \fBmemcached_return_t\fP is returned
+On success that value will be \fBMEMCACHED_SUCCESS\fP.
+Use \fBmemcached_strerror()\fP to translate this value to a printable
+string.
+.SH HOME
+.sp
+To find out more information please check:
+\fI\%http://libmemcached.org/\fP
+.SH AUTHOR
+.sp
+Brian Aker, <\fI\%brian@tangent.org\fP>
+.SH SEE ALSO
+.sp
+\fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
+.SH AUTHOR
+Brian Aker
+.SH COPYRIGHT
+2011, Brian Aker DataDifferential, http://datadifferential.com/
+.\" Generated by docutils manpage writer.
+.\"
+.
--- /dev/null
+.TH "MEMCACHED_TOUCH_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
+.SH NAME
+memcached_touch_by_key \- libmemcached Documentation
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" Man page generated from reStructeredText.
+.
+.SH SYNOPSIS
+.sp
+#include <libmemcached/memcached.h>
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+.UNINDENT
+.sp
+Compile and link with \-lmemcached
+.SH DESCRIPTION
+.sp
+\fBmemcached_touch()\fP is used to update the expiration time on an existing key.
+\fBmemcached_touch_by_key()\fP works the same, but it takes a master key
+to find the given value.
+.SH RETURN
+.sp
+A value of type \fBmemcached_return_t\fP is returned
+On success that value will be \fBMEMCACHED_SUCCESS\fP.
+Use \fBmemcached_strerror()\fP to translate this value to a printable
+string.
+.SH HOME
+.sp
+To find out more information please check:
+\fI\%http://libmemcached.org/\fP
+.SH AUTHOR
+.sp
+Brian Aker, <\fI\%brian@tangent.org\fP>
+.SH SEE ALSO
+.sp
+\fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
+.SH AUTHOR
+Brian Aker
+.SH COPYRIGHT
+2011, Brian Aker DataDifferential, http://datadifferential.com/
+.\" Generated by docutils manpage writer.
+.\"
+.
-.TH "MEMCACHED_USER_DATA" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_USER_DATA" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_user_data \- libmemcached Documentation
.
-.TH "MEMCACHED_VERBOSITY" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_VERBOSITY" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_verbosity \- libmemcached Documentation
.
-.TH "MEMCACHED_VERSION" "3" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCACHED_VERSION" "3" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcached_version \- libmemcached Documentation
.
-.TH "MEMCAPABLE" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCAPABLE" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcapable \- libmemcached Documentation
.
-.TH "MEMCAT" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCAT" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcat \- libmemcached Documentation
.
-.TH "MEMCP" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMCP" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memcp \- libmemcached Documentation
.
-.TH "MEMDUMP" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMDUMP" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memdump \- libmemcached Documentation
.
-.TH "MEMERROR" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMERROR" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memerror \- libmemcached Documentation
.
-.TH "MEMFLUSH" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMFLUSH" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memflush \- libmemcached Documentation
.
-.TH "MEMRM" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMRM" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memrm \- libmemcached Documentation
.
-.TH "MEMSLAP" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMSLAP" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memslap \- libmemcached Documentation
.
-.TH "MEMSTAT" "1" "September 26, 2011" "0.53" "libmemcached"
+.TH "MEMSTAT" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memstat \- libmemcached Documentation
.
-/* HashKit
- * Copyright (C) 2006-2009 Brian Aker
- * All rights reserved.
+/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
+ *
+ * HashKit library
+ *
+ * Copyright (C) 2006-2011 Data Differential, http://datadifferential.com/
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * * The names of its contributors may not be used to endorse or
+ * promote products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * Use and distribution licensed under the BSD license. See
- * the COPYING file in the parent directory for full text.
*/
#include <libhashkit/common.h>
-/* HashKit
- * Copyright (C) 2009 Brian Aker
- * All rights reserved.
+/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
+ *
+ * HashKit library
+ *
+ * Copyright (C) 2011 Data Differential, http://datadifferential.com/
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * * The names of its contributors may not be used to endorse or
+ * promote products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * Use and distribution licensed under the BSD license. See
- * the COPYING file in the parent directory for full text.
*/
+
#pragma once
#include <config.h>
libhashkit/function.cc \
libhashkit/has.cc \
libhashkit/hashkit.cc \
- libhashkit/hsieh.cc \
libhashkit/jenkins.cc \
libhashkit/ketama.cc \
libhashkit/md5.cc \
libhashkit/str_algorithm.cc \
libhashkit/strerror.cc
+if INCLUDE_HSIEH_SRC
+libhashkit_libhashkit_la_SOURCES+= libhashkit/hsieh.cc
+else
+libhashkit_libhashkit_la_SOURCES+= libhashkit/nohsieh.cc
+endif
libhashkit_libhashkit_la_CPPFLAGS= -DBUILDING_HASHKIT
--- /dev/null
+/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
+ *
+ * HashKit library
+ *
+ * Copyright (C) 2011 Data Differential, http://datadifferential.com/
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * * The names of its contributors may not be used to endorse or
+ * promote products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+#include <libhashkit/common.h>
+
+#ifdef HAVE_HSIEH_HASH
+#error "not supported"
+#else
+uint32_t hashkit_hsieh(const char *, size_t , void *)
+{
+ return 0;
+}
+#endif
--- /dev/null
+# visibility.m4 serial 3 (gettext-0.18)
+dnl Copyright (C) 2005, 2008-2010 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl Tests whether the compiler supports the command-line option
+dnl -fvisibility=hidden and the function and variable attributes
+dnl __attribute__((__visibility__("hidden"))) and
+dnl __attribute__((__visibility__("default"))).
+dnl Does *not* test for __visibility__("protected") - which has tricky
+dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
+dnl MacOS X.
+dnl Does *not* test for __visibility__("internal") - which has processor
+dnl dependent semantics.
+dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
+dnl "really only recommended for legacy code".
+dnl Set the variable CFLAG_VISIBILITY.
+dnl Defines and sets the variable HAVE_VISIBILITY.
+
+AC_DEFUN([gl_VISIBILITY],
+[
+ AC_REQUIRE([AC_PROG_CC])
+ CFLAG_VISIBILITY=
+ HAVE_VISIBILITY=0
+ if test -n "$GCC"; then
+ dnl First, check whether -Werror can be added to the command line, or
+ dnl whether it leads to an error because of some other option that the
+ dnl user has put into $CC $CFLAGS $CPPFLAGS.
+ AC_MSG_CHECKING([whether the -Werror option is usable])
+ AC_CACHE_VAL([gl_cv_cc_vis_werror], [
+ gl_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -Werror"
+ AC_TRY_COMPILE([], [],
+ [gl_cv_cc_vis_werror=yes],
+ [gl_cv_cc_vis_werror=no])
+ CFLAGS="$gl_save_CFLAGS"])
+ AC_MSG_RESULT([$gl_cv_cc_vis_werror])
+ dnl Now check whether visibility declarations are supported.
+ AC_MSG_CHECKING([for simple visibility declarations])
+ AC_CACHE_VAL([gl_cv_cc_visibility], [
+ gl_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -fvisibility=hidden"
+ dnl We use the option -Werror and a function dummyfunc, because on some
+ dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning
+ dnl "visibility attribute not supported in this configuration; ignored"
+ dnl at the first function definition in every compilation unit, and we
+ dnl don't want to use the option in this case.
+ if test $gl_cv_cc_vis_werror = yes; then
+ CFLAGS="$CFLAGS -Werror"
+ fi
+ AC_TRY_COMPILE(
+ [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
+ extern __attribute__((__visibility__("default"))) int exportedvar;
+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
+ extern __attribute__((__visibility__("default"))) int exportedfunc (void);
+ void dummyfunc (void) {}],
+ [],
+ [gl_cv_cc_visibility=yes],
+ [gl_cv_cc_visibility=no])
+ CFLAGS="$gl_save_CFLAGS"])
+ AC_MSG_RESULT([$gl_cv_cc_visibility])
+ if test $gl_cv_cc_visibility = yes; then
+ CFLAG_VISIBILITY="-fvisibility=hidden"
+ HAVE_VISIBILITY=1
+ fi
+ fi
+ AC_SUBST([CFLAG_VISIBILITY])
+ AC_SUBST([HAVE_VISIBILITY])
+ AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
+ [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
+])