Merge working tree with build tree.
authorContinuous Integration <ci@tangent.org>
Sat, 28 Apr 2012 04:24:39 +0000 (21:24 -0700)
committerContinuous Integration <ci@tangent.org>
Sat, 28 Apr 2012 04:24:39 +0000 (21:24 -0700)
164 files changed:
ChangeLog
configure.ac
docs/man/hashkit_clone.3
docs/man/hashkit_crc32.3
docs/man/hashkit_create.3
docs/man/hashkit_fnv1_32.3
docs/man/hashkit_fnv1_64.3
docs/man/hashkit_fnv1a_32.3
docs/man/hashkit_fnv1a_64.3
docs/man/hashkit_free.3
docs/man/hashkit_functions.3
docs/man/hashkit_hsieh.3
docs/man/hashkit_is_allocated.3
docs/man/hashkit_jenkins.3
docs/man/hashkit_md5.3
docs/man/hashkit_murmur.3
docs/man/hashkit_value.3
docs/man/libhashkit.3
docs/man/libmemcached.3
docs/man/libmemcached_check_configuration.3
docs/man/libmemcached_configuration.3
docs/man/libmemcached_examples.3
docs/man/libmemcachedutil.3
docs/man/memaslap.1
docs/man/memcached.3
docs/man/memcached_add.3
docs/man/memcached_add_by_key.3
docs/man/memcached_analyze.3
docs/man/memcached_append.3
docs/man/memcached_append_by_key.3
docs/man/memcached_auto.3
docs/man/memcached_behavior.3
docs/man/memcached_behavior_get.3
docs/man/memcached_behavior_set.3
docs/man/memcached_callback.3
docs/man/memcached_callback_get.3
docs/man/memcached_callback_set.3
docs/man/memcached_cas.3
docs/man/memcached_cas_by_key.3
docs/man/memcached_clone.3
docs/man/memcached_create.3
docs/man/memcached_decrement.3
docs/man/memcached_decrement_with_initial.3
docs/man/memcached_delete.3
docs/man/memcached_delete_by_key.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.3
docs/man/memcached_flush_buffers.3
docs/man/memcached_free.3
docs/man/memcached_generate_hash.3
docs/man/memcached_generate_hash_value.3
docs/man/memcached_get.3
docs/man/memcached_get_by_key.3
docs/man/memcached_get_memory_allocators.3
docs/man/memcached_get_sasl_callbacks.3
docs/man/memcached_get_user_data.3
docs/man/memcached_increment.3
docs/man/memcached_increment_with_initial.3
docs/man/memcached_last_error_message.3
docs/man/memcached_lib_version.3
docs/man/memcached_memory_allocators.3
docs/man/memcached_mget.3
docs/man/memcached_mget_by_key.3
docs/man/memcached_mget_execute.3
docs/man/memcached_mget_execute_by_key.3
docs/man/memcached_pool.3
docs/man/memcached_pool_behavior_get.3
docs/man/memcached_pool_behavior_set.3
docs/man/memcached_pool_create.3
docs/man/memcached_pool_destroy.3
docs/man/memcached_pool_fetch.3
docs/man/memcached_pool_pop.3
docs/man/memcached_pool_push.3
docs/man/memcached_pool_release.3
docs/man/memcached_pool_st.3
docs/man/memcached_prepend.3
docs/man/memcached_prepend_by_key.3
docs/man/memcached_quit.3
docs/man/memcached_replace.3
docs/man/memcached_replace_by_key.3
docs/man/memcached_result_cas.3
docs/man/memcached_result_create.3
docs/man/memcached_result_flags.3
docs/man/memcached_result_free.3
docs/man/memcached_result_key_length.3
docs/man/memcached_result_key_value.3
docs/man/memcached_result_length.3
docs/man/memcached_result_st.3
docs/man/memcached_result_value.3
docs/man/memcached_return_t.3
docs/man/memcached_sasl.3
docs/man/memcached_sasl_set_auth_data.3
docs/man/memcached_server_add.3
docs/man/memcached_server_add_unix_socket.3
docs/man/memcached_server_count.3
docs/man/memcached_server_cursor.3
docs/man/memcached_server_list.3
docs/man/memcached_server_list_append.3
docs/man/memcached_server_list_count.3
docs/man/memcached_server_list_free.3
docs/man/memcached_server_push.3
docs/man/memcached_server_st.3
docs/man/memcached_servers.3
docs/man/memcached_servers_parse.3
docs/man/memcached_servers_reset.3
docs/man/memcached_set.3
docs/man/memcached_set_by_key.3
docs/man/memcached_set_memory_allocators.3
docs/man/memcached_set_memory_allocators_context.3
docs/man/memcached_set_sasl_callbacks.3
docs/man/memcached_set_user_data.3
docs/man/memcached_stat.3
docs/man/memcached_stat_execute.3
docs/man/memcached_stat_get_keys.3
docs/man/memcached_stat_get_value.3
docs/man/memcached_stat_servername.3
docs/man/memcached_stats.3
docs/man/memcached_strerror.3
docs/man/memcached_touch.3
docs/man/memcached_touch_by_key.3
docs/man/memcached_user_data.3
docs/man/memcached_verbosity.3
docs/man/memcached_version.3
docs/man/memcapable.1
docs/man/memcat.1
docs/man/memcp.1
docs/man/memdump.1
docs/man/memerror.1
docs/man/memflush.1
docs/man/memrm.1
docs/man/memslap.1
docs/man/memstat.1
docs/memcached_behavior.rst
example/t/include.am
libmemcached-1.0/exist.h
libmemcached-1.0/struct/server.h
libmemcached/allocators.cc
libmemcached/analyze.cc
libmemcached/backtrace.cc
libmemcached/common.h
libmemcached/error.cc
libmemcached/memcached.cc
libmemcached/memcached/protocol_binary.h
libmemcached/memcached/vbucket.h
libmemcached/memory.h
libmemcached/response.cc
libmemcachedprotocol-0.0/binary.h
libmemcachedprotocol/binary_handler.c
libtest/test.h
m4/bottom.m4
memcached/include.am
memcached/memcached.c
tests/include.am
tests/libmemcached-1.0/include.am
tests/libmemcached-1.0/print.cc
tests/libmemcached-1.0/setup_and_teardowns.cc
tests/print.h
tests/runner.h

index d5b5b009f07c6bdfc83d23fe0fa9e6c26898a7a5..8fb81eb405183f588bd496d402fed01de3f70e8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.0.7
+* Add API call for exist calls.
+
 1.0.6 Sat Apr  7 18:26:49 PDT 2012
 * Fixes for gcc 4.7, lp:961812
 * Fix for restart issue that happens under testing.
index 19c54d5ceefac9486d6a13ee0c50bba57899ec8f..ac2b28b37387c123b5ff9085e95dba878ebef135 100644 (file)
@@ -122,15 +122,22 @@ AC_CHECK_FUNCS([strtoul])
 AC_CHECK_FUNCS([strtoull])
 
 AC_CHECK_HEADERS([arpa/inet.h])
+AC_CHECK_HEADERS([errno.h])
+AC_CHECK_HEADERS([execinfo.h])
 AC_CHECK_HEADERS([fcntl.h])
+AC_CHECK_HEADERS([inttypes.h])
 AC_CHECK_HEADERS([libintl.h])
 AC_CHECK_HEADERS([limits.h])
 AC_CHECK_HEADERS([malloc.h])
+AC_CHECK_HEADERS([math.h])
 AC_CHECK_HEADERS([netdb.h])
 AC_CHECK_HEADERS([netinet/in.h])
+AC_CHECK_HEADERS([pthread.h])
+AC_CHECK_HEADERS([stdarg.h])
 AC_CHECK_HEADERS([stddef.h])
+AC_CHECK_HEADERS([stdlib.h])
 AC_CHECK_HEADERS([sys/time.h])
-AC_CHECK_HEADERS([execinfo.h])
+AC_CHECK_HEADERS([unistd.h])
 AC_CHECK_HEADERS([cxxabi.h], 
                  AC_DEFINE([HAVE_CXXABI_H], [1], [Have cxxabi.h]),
                  AC_DEFINE([HAVE_CXXABI_H], [0], [Have cxxabi.h]))
index 3d37be0aa4430e44d35cb7ce7cedfe7522d4e329..49ca9bb8b6942401022ac548a5e544cec998e1e9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CLONE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_CLONE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_clone \- libhashkit Documentation
 .
index 631e19cf54303d43bf42980f4b78527d6bd6d303..5e28849f47fa7e5ffec6e21b1d8360ab37257276 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CRC32" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_CRC32" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_crc32 \- libhashkit Documentation
 .
index 86ecb849a4c7c6a1539daa48e7a55b6251abef97..d31004b58a76486667c161ce1c4fe6327bed2026 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CREATE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_CREATE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_create \- libhashkit Documentation
 .
index e5979aeb18d92efa21d853a8e14174dd030ae901..833132ef10d45a58bd20f48cb6acb817b96a60c6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1_32" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_FNV1_32" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_fnv1_32 \- libhashkit Documentation
 .
index d4f6e35fcc5c625739df66c141897c4e52b0072a..b0453381054210479d8536b7d346625d3caf8f17 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1_64" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_FNV1_64" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_fnv1_64 \- libhashkit Documentation
 .
index 7a9b425f72fe41ef5fff46a6891491c18a030894..be04fdc94af41a39257ba8caf2382407963ad8d0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1A_32" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_FNV1A_32" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_fnv1a_32 \- libhashkit Documentation
 .
index 5cb2dc91acbce9174e6c052fc97cc5d72073c9d1..9f7eef51656caa7471692b0f7a6d7634511f31b6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1A_64" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_FNV1A_64" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_fnv1a_64 \- libhashkit Documentation
 .
index edabee8689adb54f5b4d38013d4ee5dfce15fd5c..375bba2246c4dd60cac0db51264d69ccb0af4fbb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FREE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_FREE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_free \- libhashkit Documentation
 .
index 609cb0c92d7007bbe74a5c9f8c0791a04ed87266..e29ed84d208d0d17c40bfac7992b6ddfcb686095 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FUNCTIONS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_FUNCTIONS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_functions \- libhashkit Documentation
 .
index 2b758bc021ff8e96a7195b14bb392c8eaab98437..fc354cc9af85eb58d7c19946a712422ae16eb1e9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_HSIEH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_HSIEH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_hsieh \- libhashkit Documentation
 .
index 9451619d366bbcf1dacbcca5b539e66504df517f..822e1b85dc407d7544514abed9f30100118be2ac 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_IS_ALLOCATED" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_IS_ALLOCATED" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_is_allocated \- libhashkit Documentation
 .
index 73e4351abcf5da92100da4637f614007bb594a64..a21b9b16497235dced708821cb93c74549cd9c1a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_JENKINS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_JENKINS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_jenkins \- libhashkit Documentation
 .
index e81cd82d5b1cd127ba7ac8ea68fecc7d1c3b4595..29a9e49b686e84223ec96edf9c28c562be1fa1d9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_MD5" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_MD5" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_md5 \- libhashkit Documentation
 .
index 56716a06067abd7280120c3993d9155173077419..08183f946e657e94d7a28bfedfcf3b6b5f8f8cc2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_MURMUR" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_MURMUR" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_murmur \- libhashkit Documentation
 .
index 8bebc7cb1da7a61bd39cc522b819b17e6ae1f850..40bf32c2a057616382c0ddc3ddbc30649e97e53d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_VALUE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "HASHKIT_VALUE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 hashkit_value \- libhashkit Documentation
 .
index a295012cd127f73ab3f41d789536aa75127ecae1..2b3cce92dd2d94467dde7a9b11a46a779e9ad047 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBHASHKIT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "LIBHASHKIT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 libhashkit \- libhashkit Documentation
 .
index 423070d0768b8d1179573ce7a0693ab4937fd8e3..c550b7ed488b249f2b0169b499f826bac133df9a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "LIBMEMCACHED" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 libmemcached \- Introducing the C Client Library for memcached
 .
index fe60c00ed62ce443e6f867b2fa3ecffa1c319f1a..bd626e702833c26480947cd921aa2ec5459a21ee 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 libmemcached_check_configuration \- libmemcached Documentation
 .
index db95a75c53d99e53b3b64defc06763186310a95c..c151a4c01160b682b40de5596cf0b538605fb0b5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_CONFIGURATION" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "LIBMEMCACHED_CONFIGURATION" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 libmemcached_configuration \- libmemcached Documentation
 .
index 5a68bd46c9d116ca9c56b4a137c1a427591c3540..a34f984f10472d8fed32bfbcc74ffaef087931dd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_EXAMPLES" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "LIBMEMCACHED_EXAMPLES" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 libmemcached_examples \- libmemcached Documentation
 .
index 5a3c652a7a607e5941c500e3fed2eb4321e9d097..fb66ae5ac69f255235ddf0b0e95662275a9639f9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHEDUTIL" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "LIBMEMCACHEDUTIL" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 libmemcachedutil \- libmemcached Documentation
 .
index bad1f5d16466dcca88783412953d21d1761d962d..e1b8f59b856322d61be4f724b75c06709817c42d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMASLAP" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMASLAP" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memaslap \- libmemcached Documentation
 .
index 2e144f0675e33eea43ccac5ad06bf3f5e9513eec..9e77e1f86b7318bf312aab2258460ef3b6fd5af6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached \- libmemcached Documentation
 .
index 4be086dabf23607d27fcb31972586a3f974c497f..305f225104efb9445d9dfef4001cb58189465b41 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ADD" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_ADD" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_add \- Storing and Replacing Data
 .
index a4230e786a4c0b227a2e9236c61a14cd7ef629b6..6cfd97bb677dc10c397563a5f5505bfd9168712c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ADD_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_ADD_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_add_by_key \- Storing and Replacing Data
 .
index 9b72a8e0968d4e11b645fd6a271c4b0271ee4416..6947b2d205912039caff43197f96c57b8866db95 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ANALYZE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_ANALYZE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_analyze \- libmemcached Documentation
 .
index aa00f9593bfec4636547999b2e4242aff828aed9..ae3db7864f1f4724c1e16592bcc27a6fd8b02f3d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_APPEND" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_APPEND" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_append \- Appending to or Prepending to data on the server
 .
index 82df15a28d0c2064a5754067953c66740e0cf4ec..50375978a92fbe11321a49fc401eec417799dd6a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_APPEND_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_APPEND_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_append_by_key \- Appending to or Prepending to data on the server
 .
index 90a074ea9e9961ae1cc72e53bf4117b11caa59b4..899f2beeab86315e0f5ce9d615f2ee7f39ed6107 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_AUTO" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_AUTO" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_auto \- Incrementing and Decrementing Values
 .
index 546b0696f067f148aa96ae18bb2fddc47ab378b9..16fd9c8c8234268fc402bac4ae72d6a48f544e20 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_behavior \- libmemcached Documentation
 .
@@ -181,7 +181,7 @@ Sets the compatibility mode. The value can be set to either MEMCACHED_KETAMA_COM
 .B MEMCACHED_BEHAVIOR_POLL_TIMEOUT
 .UNINDENT
 .sp
-Modify the timeout value that is used by poll. The default value is \-1. An signed int pointer must be passed to memcached_behavior_set to change this value. For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
+Modify the timeout value that is used by poll. The default value is \-1. An signed int must be passed to memcached_behavior_set to change this value (this requires casting). For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USER_DATA
index 9779c62a620b6ae7cb18d5413a48ce33c14bdaf9..de0d34b8fed044fa29701af1ecc280ed44ba0910 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR_GET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_GET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_behavior_get \- libmemcached Documentation
 .
@@ -181,7 +181,7 @@ Sets the compatibility mode. The value can be set to either MEMCACHED_KETAMA_COM
 .B MEMCACHED_BEHAVIOR_POLL_TIMEOUT
 .UNINDENT
 .sp
-Modify the timeout value that is used by poll. The default value is \-1. An signed int pointer must be passed to memcached_behavior_set to change this value. For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
+Modify the timeout value that is used by poll. The default value is \-1. An signed int must be passed to memcached_behavior_set to change this value (this requires casting). For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USER_DATA
index 35b55b6a61da16d511ea384e401fc39f205dc57d..87e338466b1f9086a4a1fd886e7aee1830070278 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR_SET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_SET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_behavior_set \- libmemcached Documentation
 .
@@ -181,7 +181,7 @@ Sets the compatibility mode. The value can be set to either MEMCACHED_KETAMA_COM
 .B MEMCACHED_BEHAVIOR_POLL_TIMEOUT
 .UNINDENT
 .sp
-Modify the timeout value that is used by poll. The default value is \-1. An signed int pointer must be passed to memcached_behavior_set to change this value. For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
+Modify the timeout value that is used by poll. The default value is \-1. An signed int must be passed to memcached_behavior_set to change this value (this requires casting). For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USER_DATA
index 56199671964c751337b057fc3d7cf6d28b5a5466..2eb7ef247dfbe0561da17dd43a0adadeea51f371 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CALLBACK" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_callback \- libmemcached Documentation
 .
index 44ca250f1a8a97a9735595a68a9822945b0d6601..4e7726942558d280bea27243493db45d49f101f1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK_GET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CALLBACK_GET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_callback_get \- libmemcached Documentation
 .
index d05ccffd891f1574f47c047a8adb79b91188e6fd..f4e218a6a918f6e2d6b3968a884f1798f39249e9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK_SET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CALLBACK_SET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_callback_set \- libmemcached Documentation
 .
index 35a356ae52e1dfe8156e2dd603f64882902583bf..240ab0aceacac839172934c24461d7a30c4ab03e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CAS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CAS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_cas \- Working with data on the server in an atomic fashion
 .
index 5d9c05ea0e567a5121c7a5ca794589cde34fdf81..8e3704246213bb85b04e21e9269cb23b24ed1a24 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CAS_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CAS_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_cas_by_key \- Storing and Replacing Data
 .
index f431991bdbdbf82cc58ddd51d18e95e28ce1244b..c756055f651ac515898f9f3a42e17745e7d0da64 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CLONE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CLONE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_clone \- libmemcached Documentation
 .
index ca0c2e5372bd892e75c435391fe7a5ec7c9da96e..bd022d0805b1822ce51092504b26904d59a8d9d6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CREATE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_CREATE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_create \- libmemcached Documentation
 .
index b127d538fd3f1243229e6376b810966adb7152ad..cff936868533322878d91319e23798e6785aa4b7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DECREMENT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_DECREMENT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_decrement \- Incrementing and Decrementing Values
 .
index d26a643e7d500420c414654c957cfc8dde2077c6..590a9a980ecc3ec8ca20bc822d5b930d7faa01ca 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_decrement_with_initial \- Incrementing and Decrementing Values
 .
index 587370610e3de11bfe46def03b5e170a26a4dd1e..bb87a8146e0b1d893a21e33f1bae8b751a3e6e0f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DELETE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_DELETE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_delete \- libmemcached Documentation
 .
index 93cf7290cfc1a9609fb0ba26b83ea493aa5e9b32..c85f4ace9e22d58e296beaea5825468ebc4ec4a0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DELETE_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_DELETE_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_delete_by_key \- libmemcached Documentation
 .
index fd445cbcfe2c0afe42b15324c0a2fc579f497ec9..bcbc07aa92d2ec4b6d55308729cbdc8d3d57a2a6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_destroy_sasl_auth_data \- libmemcached Documentation
 .
index b35e1b27ec40188d3809dd33710eb103de76480f..c1829ee2876842507b7d802806625fc821692cd9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DUMP" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_DUMP" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_dump \- libmemcached Documentation
 .
index e11cecea4bb80c008cf2b069059077df75191101..d0e0c8e8626668b99dbe6d6fcb8ccf7b2b97c4dd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_EXIST" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_EXIST" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_exist \- libmemcached Documentation
 .
index d1b157415406105440ad9a4a2a3abb102b3eb1cb..77ee3758e4c36740f23df9c45e08bb2bfdcb03e7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_EXIST_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_EXIST_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_exist_by_key \- libmemcached Documentation
 .
index 80eeb48bbe1b67be4264ac3527525db199ed0e72..b9e8d06bd38667471ab7e531bcd5a2a2e5f9c0ec 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_FETCH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_fetch \- Retrieving data from the server
 .
index 2a49160caa2a077fea6e112fef232e6b444e2ddc..9c5bc20b790ff827d085b71f62c23d3168c91a90 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH_EXECUTE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_FETCH_EXECUTE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_fetch_execute \- Retrieving data from the server
 .
index 72101013032743e9eed1a67e129e644b1152fec3..1ad5d39284848be1f15ea65e2e2aa952e33527d6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH_RESULT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_FETCH_RESULT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_fetch_result \- Retrieving data from the server
 .
index 0e1467f2da3851f110c94604bad8e35ae004a112..56d7023ad079ee34c27f33e973685eeea3b5914a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FLUSH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_FLUSH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_flush \- libmemcached Documentation
 .
index 976fc98f97ff64222ca9125fec1ab74470dbd72a..e36b15c9d592e9091803b78bf16fe42b766775c5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FLUSH_BUFFERS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_FLUSH_BUFFERS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_flush_buffers \- libmemcached Documentation
 .
index 0120e08cf9d75bb7f41131aecd42f11157368295..49715cc7a02f0575a03366ac2af145e38d730e14 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FREE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_FREE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_free \- libmemcached Documentation
 .
index 3bbbe447528e44101592eab3ff90ce5c5566a1bb..e9fcb827860167fd77044c41404df4ee2426b2d3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GENERATE_HASH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_generate_hash \- Generating hash values directly
 .
index 76226e73ec901b01b1092b79a8f9b9bb3bed5960..be99ff6197d5e797594c06002b2b22ddbf58c6b2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_generate_hash_value \- Generating hash values directly
 .
index 59b308d64b2dde253814535f037b338bebd1b14a..0ec1489b74434ea8ad3595e6af8d350500135541 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_get \- Retrieving data from the server
 .
index 8903ffcc96838f800d70f609949dfd51b071d920..0c19af75de423be94b7d24a0ede177d359473526 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GET_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_get_by_key \- Retrieving data from the server
 .
index b20b1e7b5f313725d64c9b00610565b49b32a4b8..a0a53503ec710ad72e8abfdf31a8a778269817cc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_get_memory_allocators \- libmemcached Documentation
 .
index f730edbbac08252a1cff3f063c737b704bd3f5ed..51d7a5b9bd639561a9b211e5f1cc63c337ddd55a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_get_sasl_callbacks \- libmemcached Documentation
 .
index 9625312716871fb1cd4dd16b1771af8e50076a4d..a1afb85ba60fc25ee55c4eddcefb7bb314e62d62 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_USER_DATA" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_GET_USER_DATA" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_get_user_data \- libmemcached Documentation
 .
index 662aed98bda6a141840cddb63803e16d8aad12bf..76de5cfb432679c36c4e147157947d6c2327a5a2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_INCREMENT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_INCREMENT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_increment \- Incrementing and Decrementing Values
 .
index 3672dd06ad6c1b039ebd9533d48f7baaca4f186d..a6083f96be6209951a31d72dec10c18cbb65de25 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_increment_with_initial \- Incrementing and Decrementing Values
 .
index dfa1272062698879632dafad20ec5e41974ed49b..c4fbb4479504ed1a4d7be9bb72614e32dbb0b434 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_LAST_ERROR_MESSAGE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_LAST_ERROR_MESSAGE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_last_error_message \- libmemcached Documentation
 .
index 93aa0f71ad4b6371073e95eb6ab0d91ae4640356..130699b2c2d4e22cb587afa72d5a4417978a772a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_LIB_VERSION" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_LIB_VERSION" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_lib_version \- libmemcached Documentation
 .
index e332dc2fe9efb8dba3079697dbf7a6ecb5967fa0..acb22738147c3056f360623a218b166de5a7f957 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_memory_allocators \- libmemcached Documentation
 .
index 16f8955217160376008cc8aad6ba2b0c78f9a562..8f77d2d4258e255b54ef7d51e636fcbd4ba72d79 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_MGET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_mget \- Retrieving data from the server
 .
index 3090772d6ddd89c236f1685b63e39847252fe866..2ebbc663d05b8ccbed05beef6e8fe7e16735fc47 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_MGET_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_mget_by_key \- Retrieving data from the server
 .
index 1d3df11c24e3e3df3bddf2d39a6b5bff52107207..7f1af309987bc07265409abe2df71ed84b8dd5a6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_EXECUTE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_mget_execute \- Retrieving data from the server
 .
index 76181b01838eb749e055dfce92ab87b04538fdeb..00e14569ef5927459ea85f8a8abba74470420ec2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_mget_execute_by_key \- Retrieving data from the server
 .
index 11c151a587ded57ed59b4e27c47967c88ef071c9..91d515af439e2938a96b3623c1c5a32c7a49a92f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool \- libmemcached Documentation
 .
index e9eaa649efd791323b82c494b4bf3ac1bc2da5d8..eb78ba63620966a23a7c266748e6199377a208e0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_behavior_get \- libmemcached Documentation
 .
index adfa7fa40a3d8fb39f9c11af32709a40b70f332e..ee3ca4e145d46d3f5d4e4d830ee88c6eb88d8265 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_behavior_set \- libmemcached Documentation
 .
index 3b06daf50cb9503a45010ca8ededdf9f9f86ac39..bd50b1b61302201c186d0aa8a4e0ffe529b0328e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_CREATE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_CREATE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_create \- libmemcached Documentation
 .
index a7ead19058c47ad79f6e974423b80b1df80be547..fc05293e1f54946a510c3e70c4c2b3f1673acf6f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_DESTROY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_DESTROY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_destroy \- libmemcached Documentation
 .
index 47f8c8d300970582c364075acc66a556e6c0377a..897857a14f0e9d68bb4532a6826a8e3818f7f739 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_FETCH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_FETCH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_fetch \- libmemcached Documentation
 .
index 60c224deee8a21e80459a138a15eb448f825885f..705bb0c39b054b30f77c3625b00387d1e0b82c30 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_POP" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_POP" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_pop \- libmemcached Documentation
 .
index 81d869de9ad200cbd428d164e0896866be5d23a3..9716dd89e6719502a545a77ee0db4eb364aafbb8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_PUSH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_PUSH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_push \- libmemcached Documentation
 .
index cb4520e4a2feb9b47191ea5ab15cfdf7861a5262..cae64a8b338f1e34ddbe24aebb090d9f08709fd0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_RELEASE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_RELEASE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_release \- libmemcached Documentation
 .
index 8e4a61c308c188211c3297518783e481cebfe5b1..90d52bd60400f3581f4c2ac2374ff6f741c930c9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_ST" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_POOL_ST" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_pool_st \- libmemcached Documentation
 .
index 95d567b62ce314de842250accbdb6dab8a77ce4a..ff37b0b97a2f69fe6e7988f28491707ac410e7e9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_PREPEND" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_PREPEND" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_prepend \- Appending to or Prepending to data on the server
 .
index 88a65ac173ee17ac301b589dfca69fad0f008d68..7ae5b575c7177245be98199f8ce5fe7b16e34956 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_PREPEND_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_PREPEND_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_prepend_by_key \- Appending to or Prepending to data on the server
 .
index 8523b72b95e89458ee9d5eb64ca29334366ab570..49fc66ad90b4c2762b82aefcc602750c3f9801d4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_QUIT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_QUIT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_quit \- libmemcached Documentation
 .
index decc05981317a5d314541e425b2bf58c66511424..470cf5ff67aa9a0138bfbc942c2aefb2c6966f80 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_REPLACE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_REPLACE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_replace \- Storing and Replacing Data
 .
index cc6f00b76cc2de65840f86bbfb0f683517a7fb00..088058ee6cc1f87244b2ef1f04d2dbe887481790 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_REPLACE_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_REPLACE_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_replace_by_key \- Storing and Replacing Data
 .
index 3e61b2becad293912da8afa237e5b4a3ccf37f6e..9d18045fd36b51eb4f4b624a6212ea9d22e67fce 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_CAS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_CAS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_cas \- Working with result sets
 .
index 255d00c08dc04df12c680b990ce84c3e39786cfe..61ef3fdb1544933c0ce7b44d0fe77c12310250fb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_CREATE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_CREATE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_create \- Working with result sets
 .
index c94e48d6f3a385810f48ab9fdc9df88c5ad567a1..af6c3ec67f79dac5400d1be69dacc9565099c399 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_FLAGS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_FLAGS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_flags \- Working with result sets
 .
index 9a6780d9ea5ef9a2a334fc6d8c12a82c816f45de..76405f5544ce428b2455f7100208de58105b0e06 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_FREE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_FREE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_free \- Working with result sets
 .
index 9dca2b54ef57f9f43fa7f07118091f1cd74b3da4..a01d35683821895917bec67c50cd4ab0bfd761a6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_key_length \- Working with result sets
 .
index 0491c0559a40383caa4100bb2186f40497168ef8..9ed4994c9c27a511f5b35674aba48ccb89fe5a79 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_key_value \- Working with result sets
 .
index 3713185a311d0dc8259a06429c3a952b86934bfa..459001316b48b0e403d3f6e71f2e12a176edb99e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_LENGTH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_LENGTH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_length \- Working with result sets
 .
index acc39a35bdce7e110a6182ef56ba7d1df33914dc..165288c3e1ee4a20eebd0b3c1c58187d8f7bc79e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_ST" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_ST" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_st \- Working with result sets
 .
index 9750e47a3affe513f5c3aa9fb7cda16b735fa5b9..2783e380f4e044c9c4d80bdaa0f45c7e0a03589d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_VALUE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RESULT_VALUE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_result_value \- Working with result sets
 .
index acb9b636bca8a5a03e1f5fc91c447f5b649b05ef..7e395ec5e0481757b252b5aca50ed876b6b71807 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RETURN_T" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_RETURN_T" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_return_t \- Return type values 
 .
index 8324e2eeb2a6b4322186f1ae58393b5a3fe104b0..52d9104abd26bae2148b2166e030b6c83c813845 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SASL" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SASL" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_sasl \- libmemcached Documentation
 .
index 04f623cfee66ae4617a6838cb6c0d44a1451f339..fecd1e26e7ad6d75b0d24248ddaf41748c9868f4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_sasl_set_auth_data \- libmemcached Documentation
 .
index 8f6db35737e814d35da33d9adb9d0d3038b76e57..071609553b007466fa1f5488259ad43bac556ff1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ADD" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_add \- libmemcached Documentation
 .
index df28ff7c87802dc4170eaa8df39d72c222971879..ef387b18c19d7dfd86558d996b982935c57f7f6a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_add_unix_socket \- libmemcached Documentation
 .
index 4f4206c17214e388d678026297dc1285a730ac7d..98faba66591165ba106820881cac79341c5e6295 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_COUNT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_COUNT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_count \- libmemcached Documentation
 .
index 6d216c44bc208c6dac280203313b16b7a983ce1b..40be8c496dd6579214000f0d19bbc6b51d902642 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_CURSOR" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_CURSOR" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_cursor \- libmemcached Documentation
 .
index 357214d204dddddf1bd2d2839c90af8507e15424..0ce6ce964db7b46b8d010af2d353d993b719fd69 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_list \- libmemcached Documentation
 .
index 152b4f855029d2b2080f48a7fbb3983d514d879b..5eb6f1139c5c18dceab0a1083de3614688a337b5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_list_append \- libmemcached Documentation
 .
index 71d81d34fd0b1507d4471fce198dc75045fe9176..7bc94daf6552b4b2b690969c4a1f02f6aa883638 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_list_count \- libmemcached Documentation
 .
index 46b4a560aa6d3d73abc88016824faa1d4efac7cc..bd834b4590d282860cfda1285a72df64e0b23980 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_FREE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_FREE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_list_free \- libmemcached Documentation
 .
index 7b9661a731ab498fdd621ee5fb7292d3845d1dc2..13f340b5e2a2d79018a09a106d0d33818dd47346 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_PUSH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_PUSH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_push \- libmemcached Documentation
 .
index 573ffd2f4f8f9f34ada165553fb2115c6340fb94..f4b0ce509b060f9a7666b7c9c13a02c0f934dc21 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ST" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVER_ST" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_server_st \- libmemcached Documentation
 .
index f27c64633bc0f5aaf58beab6292cd738aa8c9d12..1394548d4d5fbf7bf66ce967a165f0bb181c45af 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVERS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_servers \- libmemcached Documentation
 .
index fb23bc03522ca0a56778e85034b205c492e43446..8ed3a9676abab42710c54506f77e21088b2e51a3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS_PARSE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVERS_PARSE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_servers_parse \- libmemcached Documentation
 .
index ddcb9bd38832d14d9fc951bfcf985ad96269737e..b61f263ccb3851c54f2529dd08e61668b66e1b32 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS_RESET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SERVERS_RESET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_servers_reset \- libmemcached Documentation
 .
index 9bb11f5173cc97dcbfb76c78cc898d03760f865d..0b5b3fe91ff117f7c80115cc8da0ab8d99bcc13d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SET" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_set \- Storing and Replacing Data
 .
index 747c21c5ab1266a04aeb6e300c66fe205fb57a5d..89f0e383c7f331ff56f1e0dd77f3f19abae15394 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SET_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_set_by_key \- Storing and Replacing Data
 .
index b1967796bd16becd171a7ba51c9fad64bf752502..1c7f256ef4b88d447b9b887dad7eea0a693e00f8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_set_memory_allocators \- libmemcached Documentation
 .
index 85f2bfc18382eb2819d96db7ef33a0b59b184444..5838968fd42436300cbb7cdb7ba813f5c4fc960d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_set_memory_allocators_context \- libmemcached Documentation
 .
index 2a56056ff5179944bf8838bb38d60f5bfd079593..13b17c0c0f7204aca9bd3eebd657ae3d3a2b68d8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_set_sasl_callbacks \- libmemcached Documentation
 .
index 5096dd7437cae484f128c1bb17b269c28384ecd5..ff7ce482ec10301b9ce2e0748a698ad554986038 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_USER_DATA" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_SET_USER_DATA" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_set_user_data \- libmemcached Documentation
 .
index 00234626f9b157b0ca44a2fc0855b713dae465da..1a89e23fe5d2990df231cf3cb508be51afa6b045 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STAT" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_stat \- libmemcached Documentation
 .
index 83b202c7456e0401d61c8064dae6d861bd9cfac1..6cd9f2988191a8b5d822641bb0356e5010f4d877 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_EXECUTE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STAT_EXECUTE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_stat_execute \- libmemcached Documentation
 .
index bbbacb267691f6ef5e2e7935fbc668a360250c08..996a0efa25e63dfeb4f6a0fef14852048c5461c1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_GET_KEYS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STAT_GET_KEYS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_stat_get_keys \- libmemcached Documentation
 .
index 1e8fb652690f14bafcf7648ad8e929a81f7bac65..578e1f19739a11f754a83eae90fb7572e2701702 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_GET_VALUE" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STAT_GET_VALUE" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_stat_get_value \- libmemcached Documentation
 .
index 5596d04561815c125d17b1c14fecae83ef834948..394dc7af6e5ddb41edbabd16ca143f4234e4ab6c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_SERVERNAME" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STAT_SERVERNAME" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_stat_servername \- libmemcached Documentation
 .
index 71daab34ee8ff2b52ffa73198c4abb288d7b2c5f..bd35ac02faae466dbd06a70665339cfef183ca83 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STATS" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STATS" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_stats \- libmemcached Documentation
 .
index e4ba336930e9bf042ec535bb5e7cde02ec0f4629..39d287b26b805de6052b39ccb3db15262ae9c82a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STRERROR" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_STRERROR" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_strerror \- libmemcached Documentation
 .
index ede1c05a4a43ca90d519728234dde558b9d98ebc..97c757a607fa9c1730c489be9ff6fba2f337a148 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_TOUCH" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_TOUCH" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_touch \- libmemcached Documentation
 .
index e0afd4f73f6be745783d83b4790f4934d3019707..37f7de0c253e863da0a942cf0d6c2239b05195cc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_TOUCH_BY_KEY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_TOUCH_BY_KEY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_touch_by_key \- libmemcached Documentation
 .
index 52351718421050af1d96e966f4be4d0b55f6f073..dd80ecd90d8a5f32e95f19bbbaba96ce044e22d4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_USER_DATA" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_USER_DATA" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_user_data \- libmemcached Documentation
 .
index d6a9e1e0fc1a24da3c39fd2c0f376f9484902008..c8981bf6e28627c69fa6ecda997f796ac1824c6c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_VERBOSITY" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_VERBOSITY" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_verbosity \- libmemcached Documentation
 .
index 7cefa89e7eb7df357cae5be8aa1b12c40e886c22..607e003f74496513344a7749e3b3b66c567a70a5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_VERSION" "3" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCACHED_VERSION" "3" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcached_version \- libmemcached Documentation
 .
index 28b2a9d8e33f3e88aa0a8a6c6abc3fd8e6b4e075..b31434444cb582d5fada84dd6ea0e3d84abcd9eb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCAPABLE" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCAPABLE" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcapable \- libmemcached Documentation
 .
index 14ff8e3671383efb0d82178a6eea4a0c6b4145fd..d5e1bab7fd0976d5ba6b785918f8592b50b0aa8b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCAT" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCAT" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcat \- libmemcached Documentation
 .
index 92aa988de190ae61edc4858070b7c97aaf9142bc..b67f18163e902eac49aeca7965635501e4aeced8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCP" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMCP" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memcp \- libmemcached Documentation
 .
index a3f3bd92506e4869516cc3b7e89d8b4dda8238d5..a2eb1e3c21f04d23367253419b9ddf0251161135 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMDUMP" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMDUMP" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memdump \- libmemcached Documentation
 .
index baf39137a02ab239f8e910b7063422c5a79ca63b..593455f2a01c6beb4597c98d4a4f65b9eb1efdcf 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMERROR" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMERROR" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memerror \- libmemcached Documentation
 .
index a73f61a959d5b07326b0fee3258634970040082d..3864f3534f3ba9db6f3e9251cf0d8936bb754fbd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMFLUSH" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMFLUSH" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memflush \- libmemcached Documentation
 .
index ab0eaea612cbe2d873bc360e52c80f86fef59394..41da5d7d0816d66f89ed44914d2de7c4a92ce36e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMRM" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMRM" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memrm \- libmemcached Documentation
 .
index d5ddb7f49d135e4f628e5f2249f56a67f2deb7d7..2ef4f413e486717704b9bea0c5157753127cb0c4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMSLAP" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMSLAP" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memslap \- libmemcached Documentation
 .
index 623fb08adb41c7b6144a8e68e41af85765a6ec11..e1737d5f583f986457c768c907abaa093f6f8c7f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMSTAT" "1" "April 21, 2012" "1.0.6" "libmemcached"
+.TH "MEMSTAT" "1" "April 27, 2012" "1.0.6" "libmemcached"
 .SH NAME
 memstat \- libmemcached Documentation
 .
index ee1bb234d22aca29ee8f7b45320c7d4e01907d66..6c40128294ecd13a5fa12f43758bd9964a6a1c4c 100644 (file)
@@ -143,7 +143,7 @@ Sets the compatibility mode. The value can be set to either MEMCACHED_KETAMA_COM
 
 .. c:type:: MEMCACHED_BEHAVIOR_POLL_TIMEOUT
 
-Modify the timeout value that is used by poll. The default value is -1. An signed int pointer must be passed to memcached_behavior_set to change this value. For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
+Modify the timeout value that is used by poll. The default value is -1. An signed int must be passed to memcached_behavior_set to change this value (this requires casting). For memcached_behavior_get a signed int value will be cast and returned as the unsigned long long.
 
 .. c:type:: MEMCACHED_BEHAVIOR_USER_DATA
 .. deprecated:: < 0.30
index b9b7556d2eff083463515c232034cfa0ea2c45ac..212207f4af3b409a697eede3ddcdd52e6e6080ad 100644 (file)
@@ -18,6 +18,7 @@ example_t_memcached_light_LDADD=
 
 example_t_memcached_light_SOURCES+= example/t/memcached_light.cc
 example_t_memcached_light_SOURCES+= tests/libmemcached-1.0/memcached_get.cc
+example_t_memcached_light_SOURCES+= tests/libmemcached-1.0/print.cc
 example_t_memcached_light_SOURCES+= tests/libmemcached-1.0/setup_and_teardowns.cc
 example_t_memcached_light_CXXFLAGS = $(AM_CXXFLAGS)
 example_t_memcached_light_DEPENDENCIES= $(MEMCACHED_LIGHT_TESTS_LDADDS) example/memcached_light
index 816fe2f85c383095a77ef50e2d670919c619de68..5c60105a3868f42801e30c95eeb9e707f8de9d57 100644 (file)
 
 #pragma once
 
+LIBMEMCACHED_API
 memcached_return_t memcached_exist(memcached_st *memc, const char *key, size_t key_length);
 
+LIBMEMCACHED_API
 memcached_return_t memcached_exist_by_key(memcached_st *memc,
                                           const char *group_key, size_t group_key_length,
                                           const char *key, size_t key_length);
index e2be59b87a960dd3c797f522b1fb31cc4e67e681..a1ed738974c1fad07851fe69fa9487f78ace4326 100644 (file)
@@ -85,7 +85,7 @@ struct memcached_server_st {
     uint32_t timeouts;
   } io_wait_count;
   uint8_t major_version; // Default definition of UINT8_MAX means that it has not been set.
-  uint8_t micro_version; // ditto
+  uint8_t micro_version; // ditto, and note that this is the third, not second version bit
   uint8_t minor_version; // ditto
   memcached_connection_t type;
   char *read_ptr;
index 98c87591a53615e496babd67c4b605dd4e4449e6..aaa66dbaf21219dbe9645062b70f072287387814 100644 (file)
@@ -41,18 +41,18 @@ void _libmemcached_free(const memcached_st*, void *mem, void*)
 {
   if (mem)
   {
-    free(mem);
+    std::free(mem);
   }
 }
 
 void *_libmemcached_malloc(const memcached_st *, size_t size, void *)
 {
-  return malloc(size);
+  return std::malloc(size);
 }
 
 void *_libmemcached_realloc(const memcached_st*, void *mem, size_t size, void *)
 {
-  return realloc(mem, size);
+  return std::realloc(mem, size);
 }
 
 void *_libmemcached_calloc(const memcached_st *self, size_t nelem, size_t size, void *context)
@@ -68,7 +68,7 @@ void *_libmemcached_calloc(const memcached_st *self, size_t nelem, size_t size,
      return ret;
   }
 
-  return calloc(nelem, size);
+  return std::calloc(nelem, size);
 }
 
 struct memcached_allocator_t memcached_allocators_return_default(void)
@@ -126,8 +126,23 @@ void memcached_get_memory_allocators(const memcached_st *self,
     return;
   }
 
-  *mem_malloc= self->allocators.malloc;
-  *mem_free= self->allocators.free;
-  *mem_realloc= self->allocators.realloc;
-  *mem_calloc= self->allocators.calloc;
+  if (mem_malloc)
+  {
+    *mem_malloc= self->allocators.malloc;
+  }
+
+  if (mem_free)
+  {
+    *mem_free= self->allocators.free;
+  }
+
+  if (mem_realloc)
+  {
+    *mem_realloc= self->allocators.realloc;
+  }
+
+  if (mem_calloc)
+  {
+    *mem_calloc= self->allocators.calloc;
+  }
 }
index 576b6a6b6037c4eac9b5e0ac21189583b9b44ec9..7115d06f2eada95bf8f38433bc3b0280c7dabb57 100644 (file)
@@ -42,7 +42,9 @@ static void calc_average_item_size(memcached_analysis_st *result,
                                    const uint64_t total_bytes)
 {
   if (total_items > 0 && total_bytes > 0)
+  {
     result->average_item_size= (uint32_t) (total_bytes / total_items);
+  }
 }
 
 static void calc_hit_ratio(memcached_analysis_st *result,
@@ -65,19 +67,25 @@ memcached_analysis_st *memcached_analyze(memcached_st *memc,
 {
   uint64_t total_items= 0, total_bytes= 0;
   uint64_t total_get_cmds= 0, total_get_hits= 0;
-  uint32_t server_count;
 
-  if (not memc or not memc_stat)
+  if (memc == NULL or memc_stat == NULL)
   {
     return NULL;
   }
 
+  memcached_return_t not_used;
+  if (error == NULL)
+  {
+    error= &not_used;
+  }
+
   *error= MEMCACHED_SUCCESS;
-  server_count= memcached_server_count(memc);
-  memcached_analysis_st *result= (memcached_analysis_st*)calloc(memcached_server_count(memc),
-                                                                sizeof(memcached_analysis_st));
+  uint32_t server_count= memcached_server_count(memc);
+  memcached_analysis_st *result= (memcached_analysis_st*)libmemcached_xcalloc(memc,
+                                                                              memcached_server_count(memc),
+                                                                              memcached_analysis_st);
 
-  if (not result)
+  if (result == NULL)
   {
     *error= MEMCACHED_MEMORY_ALLOCATION_FAILURE;
     return NULL;
@@ -107,5 +115,5 @@ memcached_analysis_st *memcached_analyze(memcached_st *memc,
 
 void memcached_analyze_free(memcached_analysis_st *ptr)
 {
-  free(ptr);
+  libmemcached_free(ptr->root, ptr);
 }
index 8fb8acc7ec3938e694108e52a5fa43e23cae4261..3924e0b0ab27ffecfae5e52c3a21b990392e22e8 100644 (file)
@@ -69,11 +69,11 @@ void custom_backtrace(void)
 
   fprintf(stderr, "Number of stack frames obtained: %lu\n", (unsigned long)size);
 
-  char *named_function= (char *)::realloc(NULL, 1024);
+  char *named_function= (char *)std::realloc(NULL, 1024);
   
   if (named_function == NULL)
   {
-    ::free(strings);
+    std::free(strings);
     return;
   }
 
@@ -82,7 +82,7 @@ void custom_backtrace(void)
     if (USE_DEMANGLE)
     {
       size_t sz= 200;
-      char *named_function_ptr= (char *)::realloc(named_function, sz);
+      char *named_function_ptr= (char *)std::realloc(named_function, sz);
       if (named_function_ptr == NULL)
       {
         continue;
@@ -139,7 +139,7 @@ void custom_backtrace(void)
     }
   }
 
-  ::free(named_function);
-  ::free(strings);
+  std::free(named_function);
+  std::free(strings);
 #endif // HAVE_EXECINFO_H
 }
index e6b24944e3c4388f3a1c0a44de90ec04e5fdff04..f7559376910fc52897b30654bc665f65a266c6fe 100644 (file)
 #include <cstdlib>
 #include <cstring>
 #include <ctime>
-#include <ctype.h>
+#include <cctype>
+#include <cerrno>
+#include <climits>
 #else
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
+#include <errno.h>
+#include <limits.h>
 #endif
 
-#include <errno.h>
 #include <fcntl.h>
-#include <limits.h>
 #include <sys/types.h>
 #include <unistd.h>
 
index 1ca355b82231ac424fbbc89fb5bc1d50d9d1c8e4..b2af961a6364b36b9f2662fba7bdb3f47c40edc3 100644 (file)
@@ -208,6 +208,7 @@ memcached_return_t memcached_set_error(memcached_server_st& self, memcached_retu
 {
   assert_msg(rc != MEMCACHED_ERRNO, "Programmer error, MEMCACHED_ERRNO was set to be returned to client");
   assert_msg(rc != MEMCACHED_SOME_ERRORS, "Programmer error, MEMCACHED_SOME_ERRORS was about to be set on a memcached_server_st");
+
   memcached_string_t tmp= { str, length };
   return memcached_set_error(self, rc, at, tmp);
 }
@@ -458,13 +459,13 @@ static void _error_free(memcached_error_t *error)
 
   _error_free(error->next);
 
-  if (error && error->root)
+  if (error and error->root)
   {
     libmemcached_free(error->root, error);
   }
   else if (error)
   {
-    free(error);
+    libmemcached_free(error->root, error);
   }
 }
 
@@ -524,7 +525,7 @@ memcached_return_t memcached_last_error(memcached_st *memc)
     return MEMCACHED_INVALID_ARGUMENTS;
   }
 
-  if (not memc->error_messages)
+  if (memc->error_messages == NULL)
   {
     return MEMCACHED_SUCCESS;
   }
@@ -539,7 +540,7 @@ int memcached_last_error_errno(memcached_st *memc)
     return 0;
   }
 
-  if (not memc->error_messages)
+  if (memc->error_messages == NULL)
   {
     return 0;
   }
@@ -554,12 +555,12 @@ const char *memcached_server_error(memcached_server_instance_st server)
     return NULL;
   }
 
-  if (not server->error_messages)
+  if (server->error_messages == NULL)
   {
     return memcached_strerror(server->root, MEMCACHED_SUCCESS);
   }
 
-  if (not server->error_messages->size)
+  if (server->error_messages->size == 0)
   {
     return memcached_strerror(server->root, server->error_messages->rc);
   }
index cd0768eb957bce67341c97cc09820c440dddfa33..2eb91281e42176f3e72e096f3021df1f938a03e5 100644 (file)
@@ -124,7 +124,7 @@ static inline bool _memcached_init(memcached_st *self)
   return true;
 }
 
-static void _free(memcached_st *ptr, bool release_st)
+static void __memcached_free(memcached_st *ptr, bool release_st)
 {
   /* If we have anything open, lets close it now */
   send_quit(ptr);
@@ -174,7 +174,7 @@ memcached_st *memcached_create(memcached_st *ptr)
   }
   else
   {
-    ptr= (memcached_st *)malloc(sizeof(memcached_st));
+    ptr= (memcached_st *)libmemcached_xmalloc(NULL, memcached_st);
 
     if (ptr == NULL)
     {
@@ -244,7 +244,7 @@ memcached_return_t memcached_reset(memcached_st *ptr)
 
   bool stored_is_allocated= memcached_is_allocated(ptr);
   uint64_t query_id= ptr->query_id;
-  _free(ptr, false);
+  __memcached_free(ptr, false);
   memcached_create(ptr);
   memcached_set_allocated(ptr, stored_is_allocated);
   ptr->query_id= query_id;
@@ -283,7 +283,7 @@ void memcached_free(memcached_st *ptr)
 {
   if (ptr)
   {
-    _free(ptr, true);
+    __memcached_free(ptr, true);
   }
 }
 
@@ -384,11 +384,21 @@ memcached_st *memcached_clone(memcached_st *clone, const memcached_st *source)
 
 void *memcached_get_user_data(const memcached_st *ptr)
 {
+  if (ptr == NULL)
+  {
+    return NULL;
+  }
+
   return ptr->user_data;
 }
 
 void *memcached_set_user_data(memcached_st *ptr, void *data)
 {
+  if (ptr == NULL)
+  {
+    return NULL;
+  }
+
   void *ret= ptr->user_data;
   ptr->user_data= data;
 
@@ -402,18 +412,30 @@ memcached_return_t memcached_push(memcached_st *destination, const memcached_st
 
 memcached_server_write_instance_st memcached_server_instance_fetch(memcached_st *ptr, uint32_t server_key)
 {
+  if (ptr == NULL)
+  {
+    return NULL;
+  }
+
   return &ptr->servers[server_key];
 }
 
 memcached_server_instance_st memcached_server_instance_by_position(const memcached_st *ptr, uint32_t server_key)
 {
+  if (ptr == NULL)
+  {
+    return NULL;
+  }
+
   return &ptr->servers[server_key];
 }
 
 uint64_t memcached_query_id(const memcached_st *self)
 {
-  if (not self)
+  if (self == NULL)
+  {
     return 0;
+  }
 
   return self->query_id;
 }
index ad6202e8d0060ce71ccb6aad586c1a0e2bafb25b..51e2c42294848beca127ca16a64f120d55a741cc 100644 (file)
@@ -36,7 +36,7 @@
 #ifndef PROTOCOL_BINARY_H
 #define PROTOCOL_BINARY_H
 
-#include "vbucket.h"
+#include <libmemcachedprotocol-0.0/vbucket.h>
 
 /**
  * \addtogroup Protocol
index c6c4d8ca95d0117e33ec9d198f335de83b59a79a..e2cc563e41ed043677895a06634ca502dec3bfc3 100644 (file)
@@ -1,6 +1,40 @@
-/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-#ifndef MEMCACHED_VBUCKET_H
-#define MEMCACHED_VBUCKET_H 1
+/*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
+ * 
+ *  Libmemcached 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.
+ *
+ */
+
+#pragma once
 
 #ifdef __cplusplus
 extern "C"
@@ -23,4 +57,3 @@ typedef enum {
 #ifdef __cplusplus
 }
 #endif
-#endif
index dd0092370aa7e35e21455f06885f8c1fa5f71458..06cc9985b27b8ea240b6b10507a22974fa87ff06 100644 (file)
@@ -36,6 +36,8 @@
 
 #pragma once
 
+#include <config.h>
+
 #include <libmemcached-1.0/struct/memcached.h>
 
 #ifdef __cplusplus
@@ -54,7 +56,11 @@ static inline void libmemcached_free(const memcached_st *self, void *mem)
   }
   else if (mem)
   {
+#ifdef __cplusplus
+    std::free(mem);
+#else
     free(mem);
+#endif
   }
 }
 
@@ -65,7 +71,11 @@ static inline void *libmemcached_malloc(const memcached_st *self, const size_t s
     return self->allocators.malloc(self, size, self->allocators.context);
   }
 
+#ifdef __cplusplus
+  return std::malloc(size);
+#else
   return malloc(size);
+#endif
 }
 #define libmemcached_xmalloc(__memcachd_st, __type) ((__type *)libmemcached_malloc((__memcachd_st), sizeof(__type)))
 
@@ -76,7 +86,11 @@ static inline void *libmemcached_realloc(const memcached_st *self, void *mem, si
     return self->allocators.realloc(self, mem, nmemb * size, self->allocators.context);
   }
 
-  return realloc(mem, size);
+#ifdef __cplusplus
+    return std::realloc(mem, size);
+#else
+    return realloc(mem, size);
+#endif
 }
 #define libmemcached_xrealloc(__memcachd_st, __mem, __nelem, __type) ((__type *)libmemcached_realloc((__memcachd_st), (__mem), (__nelem), sizeof(__type)))
 #define libmemcached_xvalloc(__memcachd_st, __nelem, __type) ((__type *)libmemcached_realloc((__memcachd_st), NULL, (__nelem), sizeof(__type)))
@@ -88,6 +102,10 @@ static inline void *libmemcached_calloc(const memcached_st *self, size_t nelem,
     return self->allocators.calloc(self, nelem, size, self->allocators.context);
   }
 
-  return calloc(nelem, size);
+#ifdef __cplusplus
+    return std::calloc(nelem, size);
+#else
+    return calloc(nelem, size);
+#endif
 }
 #define libmemcached_xcalloc(__memcachd_st, __nelem, __type) ((__type *)libmemcached_calloc((__memcachd_st), (__nelem), sizeof(__type)))
index faf20ff94149f15448c4c6a36a7d0d456419cb37..809d5b6fb7606793b71d06c9c60e21e47d515958 100644 (file)
@@ -236,9 +236,9 @@ static memcached_return_t textual_read_one_response(memcached_server_write_insta
       {
         /* Find the space, and then move one past it to copy version */
         char *response_ptr= index(buffer, ' ');
-        response_ptr++;
 
-        long int version= strtol(response_ptr, (char **)NULL, 10);
+        char *endptr;
+        long int version= strtol(response_ptr, &endptr, 10);
         if (version == LONG_MIN or version == LONG_MAX or errno == EINVAL or version > UINT8_MAX or version == 0)
         {
           instance->major_version= instance->minor_version= instance->micro_version= UINT8_MAX;
@@ -246,10 +246,8 @@ static memcached_return_t textual_read_one_response(memcached_server_write_insta
         }
         instance->major_version= uint8_t(version);
 
-        response_ptr= index(response_ptr, '.');
-        response_ptr++;
-
-        version= strtol(response_ptr, (char **)NULL, 10);
+        endptr++;
+        version= strtol(endptr, &endptr, 10);
         if (version == LONG_MIN or version == LONG_MAX or errno == EINVAL or version > UINT8_MAX)
         {
           instance->major_version= instance->minor_version= instance->micro_version= UINT8_MAX;
@@ -257,10 +255,8 @@ static memcached_return_t textual_read_one_response(memcached_server_write_insta
         }
         instance->minor_version= uint8_t(version);
 
-        response_ptr= index(response_ptr, '.');
-        response_ptr++;
-
-        version= strtol(response_ptr, (char **)NULL, 10);
+        endptr++;
+        version= strtol(endptr, &endptr, 10);
         if (version == LONG_MIN or version == LONG_MAX or errno == EINVAL or version > UINT8_MAX)
         {
           instance->major_version= instance->minor_version= instance->micro_version= UINT8_MAX;
@@ -588,6 +584,21 @@ static memcached_return_t binary_read_one_response(memcached_server_write_instan
       break;
 
     case PROTOCOL_BINARY_CMD_SASL_LIST_MECHS:
+      {
+        if (header.response.keylen != 0 || bodylen + 1 > buffer_length)
+        {
+          return MEMCACHED_UNKNOWN_READ_FAILURE;
+        }
+        else
+        {
+          if ((rc= memcached_safe_read(instance, buffer, bodylen)) != MEMCACHED_SUCCESS)
+          {
+            return MEMCACHED_UNKNOWN_READ_FAILURE;
+          }
+        }
+      }
+      break;
+
     case PROTOCOL_BINARY_CMD_VERSION:
       {
         char version_buffer[32]; // @todo document this number
@@ -598,8 +609,8 @@ static memcached_return_t binary_read_one_response(memcached_server_write_instan
           return MEMCACHED_UNKNOWN_READ_FAILURE;
         }
 
-        char *p;
-        long int version= strtol(version_buffer, &p, 10);
+        char *endptr;
+        long int version= strtol(version_buffer, &endptr, 10);
         if (version == LONG_MIN or version == LONG_MAX or errno == EINVAL or version > UINT8_MAX or version == 0)
         {
           instance->major_version= instance->minor_version= instance->micro_version= UINT8_MAX;
@@ -607,16 +618,18 @@ static memcached_return_t binary_read_one_response(memcached_server_write_instan
         }
         instance->major_version= uint8_t(version);
 
-        version= strtol(p +1, &p, 10);
+        endptr++;
+        version= strtol(endptr, &endptr, 10);
         if (version == LONG_MIN or version == LONG_MAX or errno == EINVAL or version > UINT8_MAX)
         {
           instance->major_version= instance->minor_version= instance->micro_version= UINT8_MAX;
-          return memcached_set_error(*instance, MEMCACHED_UNKNOWN_READ_FAILURE, MEMCACHED_AT, memcached_literal_param("strtol() failed to parse micro version"));
+          return memcached_set_error(*instance, MEMCACHED_UNKNOWN_READ_FAILURE, MEMCACHED_AT, memcached_literal_param("strtol() failed to parse minor version"));
         }
         instance->minor_version= uint8_t(version);
 
-        version= strtol(p + 1, NULL, 10);
-        if (errno == ERANGE)
+        endptr++;
+        version= strtol(endptr, &endptr, 10);
+        if (version == LONG_MIN or version == LONG_MAX or errno == EINVAL or version > UINT8_MAX)
         {
           instance->major_version= instance->minor_version= instance->micro_version= UINT8_MAX;
           return memcached_set_error(*instance, MEMCACHED_UNKNOWN_READ_FAILURE, MEMCACHED_AT, memcached_literal_param("strtol() failed to parse micro version"));
index 73cd35b11eb0e8d1b840977557cbc03ccdf3c58b..51e2c42294848beca127ca16a64f120d55a741cc 100644 (file)
@@ -122,6 +122,8 @@ extern "C"
         PROTOCOL_BINARY_CMD_TOUCH = 0x1c,
         PROTOCOL_BINARY_CMD_GAT = 0x1d,
         PROTOCOL_BINARY_CMD_GATQ = 0x1e,
+        PROTOCOL_BINARY_CMD_GATK = 0x23,
+        PROTOCOL_BINARY_CMD_GATKQ = 0x24,
 
         PROTOCOL_BINARY_CMD_SASL_LIST_MECHS = 0x20,
         PROTOCOL_BINARY_CMD_SASL_AUTH = 0x21,
index 3778e344642390a12131af5cc23fa486ee566d6a..d720424a9cc82aac7fc197ef01614809da60654f 100644 (file)
@@ -175,6 +175,8 @@ static void print_cmd(protocol_binary_command cmd)
   case PROTOCOL_BINARY_CMD_TAP_CHECKPOINT_START: fprintf(stderr, "%s:%d PROTOCOL_BINARY_CMD_TAP_CHECKPOINT_START\n", __FILE__, __LINE__); return;
   case PROTOCOL_BINARY_CMD_TAP_CHECKPOINT_END: fprintf(stderr, "%s:%d PROTOCOL_BINARY_CMD_TAP_CHECKPOINT_END\n", __FILE__, __LINE__); return;
   case PROTOCOL_BINARY_CMD_LAST_RESERVED: fprintf(stderr, "%s:%d PROTOCOL_BINARY_CMD_LAST_RESERVED\n", __FILE__, __LINE__); return;
+  case PROTOCOL_BINARY_CMD_GATK: fprintf(stderr, "%s:%d PROTOCOL_BINARY_CMD_GATK\n", __FILE__, __LINE__); return;
+  case PROTOCOL_BINARY_CMD_GATKQ: fprintf(stderr, "%s:%d PROTOCOL_BINARY_CMD_GATKQ\n", __FILE__, __LINE__); return;
   case PROTOCOL_BINARY_CMD_SCRUB: fprintf(stderr, "%s:%d PROTOCOL_BINARY_CMD_SCRUB\n", __FILE__, __LINE__); return;
   default:
                                   abort();
index d349e54ae0ee3603b6f1cc1f101b4168409de13d..d3d65287f69210cce3b28295d15e1e62b527afb5 100644 (file)
@@ -98,6 +98,15 @@ do \
   } \
 } while (0)
 
+#define test_skip_hint(__expected, __actual, __hint) \
+do \
+{ \
+  if (libtest::_compare_hint(__FILE__, __LINE__, __func__, (__expected), (__actual), (__hint)) == false) \
+  { \
+    return TEST_SKIPPED; \
+  } \
+} while (0)
+
 #define test_skip_valgrind() \
 do \
 { \
index 798ff2c4541f8f81621abf2e68d47561ffd84bdc..9f99d428b6a68c787e484a37cad192f978439b75 100644 (file)
@@ -24,19 +24,11 @@ AH_BOTTOM([
 # define HAVE_ULONG 1
 typedef unsigned long int ulong;
 #endif 
+
+#define RPACKAGE "memcached" 
  
+#define RVERSION "1.4.13"
  
-#if defined(RMEMCACHED_PACKAGE) 
-#undef VERSION 
-#define VERSION VERSION_NUMBER
-#endif
-
-#if defined(RMEMCACHED_PACKAGE)
-#undef PACKAGE
-#define PACKAGE RMEMCACHED_PACKAGE
-#endif
-
-
 ])
 
 ])dnl CONFIG_EXTRA
index c1d6325dd7f9f98d7030227a50e774598e96301c..4d84c6c8ae068130c11b3c96cec86a5b194e39c4 100644 (file)
@@ -12,9 +12,9 @@ noinst_HEADERS+= memcached/stats.h
 noinst_HEADERS+= memcached/trace.h
 noinst_HEADERS+= memcached/util.h
 
-memcached_memcached_SOURCES=
 memcached_memcached_CFLAGS=
 memcached_memcached_LDADD=
+memcached_memcached_SOURCES=
 
 memcached_memcached_SOURCES+=
 memcached_memcached_SOURCES+= memcached/assoc.c 
@@ -29,10 +29,8 @@ memcached_memcached_SOURCES+= memcached/thread.c
 memcached_memcached_SOURCES+= memcached/trace.h 
 memcached_memcached_SOURCES+= memcached/util.c 
 
-memcached_memcached_CFLAGS+= -DHAVE_CONFIG_H -std=c99
 memcached_memcached_CFLAGS+= ${PTHREAD_CFLAGS}
-memcached_memcached_CFLAGS+= -DRMEMCACHED_VERSION="\"1.4.13\""
-memcached_memcached_CFLAGS+= -DRMEMCACHED_PACKAGE="\"memcached\""
+memcached_memcached_CFLAGS+= -DHAVE_CONFIG_H -std=c99
 
 memcached_memcached_LDADD+= $(LIBEVENT_LDFLAGS)
 memcached_memcached_LDADD+= ${PTHREAD_LIBS}
index 10e89f8051843ff05c73edf795347017839bf37d..10374421c39f8b068e8cc221a39c7ef8e9ba125e 100644 (file)
@@ -1887,7 +1887,7 @@ static void dispatch_bin_command(conn *c) {
     switch (c->cmd) {
         case PROTOCOL_BINARY_CMD_VERSION:
             if (extlen == 0 && keylen == 0 && bodylen == 0) {
-                write_bin_response(c, VERSION, 0, 0, strlen(VERSION));
+                write_bin_response(c, RVERSION, 0, 0, strlen(RVERSION));
             } else {
                 protocol_error = 1;
             }
@@ -2568,7 +2568,7 @@ static void server_stats(ADD_STAT add_stats, conn *c) {
     APPEND_STAT("pid", "%lu", (long)pid);
     APPEND_STAT("uptime", "%u", now);
     APPEND_STAT("time", "%ld", now + (long)process_started);
-    APPEND_STAT("version", "%s", VERSION);
+    APPEND_STAT("version", "%s", RVERSION);
     APPEND_STAT("libevent", "%s", event_get_version());
     APPEND_STAT("pointer_size", "%d", (int)(8 * sizeof(void *)));
 
@@ -3363,7 +3363,7 @@ static void process_command(conn *c, char *command) {
 
     } else if (ntokens == 2 && (strcmp(tokens[COMMAND_TOKEN].value, "version") == 0)) {
 
-        out_string(c, "VERSION " VERSION);
+        out_string(c, "VERSION " RVERSION);
 
     } else if (ntokens == 2 && (strcmp(tokens[COMMAND_TOKEN].value, "quit") == 0)) {
 
@@ -4242,7 +4242,12 @@ static int server_socket(const char *interface,
         }
 #endif
 
-        setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, (void *)&flags, sizeof(flags));
+        error = setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, &flags, sizeof(flags));
+        if (error != 0)
+        {
+          perror("setsockopt(SO_REUSEADDR)");
+        }
+
         if (IS_UDP(transport)) {
             maximize_sndbuf(sfd);
         } else {
@@ -4499,7 +4504,7 @@ static void clock_handler(const int fd, const short which, void *arg) {
 }
 
 static void usage(void) {
-    printf(PACKAGE " " VERSION "\n");
+    printf(RPACKAGE " " RVERSION "\n");
     printf("-p <num>      TCP port number to listen on (default: 11211)\n"
            "-U <num>      UDP port number to listen on (default: 11211, 0 is off)\n"
            "-s <file>     UNIX socket path to listen on (disables network support)\n"
@@ -4564,7 +4569,7 @@ static void usage(void) {
 }
 
 static void usage_license(void) {
-    printf(PACKAGE " " VERSION "\n\n");
+    printf(RPACKAGE " " RVERSION "\n\n");
     printf(
     "Copyright (c) 2003, Danga Interactive, Inc. <http://www.danga.com/>\n"
     "All rights reserved.\n"
index a53f45be20479e5bf5215d2d3a5a30d2a94832ca..165b79b8e78d9d813a256b988d07a15f9959d021 100644 (file)
@@ -48,6 +48,7 @@ tests_failure_SOURCES+= clients/generator.cc
 tests_failure_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
 tests_failure_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
 tests_failure_SOURCES+= tests/libmemcached-1.0/generate.cc
+tests_failure_SOURCES+= tests/libmemcached-1.0/print.cc
 
 tests_failure_CXXFLAGS = $(AM_CXXFLAGS)
 tests_failure_DEPENDENCIES= $(TESTS_LDADDS)
index d4b3fc14468b33653c37111c7f7a3b0e6b5e79a5..e71c4eb8a739701fdff57171607f3c47c554974b 100644 (file)
@@ -196,13 +196,14 @@ noinst_PROGRAMS+= tests/atomsmasher
 tests_testudp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
 tests_testudp_SOURCES=
 
-tests_testudp_SOURCES+= tests/mem_udp.cc
+
 tests_testudp_SOURCES+= clients/execute.cc
 tests_testudp_SOURCES+= clients/generator.cc
 tests_testudp_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
 tests_testudp_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
 tests_testudp_SOURCES+= tests/libmemcached-1.0/generate.cc
-
+tests_testudp_SOURCES+= tests/libmemcached-1.0/print.cc
+tests_testudp_SOURCES+= tests/mem_udp.cc
 tests_testudp_DEPENDENCIES= $(TESTS_LDADDS)
 tests_testudp_LDADD= $(tests_testudp_DEPENDENCIES)
 check_PROGRAMS+= tests/testudp
@@ -219,6 +220,7 @@ tests_testplus_SOURCES+= clients/generator.cc
 tests_testplus_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
 tests_testplus_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
 tests_testplus_SOURCES+= tests/libmemcached-1.0/generate.cc
+tests_testplus_SOURCES+= tests/libmemcached-1.0/print.cc
 
 tests_testplus_CXXFLAGS = $(AM_CXXFLAGS) $(NO_EFF_CXX)
 tests_testplus_DEPENDENCIES= $(TESTS_LDADDS)
index 789265818bf76f63637c3f84288c8b8ff48d6d64..13c4e1d0268b7b54db9577d8b12ec2dd84b7ae1e 100644 (file)
@@ -47,12 +47,10 @@ using namespace libtest;
 
 #include "tests/print.h"
 
-memcached_return_t server_print_callback(const memcached_st *ptr,
+memcached_return_t server_print_callback(const memcached_st*,
                                          const memcached_server_st *server,
                                          void *context)
 {
-  (void)ptr;
-
   if (context)
   {
     std::cerr << memcached_server_name(server) << ":" << memcached_server_port(server) << std::endl;
@@ -60,3 +58,26 @@ memcached_return_t server_print_callback(const memcached_st *ptr,
 
   return MEMCACHED_SUCCESS;
 }
+
+const char * print_version(memcached_st *memc)
+{
+  memcached_server_fn callbacks[1];
+  callbacks[0]= server_print_version_callback;
+  memcached_server_cursor(memc, callbacks, NULL,  1);
+
+  return "print_version()";
+}
+
+
+memcached_return_t server_print_version_callback(const memcached_st *,
+                                                 const memcached_server_st *server,
+                                                 void *)
+{
+  std::cerr << "Server: " << memcached_server_name(server) << ":" << memcached_server_port(server) << " " 
+    << int(server->major_version) << "."
+    << int(server->minor_version) << "."
+    << int(server->micro_version)
+    << std::endl;
+
+  return MEMCACHED_SUCCESS;
+}
index 95ba4c8d44c8bb3a7886a83762afb1ac5e1df61c..15c7a3e04062d6d8e28d6bea80972f662aab37c8 100644 (file)
@@ -40,6 +40,7 @@
 
 #include <libmemcached/util.h>
 
+#include "tests/print.h"
 #include "tests/libmemcached-1.0/setup_and_teardowns.h"
 
 #include <sys/stat.h>
@@ -61,6 +62,7 @@ memcached_return_t return_value_based_on_buffering(memcached_st *memc)
 */
 test_return_t pre_binary(memcached_st *memc)
 {
+  test_true(memcached_server_count(memc) > 0);
   test_skip(true, libmemcached_util_version_check(memc, 1, 4, 4));
   test_skip(MEMCACHED_SUCCESS, memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, true));
 
index 668daeeda9c4619a33488df7a37401bf5384ecd1..efecc9ed476497ed226aa0cfc06bfa0910fd2b15 100644 (file)
@@ -40,3 +40,9 @@
 memcached_return_t server_print_callback(const memcached_st *ptr,
                                          const memcached_server_st *server,
                                          void *context);
+
+memcached_return_t server_print_version_callback(const memcached_st *ptr,
+                                                 const memcached_server_st *server,
+                                                 void *context);
+
+const char * print_version(memcached_st *memc);
index a4b1512d62a8e7ebf4dbc7925012e2b2449bf2f5..577f09ba95835b8710c7604a1b85232ae33729aa 100644 (file)
@@ -40,6 +40,7 @@
 
 #include "tests/libmemcached-1.0/generate.h"
 #include "tests/memc.h"
+#include "tests/print.h"
 
 class LibmemcachedRunner : public libtest::Runner {
 public: