From: Continuous Integration Date: Sat, 28 Apr 2012 04:25:37 +0000 (-0700) Subject: jenkins-promote-staging-trunk-libmemcached-13 X-Git-Tag: 1.0.7~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=16727efd684309de458393e10b47f1e354aa3616;hp=fe4757c512265eef4f8905b3392f19d33c436ddf;p=m6w6%2Flibmemcached jenkins-promote-staging-trunk-libmemcached-13 --- diff --git a/ChangeLog b/ChangeLog index d5b5b009..8fb81eb4 100644 --- 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. diff --git a/configure.ac b/configure.ac index 19c54d5c..ac2b28b3 100644 --- a/configure.ac +++ b/configure.ac @@ -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])) diff --git a/docs/man/hashkit_clone.3 b/docs/man/hashkit_clone.3 index 3d37be0a..49ca9bb8 100644 --- a/docs/man/hashkit_clone.3 +++ b/docs/man/hashkit_clone.3 @@ -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 . diff --git a/docs/man/hashkit_crc32.3 b/docs/man/hashkit_crc32.3 index 631e19cf..5e28849f 100644 --- a/docs/man/hashkit_crc32.3 +++ b/docs/man/hashkit_crc32.3 @@ -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 . diff --git a/docs/man/hashkit_create.3 b/docs/man/hashkit_create.3 index 86ecb849..d31004b5 100644 --- a/docs/man/hashkit_create.3 +++ b/docs/man/hashkit_create.3 @@ -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 . diff --git a/docs/man/hashkit_fnv1_32.3 b/docs/man/hashkit_fnv1_32.3 index e5979aeb..833132ef 100644 --- a/docs/man/hashkit_fnv1_32.3 +++ b/docs/man/hashkit_fnv1_32.3 @@ -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 . diff --git a/docs/man/hashkit_fnv1_64.3 b/docs/man/hashkit_fnv1_64.3 index d4f6e35f..b0453381 100644 --- a/docs/man/hashkit_fnv1_64.3 +++ b/docs/man/hashkit_fnv1_64.3 @@ -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 . diff --git a/docs/man/hashkit_fnv1a_32.3 b/docs/man/hashkit_fnv1a_32.3 index 7a9b425f..be04fdc9 100644 --- a/docs/man/hashkit_fnv1a_32.3 +++ b/docs/man/hashkit_fnv1a_32.3 @@ -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 . diff --git a/docs/man/hashkit_fnv1a_64.3 b/docs/man/hashkit_fnv1a_64.3 index 5cb2dc91..9f7eef51 100644 --- a/docs/man/hashkit_fnv1a_64.3 +++ b/docs/man/hashkit_fnv1a_64.3 @@ -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 . diff --git a/docs/man/hashkit_free.3 b/docs/man/hashkit_free.3 index edabee86..375bba22 100644 --- a/docs/man/hashkit_free.3 +++ b/docs/man/hashkit_free.3 @@ -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 . diff --git a/docs/man/hashkit_functions.3 b/docs/man/hashkit_functions.3 index 609cb0c9..e29ed84d 100644 --- a/docs/man/hashkit_functions.3 +++ b/docs/man/hashkit_functions.3 @@ -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 . diff --git a/docs/man/hashkit_hsieh.3 b/docs/man/hashkit_hsieh.3 index 2b758bc0..fc354cc9 100644 --- a/docs/man/hashkit_hsieh.3 +++ b/docs/man/hashkit_hsieh.3 @@ -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 . diff --git a/docs/man/hashkit_is_allocated.3 b/docs/man/hashkit_is_allocated.3 index 9451619d..822e1b85 100644 --- a/docs/man/hashkit_is_allocated.3 +++ b/docs/man/hashkit_is_allocated.3 @@ -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 . diff --git a/docs/man/hashkit_jenkins.3 b/docs/man/hashkit_jenkins.3 index 73e4351a..a21b9b16 100644 --- a/docs/man/hashkit_jenkins.3 +++ b/docs/man/hashkit_jenkins.3 @@ -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 . diff --git a/docs/man/hashkit_md5.3 b/docs/man/hashkit_md5.3 index e81cd82d..29a9e49b 100644 --- a/docs/man/hashkit_md5.3 +++ b/docs/man/hashkit_md5.3 @@ -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 . diff --git a/docs/man/hashkit_murmur.3 b/docs/man/hashkit_murmur.3 index 56716a06..08183f94 100644 --- a/docs/man/hashkit_murmur.3 +++ b/docs/man/hashkit_murmur.3 @@ -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 . diff --git a/docs/man/hashkit_value.3 b/docs/man/hashkit_value.3 index 8bebc7cb..40bf32c2 100644 --- a/docs/man/hashkit_value.3 +++ b/docs/man/hashkit_value.3 @@ -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 . diff --git a/docs/man/libhashkit.3 b/docs/man/libhashkit.3 index a295012c..2b3cce92 100644 --- a/docs/man/libhashkit.3 +++ b/docs/man/libhashkit.3 @@ -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 . diff --git a/docs/man/libmemcached.3 b/docs/man/libmemcached.3 index 423070d0..c550b7ed 100644 --- a/docs/man/libmemcached.3 +++ b/docs/man/libmemcached.3 @@ -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 . diff --git a/docs/man/libmemcached_check_configuration.3 b/docs/man/libmemcached_check_configuration.3 index fe60c00e..bd626e70 100644 --- a/docs/man/libmemcached_check_configuration.3 +++ b/docs/man/libmemcached_check_configuration.3 @@ -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 . diff --git a/docs/man/libmemcached_configuration.3 b/docs/man/libmemcached_configuration.3 index db95a75c..c151a4c0 100644 --- a/docs/man/libmemcached_configuration.3 +++ b/docs/man/libmemcached_configuration.3 @@ -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 . diff --git a/docs/man/libmemcached_examples.3 b/docs/man/libmemcached_examples.3 index 5a68bd46..a34f984f 100644 --- a/docs/man/libmemcached_examples.3 +++ b/docs/man/libmemcached_examples.3 @@ -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 . diff --git a/docs/man/libmemcachedutil.3 b/docs/man/libmemcachedutil.3 index 5a3c652a..fb66ae5a 100644 --- a/docs/man/libmemcachedutil.3 +++ b/docs/man/libmemcachedutil.3 @@ -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 . diff --git a/docs/man/memaslap.1 b/docs/man/memaslap.1 index bad1f5d1..e1b8f59b 100644 --- a/docs/man/memaslap.1 +++ b/docs/man/memaslap.1 @@ -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 . diff --git a/docs/man/memcached.3 b/docs/man/memcached.3 index 2e144f06..9e77e1f8 100644 --- a/docs/man/memcached.3 +++ b/docs/man/memcached.3 @@ -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 . diff --git a/docs/man/memcached_add.3 b/docs/man/memcached_add.3 index 4be086da..305f2251 100644 --- a/docs/man/memcached_add.3 +++ b/docs/man/memcached_add.3 @@ -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 . diff --git a/docs/man/memcached_add_by_key.3 b/docs/man/memcached_add_by_key.3 index a4230e78..6cfd97bb 100644 --- a/docs/man/memcached_add_by_key.3 +++ b/docs/man/memcached_add_by_key.3 @@ -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 . diff --git a/docs/man/memcached_analyze.3 b/docs/man/memcached_analyze.3 index 9b72a8e0..6947b2d2 100644 --- a/docs/man/memcached_analyze.3 +++ b/docs/man/memcached_analyze.3 @@ -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 . diff --git a/docs/man/memcached_append.3 b/docs/man/memcached_append.3 index aa00f959..ae3db786 100644 --- a/docs/man/memcached_append.3 +++ b/docs/man/memcached_append.3 @@ -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 . diff --git a/docs/man/memcached_append_by_key.3 b/docs/man/memcached_append_by_key.3 index 82df15a2..50375978 100644 --- a/docs/man/memcached_append_by_key.3 +++ b/docs/man/memcached_append_by_key.3 @@ -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 . diff --git a/docs/man/memcached_auto.3 b/docs/man/memcached_auto.3 index 90a074ea..899f2bee 100644 --- a/docs/man/memcached_auto.3 +++ b/docs/man/memcached_auto.3 @@ -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 . diff --git a/docs/man/memcached_behavior.3 b/docs/man/memcached_behavior.3 index 546b0696..16fd9c8c 100644 --- a/docs/man/memcached_behavior.3 +++ b/docs/man/memcached_behavior.3 @@ -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 diff --git a/docs/man/memcached_behavior_get.3 b/docs/man/memcached_behavior_get.3 index 9779c62a..de0d34b8 100644 --- a/docs/man/memcached_behavior_get.3 +++ b/docs/man/memcached_behavior_get.3 @@ -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 diff --git a/docs/man/memcached_behavior_set.3 b/docs/man/memcached_behavior_set.3 index 35b55b6a..87e33846 100644 --- a/docs/man/memcached_behavior_set.3 +++ b/docs/man/memcached_behavior_set.3 @@ -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 diff --git a/docs/man/memcached_callback.3 b/docs/man/memcached_callback.3 index 56199671..2eb7ef24 100644 --- a/docs/man/memcached_callback.3 +++ b/docs/man/memcached_callback.3 @@ -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 . diff --git a/docs/man/memcached_callback_get.3 b/docs/man/memcached_callback_get.3 index 44ca250f..4e772694 100644 --- a/docs/man/memcached_callback_get.3 +++ b/docs/man/memcached_callback_get.3 @@ -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 . diff --git a/docs/man/memcached_callback_set.3 b/docs/man/memcached_callback_set.3 index d05ccffd..f4e218a6 100644 --- a/docs/man/memcached_callback_set.3 +++ b/docs/man/memcached_callback_set.3 @@ -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 . diff --git a/docs/man/memcached_cas.3 b/docs/man/memcached_cas.3 index 35a356ae..240ab0ac 100644 --- a/docs/man/memcached_cas.3 +++ b/docs/man/memcached_cas.3 @@ -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 . diff --git a/docs/man/memcached_cas_by_key.3 b/docs/man/memcached_cas_by_key.3 index 5d9c05ea..8e370424 100644 --- a/docs/man/memcached_cas_by_key.3 +++ b/docs/man/memcached_cas_by_key.3 @@ -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 . diff --git a/docs/man/memcached_clone.3 b/docs/man/memcached_clone.3 index f431991b..c756055f 100644 --- a/docs/man/memcached_clone.3 +++ b/docs/man/memcached_clone.3 @@ -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 . diff --git a/docs/man/memcached_create.3 b/docs/man/memcached_create.3 index ca0c2e53..bd022d08 100644 --- a/docs/man/memcached_create.3 +++ b/docs/man/memcached_create.3 @@ -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 . diff --git a/docs/man/memcached_decrement.3 b/docs/man/memcached_decrement.3 index b127d538..cff93686 100644 --- a/docs/man/memcached_decrement.3 +++ b/docs/man/memcached_decrement.3 @@ -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 . diff --git a/docs/man/memcached_decrement_with_initial.3 b/docs/man/memcached_decrement_with_initial.3 index d26a643e..590a9a98 100644 --- a/docs/man/memcached_decrement_with_initial.3 +++ b/docs/man/memcached_decrement_with_initial.3 @@ -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 . diff --git a/docs/man/memcached_delete.3 b/docs/man/memcached_delete.3 index 58737061..bb87a814 100644 --- a/docs/man/memcached_delete.3 +++ b/docs/man/memcached_delete.3 @@ -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 . diff --git a/docs/man/memcached_delete_by_key.3 b/docs/man/memcached_delete_by_key.3 index 93cf7290..c85f4ace 100644 --- a/docs/man/memcached_delete_by_key.3 +++ b/docs/man/memcached_delete_by_key.3 @@ -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 . diff --git a/docs/man/memcached_destroy_sasl_auth_data.3 b/docs/man/memcached_destroy_sasl_auth_data.3 index fd445cbc..bcbc07aa 100644 --- a/docs/man/memcached_destroy_sasl_auth_data.3 +++ b/docs/man/memcached_destroy_sasl_auth_data.3 @@ -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 . diff --git a/docs/man/memcached_dump.3 b/docs/man/memcached_dump.3 index b35e1b27..c1829ee2 100644 --- a/docs/man/memcached_dump.3 +++ b/docs/man/memcached_dump.3 @@ -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 . diff --git a/docs/man/memcached_exist.3 b/docs/man/memcached_exist.3 index e11cecea..d0e0c8e8 100644 --- a/docs/man/memcached_exist.3 +++ b/docs/man/memcached_exist.3 @@ -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 . diff --git a/docs/man/memcached_exist_by_key.3 b/docs/man/memcached_exist_by_key.3 index d1b15741..77ee3758 100644 --- a/docs/man/memcached_exist_by_key.3 +++ b/docs/man/memcached_exist_by_key.3 @@ -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 . diff --git a/docs/man/memcached_fetch.3 b/docs/man/memcached_fetch.3 index 80eeb48b..b9e8d06b 100644 --- a/docs/man/memcached_fetch.3 +++ b/docs/man/memcached_fetch.3 @@ -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 . diff --git a/docs/man/memcached_fetch_execute.3 b/docs/man/memcached_fetch_execute.3 index 2a49160c..9c5bc20b 100644 --- a/docs/man/memcached_fetch_execute.3 +++ b/docs/man/memcached_fetch_execute.3 @@ -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 . diff --git a/docs/man/memcached_fetch_result.3 b/docs/man/memcached_fetch_result.3 index 72101013..1ad5d392 100644 --- a/docs/man/memcached_fetch_result.3 +++ b/docs/man/memcached_fetch_result.3 @@ -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 . diff --git a/docs/man/memcached_flush.3 b/docs/man/memcached_flush.3 index 0e1467f2..56d7023a 100644 --- a/docs/man/memcached_flush.3 +++ b/docs/man/memcached_flush.3 @@ -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 . diff --git a/docs/man/memcached_flush_buffers.3 b/docs/man/memcached_flush_buffers.3 index 976fc98f..e36b15c9 100644 --- a/docs/man/memcached_flush_buffers.3 +++ b/docs/man/memcached_flush_buffers.3 @@ -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 . diff --git a/docs/man/memcached_free.3 b/docs/man/memcached_free.3 index 0120e08c..49715cc7 100644 --- a/docs/man/memcached_free.3 +++ b/docs/man/memcached_free.3 @@ -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 . diff --git a/docs/man/memcached_generate_hash.3 b/docs/man/memcached_generate_hash.3 index 3bbbe447..e9fcb827 100644 --- a/docs/man/memcached_generate_hash.3 +++ b/docs/man/memcached_generate_hash.3 @@ -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 . diff --git a/docs/man/memcached_generate_hash_value.3 b/docs/man/memcached_generate_hash_value.3 index 76226e73..be99ff61 100644 --- a/docs/man/memcached_generate_hash_value.3 +++ b/docs/man/memcached_generate_hash_value.3 @@ -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 . diff --git a/docs/man/memcached_get.3 b/docs/man/memcached_get.3 index 59b308d6..0ec1489b 100644 --- a/docs/man/memcached_get.3 +++ b/docs/man/memcached_get.3 @@ -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 . diff --git a/docs/man/memcached_get_by_key.3 b/docs/man/memcached_get_by_key.3 index 8903ffcc..0c19af75 100644 --- a/docs/man/memcached_get_by_key.3 +++ b/docs/man/memcached_get_by_key.3 @@ -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 . diff --git a/docs/man/memcached_get_memory_allocators.3 b/docs/man/memcached_get_memory_allocators.3 index b20b1e7b..a0a53503 100644 --- a/docs/man/memcached_get_memory_allocators.3 +++ b/docs/man/memcached_get_memory_allocators.3 @@ -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 . diff --git a/docs/man/memcached_get_sasl_callbacks.3 b/docs/man/memcached_get_sasl_callbacks.3 index f730edbb..51d7a5b9 100644 --- a/docs/man/memcached_get_sasl_callbacks.3 +++ b/docs/man/memcached_get_sasl_callbacks.3 @@ -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 . diff --git a/docs/man/memcached_get_user_data.3 b/docs/man/memcached_get_user_data.3 index 96253127..a1afb85b 100644 --- a/docs/man/memcached_get_user_data.3 +++ b/docs/man/memcached_get_user_data.3 @@ -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 . diff --git a/docs/man/memcached_increment.3 b/docs/man/memcached_increment.3 index 662aed98..76de5cfb 100644 --- a/docs/man/memcached_increment.3 +++ b/docs/man/memcached_increment.3 @@ -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 . diff --git a/docs/man/memcached_increment_with_initial.3 b/docs/man/memcached_increment_with_initial.3 index 3672dd06..a6083f96 100644 --- a/docs/man/memcached_increment_with_initial.3 +++ b/docs/man/memcached_increment_with_initial.3 @@ -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 . diff --git a/docs/man/memcached_last_error_message.3 b/docs/man/memcached_last_error_message.3 index dfa12720..c4fbb447 100644 --- a/docs/man/memcached_last_error_message.3 +++ b/docs/man/memcached_last_error_message.3 @@ -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 . diff --git a/docs/man/memcached_lib_version.3 b/docs/man/memcached_lib_version.3 index 93aa0f71..130699b2 100644 --- a/docs/man/memcached_lib_version.3 +++ b/docs/man/memcached_lib_version.3 @@ -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 . diff --git a/docs/man/memcached_memory_allocators.3 b/docs/man/memcached_memory_allocators.3 index e332dc2f..acb22738 100644 --- a/docs/man/memcached_memory_allocators.3 +++ b/docs/man/memcached_memory_allocators.3 @@ -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 . diff --git a/docs/man/memcached_mget.3 b/docs/man/memcached_mget.3 index 16f89552..8f77d2d4 100644 --- a/docs/man/memcached_mget.3 +++ b/docs/man/memcached_mget.3 @@ -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 . diff --git a/docs/man/memcached_mget_by_key.3 b/docs/man/memcached_mget_by_key.3 index 3090772d..2ebbc663 100644 --- a/docs/man/memcached_mget_by_key.3 +++ b/docs/man/memcached_mget_by_key.3 @@ -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 . diff --git a/docs/man/memcached_mget_execute.3 b/docs/man/memcached_mget_execute.3 index 1d3df11c..7f1af309 100644 --- a/docs/man/memcached_mget_execute.3 +++ b/docs/man/memcached_mget_execute.3 @@ -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 . diff --git a/docs/man/memcached_mget_execute_by_key.3 b/docs/man/memcached_mget_execute_by_key.3 index 76181b01..00e14569 100644 --- a/docs/man/memcached_mget_execute_by_key.3 +++ b/docs/man/memcached_mget_execute_by_key.3 @@ -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 . diff --git a/docs/man/memcached_pool.3 b/docs/man/memcached_pool.3 index 11c151a5..91d515af 100644 --- a/docs/man/memcached_pool.3 +++ b/docs/man/memcached_pool.3 @@ -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 . diff --git a/docs/man/memcached_pool_behavior_get.3 b/docs/man/memcached_pool_behavior_get.3 index e9eaa649..eb78ba63 100644 --- a/docs/man/memcached_pool_behavior_get.3 +++ b/docs/man/memcached_pool_behavior_get.3 @@ -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 . diff --git a/docs/man/memcached_pool_behavior_set.3 b/docs/man/memcached_pool_behavior_set.3 index adfa7fa4..ee3ca4e1 100644 --- a/docs/man/memcached_pool_behavior_set.3 +++ b/docs/man/memcached_pool_behavior_set.3 @@ -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 . diff --git a/docs/man/memcached_pool_create.3 b/docs/man/memcached_pool_create.3 index 3b06daf5..bd50b1b6 100644 --- a/docs/man/memcached_pool_create.3 +++ b/docs/man/memcached_pool_create.3 @@ -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 . diff --git a/docs/man/memcached_pool_destroy.3 b/docs/man/memcached_pool_destroy.3 index a7ead190..fc05293e 100644 --- a/docs/man/memcached_pool_destroy.3 +++ b/docs/man/memcached_pool_destroy.3 @@ -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 . diff --git a/docs/man/memcached_pool_fetch.3 b/docs/man/memcached_pool_fetch.3 index 47f8c8d3..897857a1 100644 --- a/docs/man/memcached_pool_fetch.3 +++ b/docs/man/memcached_pool_fetch.3 @@ -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 . diff --git a/docs/man/memcached_pool_pop.3 b/docs/man/memcached_pool_pop.3 index 60c224de..705bb0c3 100644 --- a/docs/man/memcached_pool_pop.3 +++ b/docs/man/memcached_pool_pop.3 @@ -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 . diff --git a/docs/man/memcached_pool_push.3 b/docs/man/memcached_pool_push.3 index 81d869de..9716dd89 100644 --- a/docs/man/memcached_pool_push.3 +++ b/docs/man/memcached_pool_push.3 @@ -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 . diff --git a/docs/man/memcached_pool_release.3 b/docs/man/memcached_pool_release.3 index cb4520e4..cae64a8b 100644 --- a/docs/man/memcached_pool_release.3 +++ b/docs/man/memcached_pool_release.3 @@ -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 . diff --git a/docs/man/memcached_pool_st.3 b/docs/man/memcached_pool_st.3 index 8e4a61c3..90d52bd6 100644 --- a/docs/man/memcached_pool_st.3 +++ b/docs/man/memcached_pool_st.3 @@ -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 . diff --git a/docs/man/memcached_prepend.3 b/docs/man/memcached_prepend.3 index 95d567b6..ff37b0b9 100644 --- a/docs/man/memcached_prepend.3 +++ b/docs/man/memcached_prepend.3 @@ -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 . diff --git a/docs/man/memcached_prepend_by_key.3 b/docs/man/memcached_prepend_by_key.3 index 88a65ac1..7ae5b575 100644 --- a/docs/man/memcached_prepend_by_key.3 +++ b/docs/man/memcached_prepend_by_key.3 @@ -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 . diff --git a/docs/man/memcached_quit.3 b/docs/man/memcached_quit.3 index 8523b72b..49fc66ad 100644 --- a/docs/man/memcached_quit.3 +++ b/docs/man/memcached_quit.3 @@ -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 . diff --git a/docs/man/memcached_replace.3 b/docs/man/memcached_replace.3 index decc0598..470cf5ff 100644 --- a/docs/man/memcached_replace.3 +++ b/docs/man/memcached_replace.3 @@ -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 . diff --git a/docs/man/memcached_replace_by_key.3 b/docs/man/memcached_replace_by_key.3 index cc6f00b7..088058ee 100644 --- a/docs/man/memcached_replace_by_key.3 +++ b/docs/man/memcached_replace_by_key.3 @@ -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 . diff --git a/docs/man/memcached_result_cas.3 b/docs/man/memcached_result_cas.3 index 3e61b2be..9d18045f 100644 --- a/docs/man/memcached_result_cas.3 +++ b/docs/man/memcached_result_cas.3 @@ -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 . diff --git a/docs/man/memcached_result_create.3 b/docs/man/memcached_result_create.3 index 255d00c0..61ef3fdb 100644 --- a/docs/man/memcached_result_create.3 +++ b/docs/man/memcached_result_create.3 @@ -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 . diff --git a/docs/man/memcached_result_flags.3 b/docs/man/memcached_result_flags.3 index c94e48d6..af6c3ec6 100644 --- a/docs/man/memcached_result_flags.3 +++ b/docs/man/memcached_result_flags.3 @@ -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 . diff --git a/docs/man/memcached_result_free.3 b/docs/man/memcached_result_free.3 index 9a6780d9..76405f55 100644 --- a/docs/man/memcached_result_free.3 +++ b/docs/man/memcached_result_free.3 @@ -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 . diff --git a/docs/man/memcached_result_key_length.3 b/docs/man/memcached_result_key_length.3 index 9dca2b54..a01d3568 100644 --- a/docs/man/memcached_result_key_length.3 +++ b/docs/man/memcached_result_key_length.3 @@ -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 . diff --git a/docs/man/memcached_result_key_value.3 b/docs/man/memcached_result_key_value.3 index 0491c055..9ed4994c 100644 --- a/docs/man/memcached_result_key_value.3 +++ b/docs/man/memcached_result_key_value.3 @@ -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 . diff --git a/docs/man/memcached_result_length.3 b/docs/man/memcached_result_length.3 index 3713185a..45900131 100644 --- a/docs/man/memcached_result_length.3 +++ b/docs/man/memcached_result_length.3 @@ -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 . diff --git a/docs/man/memcached_result_st.3 b/docs/man/memcached_result_st.3 index acc39a35..165288c3 100644 --- a/docs/man/memcached_result_st.3 +++ b/docs/man/memcached_result_st.3 @@ -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 . diff --git a/docs/man/memcached_result_value.3 b/docs/man/memcached_result_value.3 index 9750e47a..2783e380 100644 --- a/docs/man/memcached_result_value.3 +++ b/docs/man/memcached_result_value.3 @@ -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 . diff --git a/docs/man/memcached_return_t.3 b/docs/man/memcached_return_t.3 index acb9b636..7e395ec5 100644 --- a/docs/man/memcached_return_t.3 +++ b/docs/man/memcached_return_t.3 @@ -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 . diff --git a/docs/man/memcached_sasl.3 b/docs/man/memcached_sasl.3 index 8324e2ee..52d9104a 100644 --- a/docs/man/memcached_sasl.3 +++ b/docs/man/memcached_sasl.3 @@ -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 . diff --git a/docs/man/memcached_sasl_set_auth_data.3 b/docs/man/memcached_sasl_set_auth_data.3 index 04f623cf..fecd1e26 100644 --- a/docs/man/memcached_sasl_set_auth_data.3 +++ b/docs/man/memcached_sasl_set_auth_data.3 @@ -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 . diff --git a/docs/man/memcached_server_add.3 b/docs/man/memcached_server_add.3 index 8f6db357..07160955 100644 --- a/docs/man/memcached_server_add.3 +++ b/docs/man/memcached_server_add.3 @@ -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 . diff --git a/docs/man/memcached_server_add_unix_socket.3 b/docs/man/memcached_server_add_unix_socket.3 index df28ff7c..ef387b18 100644 --- a/docs/man/memcached_server_add_unix_socket.3 +++ b/docs/man/memcached_server_add_unix_socket.3 @@ -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 . diff --git a/docs/man/memcached_server_count.3 b/docs/man/memcached_server_count.3 index 4f4206c1..98faba66 100644 --- a/docs/man/memcached_server_count.3 +++ b/docs/man/memcached_server_count.3 @@ -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 . diff --git a/docs/man/memcached_server_cursor.3 b/docs/man/memcached_server_cursor.3 index 6d216c44..40be8c49 100644 --- a/docs/man/memcached_server_cursor.3 +++ b/docs/man/memcached_server_cursor.3 @@ -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 . diff --git a/docs/man/memcached_server_list.3 b/docs/man/memcached_server_list.3 index 357214d2..0ce6ce96 100644 --- a/docs/man/memcached_server_list.3 +++ b/docs/man/memcached_server_list.3 @@ -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 . diff --git a/docs/man/memcached_server_list_append.3 b/docs/man/memcached_server_list_append.3 index 152b4f85..5eb6f113 100644 --- a/docs/man/memcached_server_list_append.3 +++ b/docs/man/memcached_server_list_append.3 @@ -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 . diff --git a/docs/man/memcached_server_list_count.3 b/docs/man/memcached_server_list_count.3 index 71d81d34..7bc94daf 100644 --- a/docs/man/memcached_server_list_count.3 +++ b/docs/man/memcached_server_list_count.3 @@ -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 . diff --git a/docs/man/memcached_server_list_free.3 b/docs/man/memcached_server_list_free.3 index 46b4a560..bd834b45 100644 --- a/docs/man/memcached_server_list_free.3 +++ b/docs/man/memcached_server_list_free.3 @@ -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 . diff --git a/docs/man/memcached_server_push.3 b/docs/man/memcached_server_push.3 index 7b9661a7..13f340b5 100644 --- a/docs/man/memcached_server_push.3 +++ b/docs/man/memcached_server_push.3 @@ -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 . diff --git a/docs/man/memcached_server_st.3 b/docs/man/memcached_server_st.3 index 573ffd2f..f4b0ce50 100644 --- a/docs/man/memcached_server_st.3 +++ b/docs/man/memcached_server_st.3 @@ -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 . diff --git a/docs/man/memcached_servers.3 b/docs/man/memcached_servers.3 index f27c6463..1394548d 100644 --- a/docs/man/memcached_servers.3 +++ b/docs/man/memcached_servers.3 @@ -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 . diff --git a/docs/man/memcached_servers_parse.3 b/docs/man/memcached_servers_parse.3 index fb23bc03..8ed3a967 100644 --- a/docs/man/memcached_servers_parse.3 +++ b/docs/man/memcached_servers_parse.3 @@ -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 . diff --git a/docs/man/memcached_servers_reset.3 b/docs/man/memcached_servers_reset.3 index ddcb9bd3..b61f263c 100644 --- a/docs/man/memcached_servers_reset.3 +++ b/docs/man/memcached_servers_reset.3 @@ -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 . diff --git a/docs/man/memcached_set.3 b/docs/man/memcached_set.3 index 9bb11f51..0b5b3fe9 100644 --- a/docs/man/memcached_set.3 +++ b/docs/man/memcached_set.3 @@ -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 . diff --git a/docs/man/memcached_set_by_key.3 b/docs/man/memcached_set_by_key.3 index 747c21c5..89f0e383 100644 --- a/docs/man/memcached_set_by_key.3 +++ b/docs/man/memcached_set_by_key.3 @@ -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 . diff --git a/docs/man/memcached_set_memory_allocators.3 b/docs/man/memcached_set_memory_allocators.3 index b1967796..1c7f256e 100644 --- a/docs/man/memcached_set_memory_allocators.3 +++ b/docs/man/memcached_set_memory_allocators.3 @@ -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 . diff --git a/docs/man/memcached_set_memory_allocators_context.3 b/docs/man/memcached_set_memory_allocators_context.3 index 85f2bfc1..5838968f 100644 --- a/docs/man/memcached_set_memory_allocators_context.3 +++ b/docs/man/memcached_set_memory_allocators_context.3 @@ -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 . diff --git a/docs/man/memcached_set_sasl_callbacks.3 b/docs/man/memcached_set_sasl_callbacks.3 index 2a56056f..13b17c0c 100644 --- a/docs/man/memcached_set_sasl_callbacks.3 +++ b/docs/man/memcached_set_sasl_callbacks.3 @@ -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 . diff --git a/docs/man/memcached_set_user_data.3 b/docs/man/memcached_set_user_data.3 index 5096dd74..ff7ce482 100644 --- a/docs/man/memcached_set_user_data.3 +++ b/docs/man/memcached_set_user_data.3 @@ -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 . diff --git a/docs/man/memcached_stat.3 b/docs/man/memcached_stat.3 index 00234626..1a89e23f 100644 --- a/docs/man/memcached_stat.3 +++ b/docs/man/memcached_stat.3 @@ -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 . diff --git a/docs/man/memcached_stat_execute.3 b/docs/man/memcached_stat_execute.3 index 83b202c7..6cd9f298 100644 --- a/docs/man/memcached_stat_execute.3 +++ b/docs/man/memcached_stat_execute.3 @@ -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 . diff --git a/docs/man/memcached_stat_get_keys.3 b/docs/man/memcached_stat_get_keys.3 index bbbacb26..996a0efa 100644 --- a/docs/man/memcached_stat_get_keys.3 +++ b/docs/man/memcached_stat_get_keys.3 @@ -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 . diff --git a/docs/man/memcached_stat_get_value.3 b/docs/man/memcached_stat_get_value.3 index 1e8fb652..578e1f19 100644 --- a/docs/man/memcached_stat_get_value.3 +++ b/docs/man/memcached_stat_get_value.3 @@ -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 . diff --git a/docs/man/memcached_stat_servername.3 b/docs/man/memcached_stat_servername.3 index 5596d045..394dc7af 100644 --- a/docs/man/memcached_stat_servername.3 +++ b/docs/man/memcached_stat_servername.3 @@ -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 . diff --git a/docs/man/memcached_stats.3 b/docs/man/memcached_stats.3 index 71daab34..bd35ac02 100644 --- a/docs/man/memcached_stats.3 +++ b/docs/man/memcached_stats.3 @@ -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 . diff --git a/docs/man/memcached_strerror.3 b/docs/man/memcached_strerror.3 index e4ba3369..39d287b2 100644 --- a/docs/man/memcached_strerror.3 +++ b/docs/man/memcached_strerror.3 @@ -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 . diff --git a/docs/man/memcached_touch.3 b/docs/man/memcached_touch.3 index ede1c05a..97c757a6 100644 --- a/docs/man/memcached_touch.3 +++ b/docs/man/memcached_touch.3 @@ -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 . diff --git a/docs/man/memcached_touch_by_key.3 b/docs/man/memcached_touch_by_key.3 index e0afd4f7..37f7de0c 100644 --- a/docs/man/memcached_touch_by_key.3 +++ b/docs/man/memcached_touch_by_key.3 @@ -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 . diff --git a/docs/man/memcached_user_data.3 b/docs/man/memcached_user_data.3 index 52351718..dd80ecd9 100644 --- a/docs/man/memcached_user_data.3 +++ b/docs/man/memcached_user_data.3 @@ -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 . diff --git a/docs/man/memcached_verbosity.3 b/docs/man/memcached_verbosity.3 index d6a9e1e0..c8981bf6 100644 --- a/docs/man/memcached_verbosity.3 +++ b/docs/man/memcached_verbosity.3 @@ -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 . diff --git a/docs/man/memcached_version.3 b/docs/man/memcached_version.3 index 7cefa89e..607e003f 100644 --- a/docs/man/memcached_version.3 +++ b/docs/man/memcached_version.3 @@ -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 . diff --git a/docs/man/memcapable.1 b/docs/man/memcapable.1 index 28b2a9d8..b3143444 100644 --- a/docs/man/memcapable.1 +++ b/docs/man/memcapable.1 @@ -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 . diff --git a/docs/man/memcat.1 b/docs/man/memcat.1 index 14ff8e36..d5e1bab7 100644 --- a/docs/man/memcat.1 +++ b/docs/man/memcat.1 @@ -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 . diff --git a/docs/man/memcp.1 b/docs/man/memcp.1 index 92aa988d..b67f1816 100644 --- a/docs/man/memcp.1 +++ b/docs/man/memcp.1 @@ -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 . diff --git a/docs/man/memdump.1 b/docs/man/memdump.1 index a3f3bd92..a2eb1e3c 100644 --- a/docs/man/memdump.1 +++ b/docs/man/memdump.1 @@ -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 . diff --git a/docs/man/memerror.1 b/docs/man/memerror.1 index baf39137..593455f2 100644 --- a/docs/man/memerror.1 +++ b/docs/man/memerror.1 @@ -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 . diff --git a/docs/man/memflush.1 b/docs/man/memflush.1 index a73f61a9..3864f353 100644 --- a/docs/man/memflush.1 +++ b/docs/man/memflush.1 @@ -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 . diff --git a/docs/man/memrm.1 b/docs/man/memrm.1 index ab0eaea6..41da5d7d 100644 --- a/docs/man/memrm.1 +++ b/docs/man/memrm.1 @@ -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 . diff --git a/docs/man/memslap.1 b/docs/man/memslap.1 index d5ddb7f4..2ef4f413 100644 --- a/docs/man/memslap.1 +++ b/docs/man/memslap.1 @@ -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 . diff --git a/docs/man/memstat.1 b/docs/man/memstat.1 index 623fb08a..e1737d5f 100644 --- a/docs/man/memstat.1 +++ b/docs/man/memstat.1 @@ -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 . diff --git a/docs/memcached_behavior.rst b/docs/memcached_behavior.rst index ee1bb234..6c401282 100644 --- a/docs/memcached_behavior.rst +++ b/docs/memcached_behavior.rst @@ -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 diff --git a/example/t/include.am b/example/t/include.am index b9b7556d..212207f4 100644 --- a/example/t/include.am +++ b/example/t/include.am @@ -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 diff --git a/libmemcached-1.0/exist.h b/libmemcached-1.0/exist.h index 816fe2f8..5c60105a 100644 --- a/libmemcached-1.0/exist.h +++ b/libmemcached-1.0/exist.h @@ -36,8 +36,10 @@ #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); diff --git a/libmemcached-1.0/struct/server.h b/libmemcached-1.0/struct/server.h index e2be59b8..a1ed7389 100644 --- a/libmemcached-1.0/struct/server.h +++ b/libmemcached-1.0/struct/server.h @@ -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; diff --git a/libmemcached/allocators.cc b/libmemcached/allocators.cc index 98c87591..aaa66dba 100644 --- a/libmemcached/allocators.cc +++ b/libmemcached/allocators.cc @@ -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; + } } diff --git a/libmemcached/analyze.cc b/libmemcached/analyze.cc index 576b6a6b..7115d06f 100644 --- a/libmemcached/analyze.cc +++ b/libmemcached/analyze.cc @@ -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= ¬_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); } diff --git a/libmemcached/backtrace.cc b/libmemcached/backtrace.cc index 8fb8acc7..3924e0b0 100644 --- a/libmemcached/backtrace.cc +++ b/libmemcached/backtrace.cc @@ -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 } diff --git a/libmemcached/common.h b/libmemcached/common.h index e6b24944..f7559376 100644 --- a/libmemcached/common.h +++ b/libmemcached/common.h @@ -49,17 +49,19 @@ #include #include #include -#include +#include +#include +#include #else #include #include #include #include +#include +#include #endif -#include #include -#include #include #include diff --git a/libmemcached/error.cc b/libmemcached/error.cc index 1ca355b8..b2af961a 100644 --- a/libmemcached/error.cc +++ b/libmemcached/error.cc @@ -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); } diff --git a/libmemcached/memcached.cc b/libmemcached/memcached.cc index cd0768eb..2eb91281 100644 --- a/libmemcached/memcached.cc +++ b/libmemcached/memcached.cc @@ -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; } diff --git a/libmemcached/memcached/protocol_binary.h b/libmemcached/memcached/protocol_binary.h index ad6202e8..51e2c422 100644 --- a/libmemcached/memcached/protocol_binary.h +++ b/libmemcached/memcached/protocol_binary.h @@ -36,7 +36,7 @@ #ifndef PROTOCOL_BINARY_H #define PROTOCOL_BINARY_H -#include "vbucket.h" +#include /** * \addtogroup Protocol diff --git a/libmemcached/memcached/vbucket.h b/libmemcached/memcached/vbucket.h index c6c4d8ca..e2cc563e 100644 --- a/libmemcached/memcached/vbucket.h +++ b/libmemcached/memcached/vbucket.h @@ -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 diff --git a/libmemcached/memory.h b/libmemcached/memory.h index dd009237..06cc9985 100644 --- a/libmemcached/memory.h +++ b/libmemcached/memory.h @@ -36,6 +36,8 @@ #pragma once +#include + #include #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))) diff --git a/libmemcached/response.cc b/libmemcached/response.cc index faf20ff9..809d5b6f 100644 --- a/libmemcached/response.cc +++ b/libmemcached/response.cc @@ -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")); diff --git a/libmemcachedprotocol-0.0/binary.h b/libmemcachedprotocol-0.0/binary.h index 73cd35b1..51e2c422 100644 --- a/libmemcachedprotocol-0.0/binary.h +++ b/libmemcachedprotocol-0.0/binary.h @@ -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, diff --git a/libmemcachedprotocol/binary_handler.c b/libmemcachedprotocol/binary_handler.c index 3778e344..d720424a 100644 --- a/libmemcachedprotocol/binary_handler.c +++ b/libmemcachedprotocol/binary_handler.c @@ -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(); diff --git a/libtest/test.h b/libtest/test.h index d349e54a..d3d65287 100644 --- a/libtest/test.h +++ b/libtest/test.h @@ -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 \ { \ diff --git a/m4/bottom.m4 b/m4/bottom.m4 index 798ff2c4..9f99d428 100644 --- a/m4/bottom.m4 +++ b/m4/bottom.m4 @@ -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 diff --git a/memcached/include.am b/memcached/include.am index c1d6325d..4d84c6c8 100644 --- a/memcached/include.am +++ b/memcached/include.am @@ -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} diff --git a/memcached/memcached.c b/memcached/memcached.c index 10e89f80..10374421 100644 --- a/memcached/memcached.c +++ b/memcached/memcached.c @@ -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 TCP port number to listen on (default: 11211)\n" "-U UDP port number to listen on (default: 11211, 0 is off)\n" "-s 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. \n" "All rights reserved.\n" diff --git a/tests/include.am b/tests/include.am index a53f45be..165b79b8 100644 --- a/tests/include.am +++ b/tests/include.am @@ -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) diff --git a/tests/libmemcached-1.0/include.am b/tests/libmemcached-1.0/include.am index d4b3fc14..e71c4eb8 100644 --- a/tests/libmemcached-1.0/include.am +++ b/tests/libmemcached-1.0/include.am @@ -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) diff --git a/tests/libmemcached-1.0/print.cc b/tests/libmemcached-1.0/print.cc index 78926581..13c4e1d0 100644 --- a/tests/libmemcached-1.0/print.cc +++ b/tests/libmemcached-1.0/print.cc @@ -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; +} diff --git a/tests/libmemcached-1.0/setup_and_teardowns.cc b/tests/libmemcached-1.0/setup_and_teardowns.cc index 95ba4c8d..15c7a3e0 100644 --- a/tests/libmemcached-1.0/setup_and_teardowns.cc +++ b/tests/libmemcached-1.0/setup_and_teardowns.cc @@ -40,6 +40,7 @@ #include +#include "tests/print.h" #include "tests/libmemcached-1.0/setup_and_teardowns.h" #include @@ -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)); diff --git a/tests/print.h b/tests/print.h index 668daeed..efecc9ed 100644 --- a/tests/print.h +++ b/tests/print.h @@ -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); diff --git a/tests/runner.h b/tests/runner.h index a4b1512d..577f09ba 100644 --- a/tests/runner.h +++ b/tests/runner.h @@ -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: