Merge working tree with build tree.
authorContinuous Integration <ci@tangent.org>
Wed, 14 Mar 2012 15:27:29 +0000 (08:27 -0700)
committerContinuous Integration <ci@tangent.org>
Wed, 14 Mar 2012 15:27:29 +0000 (08:27 -0700)
137 files changed:
ChangeLog
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

index cb1582811626e05fa8278c141b6bf55b7324dbdf..5854626342d559fb8fb6017febcaa24a94f04172 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,10 @@
-1.0.5
+1.0.5 Tue Mar 13 22:56:47 PDT 2012
+* Fixes for OSX.
 * Version is now parsed directly in the parser, which makes buffered operations now work with it..
 * memstat has been extended so that it can be used to find the version of the server.
 * Update documentation.
 * Fixes for compile issues on Debian and Ubuntu
 
-
 1.0.4 Thu Jan 26 22:33:54 PST 2012
 * Fix for memcached_dump().
 * Additional testing for memcached_stat_execute().
index 8a4171deaac765a9a1b0d6faf1fcd7a84d6c4c02..2309accf2fdc5c958209eae87befd44cb66af5be 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CLONE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_CLONE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_clone \- libhashkit Documentation
 .
@@ -39,46 +39,46 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_create(hashkit_st *hash);
+.B \fI\%hashkit_st\fP *hashkit_create(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr);
+.B \fI\%hashkit_st\fP *hashkit_clone(\fI\%hashkit_st\fP\fI\ *destination\fP, const \fI\%hashkit_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void hashkit_free(hashkit_st *hash);
+.B void hashkit_free(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool hashkit_is_allocated(const hashkit_st *hash);
+.B bool hashkit_is_allocated(const \fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
 .SH DESCRIPTION
 .sp
-The \fBhashkit_create()\fP function initializes a hashkit object for use. If
+The \fI\%hashkit_create()\fP function initializes a hashkit object for use. If
 you pass a NULL argument for hash, then the memory for the object is
 allocated. If you specify a pre\-allocated piece of memory, that is
 initialized for use.
 .sp
-The \fBhashkit_clone()\fP function initializes a hashkit object much like
-\fBhashkit_create()\fP, but instead of using default settings it will use
+The \fI\%hashkit_clone()\fP function initializes a hashkit object much like
+\fI\%hashkit_create()\fP, but instead of using default settings it will use
 the settings of the ptr hashkit object.
 .sp
-The \fBhashkit_free()\fP frees any resources being consumed by the hashkit
-objects that were initialized with \fBhashkit_create()\fP or \fBhashkit_clone()\fP.
+The \fI\%hashkit_free()\fP frees any resources being consumed by the hashkit
+objects that were initialized with \fI\%hashkit_create()\fP or \fI\%hashkit_clone()\fP.
 .sp
-The \fBhashkit_is_allocated()\fP reports where the memory was allocated
+The \fI\%hashkit_is_allocated()\fP reports where the memory was allocated
 for a hashkit object.
 .SH RETURN VALUE
 .sp
-\fBhashkit_create()\fP and \fBhashkit_clone()\fP will return NULL on
+\fI\%hashkit_create()\fP and \fI\%hashkit_clone()\fP will return NULL on
 failure or non\-NULL on success.
 .sp
-\fBhashkit_is_allocated()\fP returns true if the memory for the hashkit
-object was allocated inside of \fBhashkit_create()\fP or
-\fBhashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
+\fI\%hashkit_is_allocated()\fP returns true if the memory for the hashkit
+object was allocated inside of \fI\%hashkit_create()\fP or
+\fI\%hashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
 .SH HOME
 .sp
 To find out more information please check:
index 4dfc94841591f73feee91ee2803c6ae5cb7caa00..242fe346e409fbf080aef419864759db63525fda 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CRC32" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_CRC32" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_crc32 \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 988879fffbdcf35d221326c0685cd0d526ae711a..8d3311988adf95017d9c561a5ac4b227987229bf 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CREATE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_CREATE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_create \- libhashkit Documentation
 .
@@ -39,46 +39,46 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_create(hashkit_st *hash);
+.B \fI\%hashkit_st\fP *hashkit_create(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr);
+.B \fI\%hashkit_st\fP *hashkit_clone(\fI\%hashkit_st\fP\fI\ *destination\fP, const \fI\%hashkit_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void hashkit_free(hashkit_st *hash);
+.B void hashkit_free(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool hashkit_is_allocated(const hashkit_st *hash);
+.B bool hashkit_is_allocated(const \fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
 .SH DESCRIPTION
 .sp
-The \fBhashkit_create()\fP function initializes a hashkit object for use. If
+The \fI\%hashkit_create()\fP function initializes a hashkit object for use. If
 you pass a NULL argument for hash, then the memory for the object is
 allocated. If you specify a pre\-allocated piece of memory, that is
 initialized for use.
 .sp
-The \fBhashkit_clone()\fP function initializes a hashkit object much like
-\fBhashkit_create()\fP, but instead of using default settings it will use
+The \fI\%hashkit_clone()\fP function initializes a hashkit object much like
+\fI\%hashkit_create()\fP, but instead of using default settings it will use
 the settings of the ptr hashkit object.
 .sp
-The \fBhashkit_free()\fP frees any resources being consumed by the hashkit
-objects that were initialized with \fBhashkit_create()\fP or \fBhashkit_clone()\fP.
+The \fI\%hashkit_free()\fP frees any resources being consumed by the hashkit
+objects that were initialized with \fI\%hashkit_create()\fP or \fI\%hashkit_clone()\fP.
 .sp
-The \fBhashkit_is_allocated()\fP reports where the memory was allocated
+The \fI\%hashkit_is_allocated()\fP reports where the memory was allocated
 for a hashkit object.
 .SH RETURN VALUE
 .sp
-\fBhashkit_create()\fP and \fBhashkit_clone()\fP will return NULL on
+\fI\%hashkit_create()\fP and \fI\%hashkit_clone()\fP will return NULL on
 failure or non\-NULL on success.
 .sp
-\fBhashkit_is_allocated()\fP returns true if the memory for the hashkit
-object was allocated inside of \fBhashkit_create()\fP or
-\fBhashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
+\fI\%hashkit_is_allocated()\fP returns true if the memory for the hashkit
+object was allocated inside of \fI\%hashkit_create()\fP or
+\fI\%hashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
 .SH HOME
 .sp
 To find out more information please check:
index dc88bec701b7f3a211aa110912274e9d360068df..8371464054f0dce6cb22dc033cf857ed0fea0ab4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1_32" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_FNV1_32" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_fnv1_32 \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 315d3cf6b35ab42018a62df1de35ba05c91db4ab..0826d1ca02d9a7fea90521139f10094fc013793f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1_64" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_FNV1_64" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_fnv1_64 \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 85b1baf7f748a2ccd07377017c644f4e94147deb..7c688898dd0d69269c176da27f0c674988905bba 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1A_32" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_FNV1A_32" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_fnv1a_32 \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 48dd094866c410258e3cdfdaf4b8e839cc0b4a6d..7bcb4d77bf549d21b6db01ce02548bbea1b591d5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1A_64" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_FNV1A_64" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_fnv1a_64 \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 3295d4e10ab1d89c33fd6dac16b80d67237cd43f..42360b38ca938f8a9836af7b83edde5d26f9dbc2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FREE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_FREE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_free \- libhashkit Documentation
 .
@@ -39,46 +39,46 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_create(hashkit_st *hash);
+.B \fI\%hashkit_st\fP *hashkit_create(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr);
+.B \fI\%hashkit_st\fP *hashkit_clone(\fI\%hashkit_st\fP\fI\ *destination\fP, const \fI\%hashkit_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void hashkit_free(hashkit_st *hash);
+.B void hashkit_free(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool hashkit_is_allocated(const hashkit_st *hash);
+.B bool hashkit_is_allocated(const \fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
 .SH DESCRIPTION
 .sp
-The \fBhashkit_create()\fP function initializes a hashkit object for use. If
+The \fI\%hashkit_create()\fP function initializes a hashkit object for use. If
 you pass a NULL argument for hash, then the memory for the object is
 allocated. If you specify a pre\-allocated piece of memory, that is
 initialized for use.
 .sp
-The \fBhashkit_clone()\fP function initializes a hashkit object much like
-\fBhashkit_create()\fP, but instead of using default settings it will use
+The \fI\%hashkit_clone()\fP function initializes a hashkit object much like
+\fI\%hashkit_create()\fP, but instead of using default settings it will use
 the settings of the ptr hashkit object.
 .sp
-The \fBhashkit_free()\fP frees any resources being consumed by the hashkit
-objects that were initialized with \fBhashkit_create()\fP or \fBhashkit_clone()\fP.
+The \fI\%hashkit_free()\fP frees any resources being consumed by the hashkit
+objects that were initialized with \fI\%hashkit_create()\fP or \fI\%hashkit_clone()\fP.
 .sp
-The \fBhashkit_is_allocated()\fP reports where the memory was allocated
+The \fI\%hashkit_is_allocated()\fP reports where the memory was allocated
 for a hashkit object.
 .SH RETURN VALUE
 .sp
-\fBhashkit_create()\fP and \fBhashkit_clone()\fP will return NULL on
+\fI\%hashkit_create()\fP and \fI\%hashkit_clone()\fP will return NULL on
 failure or non\-NULL on success.
 .sp
-\fBhashkit_is_allocated()\fP returns true if the memory for the hashkit
-object was allocated inside of \fBhashkit_create()\fP or
-\fBhashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
+\fI\%hashkit_is_allocated()\fP returns true if the memory for the hashkit
+object was allocated inside of \fI\%hashkit_create()\fP or
+\fI\%hashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
 .SH HOME
 .sp
 To find out more information please check:
index 7734a6d98c32e74ba26895d2a6938edbab4953b3..d623ef6f5387e1a3f38465df267a6ca87df2a1f2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FUNCTIONS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_FUNCTIONS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_functions \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 48d37972154a775e981121195a253f5d438035d9..8291e98f7772be629a6e74b20e31e3454d02acb7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_HSIEH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_HSIEH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_hsieh \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index b2fcc2e8fb4c3db91f2ad579d8d1d412efa6812e..742a5b51b99c72f633977938e09f486aef0adc71 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_IS_ALLOCATED" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_IS_ALLOCATED" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_is_allocated \- libhashkit Documentation
 .
@@ -39,46 +39,46 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_create(hashkit_st *hash);
+.B \fI\%hashkit_st\fP *hashkit_create(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr);
+.B \fI\%hashkit_st\fP *hashkit_clone(\fI\%hashkit_st\fP\fI\ *destination\fP, const \fI\%hashkit_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void hashkit_free(hashkit_st *hash);
+.B void hashkit_free(\fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool hashkit_is_allocated(const hashkit_st *hash);
+.B bool hashkit_is_allocated(const \fI\%hashkit_st\fP\fI\ *hash\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
 .SH DESCRIPTION
 .sp
-The \fBhashkit_create()\fP function initializes a hashkit object for use. If
+The \fI\%hashkit_create()\fP function initializes a hashkit object for use. If
 you pass a NULL argument for hash, then the memory for the object is
 allocated. If you specify a pre\-allocated piece of memory, that is
 initialized for use.
 .sp
-The \fBhashkit_clone()\fP function initializes a hashkit object much like
-\fBhashkit_create()\fP, but instead of using default settings it will use
+The \fI\%hashkit_clone()\fP function initializes a hashkit object much like
+\fI\%hashkit_create()\fP, but instead of using default settings it will use
 the settings of the ptr hashkit object.
 .sp
-The \fBhashkit_free()\fP frees any resources being consumed by the hashkit
-objects that were initialized with \fBhashkit_create()\fP or \fBhashkit_clone()\fP.
+The \fI\%hashkit_free()\fP frees any resources being consumed by the hashkit
+objects that were initialized with \fI\%hashkit_create()\fP or \fI\%hashkit_clone()\fP.
 .sp
-The \fBhashkit_is_allocated()\fP reports where the memory was allocated
+The \fI\%hashkit_is_allocated()\fP reports where the memory was allocated
 for a hashkit object.
 .SH RETURN VALUE
 .sp
-\fBhashkit_create()\fP and \fBhashkit_clone()\fP will return NULL on
+\fI\%hashkit_create()\fP and \fI\%hashkit_clone()\fP will return NULL on
 failure or non\-NULL on success.
 .sp
-\fBhashkit_is_allocated()\fP returns true if the memory for the hashkit
-object was allocated inside of \fBhashkit_create()\fP or
-\fBhashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
+\fI\%hashkit_is_allocated()\fP returns true if the memory for the hashkit
+object was allocated inside of \fI\%hashkit_create()\fP or
+\fI\%hashkit_clone()\fP, otherwise it is false and was user\-supplied memory.
 .SH HOME
 .sp
 To find out more information please check:
index 1b6d046a184c3d5fc0f98fff844afb46e0ea5d0e..e352895c04cedf723754ad697621a572518eef92 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_JENKINS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_JENKINS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_jenkins \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 9312225af6750b448a3d738cf8afb87b022f625b..bfa55436c37fdf6eee8ccdf660c8ca0a4ade1196 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_MD5" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_MD5" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_md5 \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 6ecab1bdb6ec131a93ae23b1bbf1c97543ce9221..ba65a699be1ee4a540d3218363b7c73007a00432 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_MURMUR" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_MURMUR" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_murmur \- libhashkit Documentation
 .
@@ -37,43 +37,43 @@ Various hash functions to use for calculating values for keys
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_default(const char *key, size_t key_length);
+.B uint32_t hashkit_default(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
+.B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_crc32(const char *key, size_t key_length);
+.B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_hsieh(const char *key, size_t key_length);
+.B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_murmur(const char *key, size_t key_length);
+.B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_jenkins(const char *key, size_t key_length);
+.B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_md5(const char *key, size_t key_length);
+.B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
@@ -83,7 +83,7 @@ These functions generate hash values from a key using a variety of
 algorithms. These functions can be used standalone, or as arguments
 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
 .sp
-The hashkit_hsieh() is only available if the library is built with
+The hashkit_hsieh is only available if the library is built with
 the appropriate flag enabled.
 .SH RETURN VALUE
 .sp
index 58448b67e9c2f176e4e6730d98eec9e011d67c64..22ff2208eb3669ab2b4635fa34ed87840439eb25 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_VALUE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "HASHKIT_VALUE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 hashkit_value \- libhashkit Documentation
 .
@@ -37,13 +37,13 @@ Generate a value for the given key
 #include <libhashkit/hashkit.h>
 .INDENT 0.0
 .TP
-.B uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length);
+.B uint32_t hashkit_value(hashkit_st\fI\ *hash\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP)
 .UNINDENT
 .sp
 Compile and link with \-lhashkit
 .SH DESCRIPTION
 .sp
-The \fBhashkit_value()\fP function generates a 32\-bit hash value from the
+The \fI\%hashkit_value()\fP function generates a 32\-bit hash value from the
 given key and key_length. The hash argument is an initialized hashkit
 object, and distribution type and hash function is used from this
 object while generating the value.
index 239ef4806466a45d38d7d6300cefdb56fec696f0..5ea9f8102b758df2c634abfa1dd2ea93fcfa72a4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBHASHKIT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "LIBHASHKIT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 libhashkit \- libhashkit Documentation
 .
index 57c91cf92de7a614e4001bd2d265dc8c0429ce53..f543e464a1e358eea9b945dcbcc7d8a0550a296c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "LIBMEMCACHED" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 libmemcached \- Introducing the C Client Library for memcached
 .
@@ -86,7 +86,7 @@ recommended that you operate directly against the structure.
 .sp
 Nearly all functions return a \fBmemcached_return_t\fP value.
 This value can be translated to a printable string with
-\fBmemcached_strerror()\fP.
+\fBmemcached_strerror\fP.
 .sp
 Objects are stored on servers by hashing keys. The hash value maps the key to a particular server. All clients understand how this hashing works, so it is possibly to reliably both push data to a server and retrieve data from a server.
 .sp
@@ -148,6 +148,11 @@ String value of libmemcached version such as "1.23.4"
 .B LIBMEMCACHED_VERSION_HEX
 Hex value of the version number. "0x00048000" This can be used for comparing versions based on number.
 .UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_PREFIX_KEY_MAX_SIZE
+Maximum length allowed for namespacing of a key.
+.UNINDENT
 .SH THREADS AND PROCESSES
 .sp
 When using threads or forked processes it is important to keep one instance
index 9584e26fb892dadc00799a06711d72742d97b0ec..bf54457ee0b681b27ea5d8ecefc381016d20aaf9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 libmemcached_check_configuration \- libmemcached Documentation
 .
index 2947d84a45536f8ca73ae0bd65360376bc4f3135..ae7de76f877342e794f2f9dce143a4c7b92eb98d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_CONFIGURATION" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "LIBMEMCACHED_CONFIGURATION" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 libmemcached_configuration \- libmemcached Documentation
 .
index 9e1b8e13f8dff563ff9439c9279dcda4d38307b1..756411eaa291d57b4164f303908bde5008d522cb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_EXAMPLES" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "LIBMEMCACHED_EXAMPLES" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 libmemcached_examples \- libmemcached Documentation
 .
@@ -51,7 +51,7 @@ memcached_st *memc= memcached(config_string, strlen(config_string);
 .fi
 .sp
 In the above code you create a \fBmemcached_st\fP object with three server
-by making use of \fBmemcached_create_with_options()\fP.
+by making use of \fBmemcached_create()\fP.
 .SH CREATING A POOL OF SERVERS
 .sp
 .nf
index 2ecce7c97f47117a54755bb84ecee538807e977b..b8970703d37d76a010ce63ab734e04e53af37246 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHEDUTIL" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "LIBMEMCACHEDUTIL" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 libmemcachedutil \- libmemcached Documentation
 .
index 633aab340ff9320f551bd49179610a640b3c3729..0cb1faaf6f8e1b15e625e78b8b66b32b7a937295 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMASLAP" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMASLAP" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memaslap \- libmemcached Documentation
 .
@@ -37,6 +37,10 @@ memaslap [options]
 .TP
 .B \-\-help
 .UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_SERVERS
+.UNINDENT
 .SH DESCRIPTION
 .sp
 \fBmemaslap\fP is a load generation and benchmark tool for memcached
@@ -52,8 +56,8 @@ the threads don\(aqt communicate with each other, and there are several socket
 connections in each thread. Each connection keeps key size distribution,
 value size distribution, and command distribution by itself.
 .sp
-You can specify servers via the \fI\-\-servers\fP option or via the
-environment variable \fBMEMCACHED_SERVERS\fP.
+You can specify servers via the \fImemslap \-\-servers\fP option or via the
+environment variable \fI\%MEMCACHED_SERVERS\fP.
 .SH FEATURES
 .sp
 Memslap is developed to for the following purposes:
index fa77257dd0ac81b6658c4eff0338f4a99439f253..3e64048357c3c4587945c75e4569a9dd8bdcf7bb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached \- libmemcached Documentation
 .
index ce28da1ebf9830947bfb75a82ac1a957e4facd57..9f7d76e92f5fd50f75e54d8857167039fa86b02a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ADD" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_ADD" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_add \- Storing and Replacing Data
 .
@@ -35,58 +35,58 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_set()\fP, \fBmemcached_add()\fP, and \fBmemcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
+\fI\%memcached_set()\fP, \fI\%memcached_add()\fP, and \fI\%memcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
 store the object. Keys are currently limited to 250 characters by the
 memcached(1) server. You must supply both a value and a length. Optionally you
 may test an expiration time for the object and a 16 byte value (it is meant to be used as a bitmap). "flags" is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.
 .sp
-\fBmemcached_set()\fP will write an object to the server. If an object
+\fI\%memcached_set()\fP will write an object to the server. If an object
 already exists it will overwrite what is in the server. If the object does not
 exist it will be written. If you are using the non\-blocking mode this function
 will always return true unless a network error occurs.
 .sp
-\fBmemcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
+\fI\%memcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
 .sp
-\fBmemcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
+\fI\%memcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
 .sp
 \fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result by
 calling \fBmemcached_result_cas()\fP on a memcached_result_st(3) structure. At the point
 that this note was written cas is still buggy in memached. Turning on tests
-for it in libmemcached(3) is optional. Please see memcached_set() for
+for it in libmemcached(3) is optional. Please see memcached_set for
 information on how to do this.
 .sp
-\fBmemcached_set_by_key()\fP, \fBmemcached_add_by_key()\fP, and \fBmemcached_replace_by_key()\fP methods all behave in a similar method as the non
+\fI\%memcached_set_by_key()\fP, \fI\%memcached_add_by_key()\fP, and \fI\%memcached_replace_by_key()\fP methods all behave in a similar method as the non
 key methods. The difference is that they use their group_key parameter to map
 objects to particular servers.
 .sp
-If you are looking for performance, \fBmemcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
+If you are looking for performance, \fI\%memcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
 .sp
 All of the above functions are testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.
@@ -104,7 +104,7 @@ All methods return a value of type \fBmemcached_return_t\fP.
 On success the value will be \fBMEMCACHED_SUCCESS\fP.
 Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .sp
-For \fBmemcached_replace()\fP and \fBmemcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
+For \fI\%memcached_replace()\fP and \fI\%memcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
 .SH HOME
 .sp
 To find out more information please check:
index b1d34e06422d291f29ec2011d5431dca72bfed47..8cf26f5a7e2af788523a598c2b8a4f8e18233cdc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ADD_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_ADD_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_add_by_key \- Storing and Replacing Data
 .
@@ -35,58 +35,58 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_set()\fP, \fBmemcached_add()\fP, and \fBmemcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
+\fI\%memcached_set()\fP, \fI\%memcached_add()\fP, and \fI\%memcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
 store the object. Keys are currently limited to 250 characters by the
 memcached(1) server. You must supply both a value and a length. Optionally you
 may test an expiration time for the object and a 16 byte value (it is meant to be used as a bitmap). "flags" is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.
 .sp
-\fBmemcached_set()\fP will write an object to the server. If an object
+\fI\%memcached_set()\fP will write an object to the server. If an object
 already exists it will overwrite what is in the server. If the object does not
 exist it will be written. If you are using the non\-blocking mode this function
 will always return true unless a network error occurs.
 .sp
-\fBmemcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
+\fI\%memcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
 .sp
-\fBmemcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
+\fI\%memcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
 .sp
 \fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result by
 calling \fBmemcached_result_cas()\fP on a memcached_result_st(3) structure. At the point
 that this note was written cas is still buggy in memached. Turning on tests
-for it in libmemcached(3) is optional. Please see memcached_set() for
+for it in libmemcached(3) is optional. Please see memcached_set for
 information on how to do this.
 .sp
-\fBmemcached_set_by_key()\fP, \fBmemcached_add_by_key()\fP, and \fBmemcached_replace_by_key()\fP methods all behave in a similar method as the non
+\fI\%memcached_set_by_key()\fP, \fI\%memcached_add_by_key()\fP, and \fI\%memcached_replace_by_key()\fP methods all behave in a similar method as the non
 key methods. The difference is that they use their group_key parameter to map
 objects to particular servers.
 .sp
-If you are looking for performance, \fBmemcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
+If you are looking for performance, \fI\%memcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
 .sp
 All of the above functions are testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.
@@ -104,7 +104,7 @@ All methods return a value of type \fBmemcached_return_t\fP.
 On success the value will be \fBMEMCACHED_SUCCESS\fP.
 Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .sp
-For \fBmemcached_replace()\fP and \fBmemcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
+For \fI\%memcached_replace()\fP and \fI\%memcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
 .SH HOME
 .sp
 To find out more information please check:
index b40f2ecd617300eadb91eef3374bb3c945402ef1..7b8ca2cdedb55a2c4683a5f0f8509b5e635f53a2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ANALYZE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_ANALYZE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_analyze \- libmemcached Documentation
 .
@@ -37,7 +37,11 @@ Analyze server information
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_analysis_st * memcached_analyze (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_analysis_st
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \fI\%memcached_analysis_st\fP * memcached_analyze(memcached_st\fI\ *ptr\fP, memcached_stat_st\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -45,21 +49,21 @@ Compile and link with \-lmemcached
 .sp
 \fBlibmemcached\fP has the ability to query a memcached server (or
 collection of servers) for their current state. Queries to find state return a
-\fBmemcached_analysis_st\fP structure. You are responsible for freeing this structure.
+\fI\%memcached_analysis_st\fP structure. You are responsible for freeing this structure.
 .sp
-\fBmemcached_analyze()\fP analyzes useful information based on the
-provided servers and sets the result to the \fBmemcached_analysis_st\fP
+\fI\%memcached_analyze()\fP analyzes useful information based on the
+provided servers and sets the result to the \fI\%memcached_analysis_st\fP
 structure. The return value must be freed by the calling application.
 .sp
-A command line tool, \fBmemstat()\fP with the option \fI\-\-analyze\fP,
+A command line tool, \fBmemstat\fP with the option \fImemstat \-\-analyze\fP,
 is provided so that you do not have to write an application to use this method.
 .SH RETURN
 .sp
-A pointer to the allocated \fBmemcached_analysis_st\fP structure on
+A pointer to the allocated \fI\%memcached_analysis_st\fP structure on
 success and a NULL pointer on failure. You may inspect the error detail by
 checking the \fBmemcached_return_t\fP value.
 .sp
-Any method returning a \fBmemcached_analysis_st\fP expects you to free the
+Any method returning a \fI\%memcached_analysis_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index f4408226aa251d0deb29fd757fb002ad111fcc0a..fdb6b27b0d708893ebcfe714929420e106cf8edd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_APPEND" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_APPEND" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_append \- Appending to or Prepending to data on the server
 .
@@ -45,11 +45,11 @@ Appending or Prepending to data on the server
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_prepend_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_prepend_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_append_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_append_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -71,8 +71,8 @@ of data stored. Currently expiration and key are not used in the server.
 \fI\%memcached_append()\fP places a segment of data at the end of the last
 piece of data stored. Currently expiration and key are not used in the server.
 .sp
-\fBmemcached_prepend_by_key()\fP and
-\fBmemcached_append_by_key_by_key()\fP methods both behave in a similar
+\fI\%memcached_prepend_by_key()\fP and
+\fI\%memcached_append_by_key()\fP methods both behave in a similar
 method as the non key methods. The difference is that they use their
 group_key parameter to map objects to particular servers.
 .sp
index 0af9af5068aa55ae0dd6e7cc3488582a8df18c64..0d82a355edcf1ce627ab9eb217c0d49adf5df15a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_APPEND_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_APPEND_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_append_by_key \- Appending to or Prepending to data on the server
 .
@@ -45,11 +45,11 @@ Appending or Prepending to data on the server
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_prepend_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_prepend_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_append_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_append_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -71,8 +71,8 @@ of data stored. Currently expiration and key are not used in the server.
 \fI\%memcached_append()\fP places a segment of data at the end of the last
 piece of data stored. Currently expiration and key are not used in the server.
 .sp
-\fBmemcached_prepend_by_key()\fP and
-\fBmemcached_append_by_key_by_key()\fP methods both behave in a similar
+\fI\%memcached_prepend_by_key()\fP and
+\fI\%memcached_append_by_key()\fP methods both behave in a similar
 method as the non key methods. The difference is that they use their
 group_key parameter to map objects to particular servers.
 .sp
index 17fad7736e1eaa112ced09424f147ee4826acac9..575ddc4f988b89cc8c168273abc69d763cd1a105 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_AUTO" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_AUTO" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_auto \- Incrementing and Decrementing Values
 .
@@ -35,35 +35,35 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -73,41 +73,40 @@ Compile and link with \-lmemcached
 (overflow and underflow are not detected). This gives you the ability to use
 memcached to generate shared sequences of values.
 .sp
-memcached_increment() takes a key and keylength and increments the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_increment takes a key and keylength and increments the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement() takes a key and keylength and decrements the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_decrement takes a key and keylength and decrements the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_with_initial() takes a key and keylength and increments
+memcached_increment_with_initial takes a key and keylength and increments
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement_with_initial() takes a key and keylength and decrements
+memcached_decrement_with_initial takes a key and keylength and decrements
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_by_key(), memcached_decrement_by_key(),
-memcached_increment_with_initial_by_key(), and
-memcached_decrement_with_initial_by_key() are master key equivalents of the
-above.
+\fI\%memcached_increment_by_key()\fP, \fI\%memcached_decrement_by_key()\fP,
+\fI\%memcached_increment_with_initial_by_key()\fP, and
+\fI\%memcached_decrement_with_initial_by_key()\fP are master key equivalents of the above.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return_t\fP is returned.
+A value of type \fBmemcached_return_t\fP  is returned.
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use memcached_strerror() to translate this value to a printable string.
+Use memcached_strerror to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 1e1a90e4ed58ace4b47e5f623b4e2388728d6529..09629bb8d0d3a451249ebe27f7a6dad02d3af290 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_behavior \- libmemcached Documentation
 .
@@ -37,27 +37,31 @@ Manipulate the behavior of a memcached_st structure.
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B uint64_t memcached_behavior_get (memcached_st *ptr, memcached_behavior flag);
+.B memcached_behavior_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_behavior_set (memcached_st *ptr, memcached_behavior flag, uint64_t data);
+.B uint64_t memcached_behavior_get(memcached_st\fI\ *ptr\fP, \fI\%memcached_behavior_t\fP\fI\ flag\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_behavior_set(memcached_st\fI\ *ptr\fP, \fI\%memcached_behavior_t\fP\fI\ flag\fP, uint64_t\fI\ data\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fIlibmemcached(3)\fP behavior can be modified by using \fBmemcached_behavior_set()\fP. Default behavior is the library strives to be quick and
+\fIlibmemcached(3)\fP behavior can be modified by using \fI\%memcached_behavior_set()\fP. Default behavior is the library strives to be quick and
 accurate. Some behavior, while being faster, can also result in not entirely
 accurate behavior (for instance, \fBmemcached_set()\fP will always respond
 with \fBMEMCACHED_SUCCESS\fP).
 .sp
-\fBmemcached_behavior_get()\fP takes a behavior flag and returns whether or not that behavior is currently enabled in the client.
+\fI\%memcached_behavior_get()\fP takes a behavior flag and returns whether or not that behavior is currently enabled in the client.
 .sp
-\fBmemcached_behavior_set()\fP changes the value of a particular option
+\fI\%memcached_behavior_set()\fP changes the value of a particular option
 of the client. It takes both a flag (listed below) and a value. For simple
 on or off options you just need to pass in a value of 1. Calls to
-\fBmemcached_behavior_set()\fP will flush and reset all connections.
+\fI\%memcached_behavior_set()\fP will flush and reset all connections.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USE_UDP
@@ -66,7 +70,12 @@ on or off options you just need to pass in a value of 1. Calls to
 Causes \fIlibmemcached(3)\fP to use the UDP transport when communicating
 with a memcached server. Not all I/O operations are testsed
 when this behavior is enababled. The following operations will return
-\fBMEMCACHED_NOT_SUPPORTED\fP when executed with the \fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP enabled: \fBmemcached_version()\fP, \fBmemcached_stat()\fP, \fBmemcached_get()\fP, \fBmemcached_get_by_key()\fP, \fBmemcached_mget()\fP, \fBmemcached_mget_by_key()\fP, \fBmemcached_fetch()\fP, \fBmemcached_fetch_result()\fP, \fBmemcached_value_fetch()\fP.
+\fBMEMCACHED_NOT_SUPPORTED\fP when executed with the
+\fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP enabled: \fBmemcached_version()\fP,
+\fBmemcached_stat()\fP, \fBmemcached_get()\fP,
+\fBmemcached_get_by_key()\fP, \fBmemcached_mget()\fP,
+\fBmemcached_mget_by_key()\fP, \fBmemcached_fetch()\fP,
+\fBmemcached_fetch_result()\fP, \fBmemcached_fetch_execute()\fP.
 .sp
 All other operations are testsed but are executed in a \(aqfire\-and\-forget\(aq
 mode, in which once the client has executed the operation, no attempt
@@ -144,7 +153,8 @@ Support CAS operations (this is not enabled by default at this point in the serv
 .B MEMCACHED_BEHAVIOR_KETAMA
 .UNINDENT
 .sp
-Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA and the hash to MEMCACHED_HASH_MD5.
+Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA and
+the hash to \fBMEMCACHED_HASH_MD5\fP.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED
@@ -155,7 +165,11 @@ Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA with t
 .B MEMCACHED_BEHAVIOR_KETAMA_HASH
 .UNINDENT
 .sp
-Sets the hashing algorithm for host mapping on continuum. The value can be set to either MEMCACHED_HASH_DEFAULT, MEMCACHED_HASH_MD5, MEMCACHED_HASH_CRC, MEMCACHED_HASH_FNV1_64, MEMCACHED_HASH_FNV1A_64, MEMCACHED_HASH_FNV1_32, and MEMCACHED_HASH_FNV1A_32.
+Sets the hashing algorithm for host mapping on continuum. The value can be set
+to either \fBMEMCACHED_HASH_DEFAULT\fP, \fBMEMCACHED_HASH_MD5\fP,
+\fBMEMCACHED_HASH_CRC\fP, \fBMEMCACHED_HASH_FNV1_64\fP,
+\fBMEMCACHED_HASH_FNV1A_64\fP, \fBMEMCACHED_HASH_FNV1_32\fP, and
+\fBMEMCACHED_HASH_FNV1A_32\fP.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_KETAMA_COMPAT
@@ -167,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 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.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USER_DATA
@@ -315,12 +329,12 @@ by hash. See \fBMEMCACHED_CALLBACK_NAMESPACE\fP for additional
 information.
 .SH RETURN
 .sp
-memcached_behavior_get() returns either the current value of the get, or 0
-or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set()
+memcached_behavior_get returns either the current value of the get, or 0
+or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set
 returns failure or success.
 .SH NOTES
 .sp
-memcached_behavior_set() in version .17 was changed from taking a pointer
+memcached_behavior_set in version .17 was changed from taking a pointer
 to data value, to taking a uin64_t.
 .SH HOME
 .sp
index ab69c41c8a6575b1ecfde53c6c81e2ab259adbed..b85c3ddc5b74420e3daa7e436e5a3ec1cb084cfe 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR_GET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_GET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_behavior_get \- libmemcached Documentation
 .
@@ -37,27 +37,31 @@ Manipulate the behavior of a memcached_st structure.
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B uint64_t memcached_behavior_get (memcached_st *ptr, memcached_behavior flag);
+.B memcached_behavior_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_behavior_set (memcached_st *ptr, memcached_behavior flag, uint64_t data);
+.B uint64_t memcached_behavior_get(memcached_st\fI\ *ptr\fP, \fI\%memcached_behavior_t\fP\fI\ flag\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_behavior_set(memcached_st\fI\ *ptr\fP, \fI\%memcached_behavior_t\fP\fI\ flag\fP, uint64_t\fI\ data\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fIlibmemcached(3)\fP behavior can be modified by using \fBmemcached_behavior_set()\fP. Default behavior is the library strives to be quick and
+\fIlibmemcached(3)\fP behavior can be modified by using \fI\%memcached_behavior_set()\fP. Default behavior is the library strives to be quick and
 accurate. Some behavior, while being faster, can also result in not entirely
 accurate behavior (for instance, \fBmemcached_set()\fP will always respond
 with \fBMEMCACHED_SUCCESS\fP).
 .sp
-\fBmemcached_behavior_get()\fP takes a behavior flag and returns whether or not that behavior is currently enabled in the client.
+\fI\%memcached_behavior_get()\fP takes a behavior flag and returns whether or not that behavior is currently enabled in the client.
 .sp
-\fBmemcached_behavior_set()\fP changes the value of a particular option
+\fI\%memcached_behavior_set()\fP changes the value of a particular option
 of the client. It takes both a flag (listed below) and a value. For simple
 on or off options you just need to pass in a value of 1. Calls to
-\fBmemcached_behavior_set()\fP will flush and reset all connections.
+\fI\%memcached_behavior_set()\fP will flush and reset all connections.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USE_UDP
@@ -66,7 +70,12 @@ on or off options you just need to pass in a value of 1. Calls to
 Causes \fIlibmemcached(3)\fP to use the UDP transport when communicating
 with a memcached server. Not all I/O operations are testsed
 when this behavior is enababled. The following operations will return
-\fBMEMCACHED_NOT_SUPPORTED\fP when executed with the \fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP enabled: \fBmemcached_version()\fP, \fBmemcached_stat()\fP, \fBmemcached_get()\fP, \fBmemcached_get_by_key()\fP, \fBmemcached_mget()\fP, \fBmemcached_mget_by_key()\fP, \fBmemcached_fetch()\fP, \fBmemcached_fetch_result()\fP, \fBmemcached_value_fetch()\fP.
+\fBMEMCACHED_NOT_SUPPORTED\fP when executed with the
+\fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP enabled: \fBmemcached_version()\fP,
+\fBmemcached_stat()\fP, \fBmemcached_get()\fP,
+\fBmemcached_get_by_key()\fP, \fBmemcached_mget()\fP,
+\fBmemcached_mget_by_key()\fP, \fBmemcached_fetch()\fP,
+\fBmemcached_fetch_result()\fP, \fBmemcached_fetch_execute()\fP.
 .sp
 All other operations are testsed but are executed in a \(aqfire\-and\-forget\(aq
 mode, in which once the client has executed the operation, no attempt
@@ -144,7 +153,8 @@ Support CAS operations (this is not enabled by default at this point in the serv
 .B MEMCACHED_BEHAVIOR_KETAMA
 .UNINDENT
 .sp
-Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA and the hash to MEMCACHED_HASH_MD5.
+Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA and
+the hash to \fBMEMCACHED_HASH_MD5\fP.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED
@@ -155,7 +165,11 @@ Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA with t
 .B MEMCACHED_BEHAVIOR_KETAMA_HASH
 .UNINDENT
 .sp
-Sets the hashing algorithm for host mapping on continuum. The value can be set to either MEMCACHED_HASH_DEFAULT, MEMCACHED_HASH_MD5, MEMCACHED_HASH_CRC, MEMCACHED_HASH_FNV1_64, MEMCACHED_HASH_FNV1A_64, MEMCACHED_HASH_FNV1_32, and MEMCACHED_HASH_FNV1A_32.
+Sets the hashing algorithm for host mapping on continuum. The value can be set
+to either \fBMEMCACHED_HASH_DEFAULT\fP, \fBMEMCACHED_HASH_MD5\fP,
+\fBMEMCACHED_HASH_CRC\fP, \fBMEMCACHED_HASH_FNV1_64\fP,
+\fBMEMCACHED_HASH_FNV1A_64\fP, \fBMEMCACHED_HASH_FNV1_32\fP, and
+\fBMEMCACHED_HASH_FNV1A_32\fP.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_KETAMA_COMPAT
@@ -167,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 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.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USER_DATA
@@ -315,12 +329,12 @@ by hash. See \fBMEMCACHED_CALLBACK_NAMESPACE\fP for additional
 information.
 .SH RETURN
 .sp
-memcached_behavior_get() returns either the current value of the get, or 0
-or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set()
+memcached_behavior_get returns either the current value of the get, or 0
+or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set
 returns failure or success.
 .SH NOTES
 .sp
-memcached_behavior_set() in version .17 was changed from taking a pointer
+memcached_behavior_set in version .17 was changed from taking a pointer
 to data value, to taking a uin64_t.
 .SH HOME
 .sp
index 811e5249d5691d0a9d4a93fa1b11c620b8f4613c..bfd7be6252538886205d74c1a59c932316a343ac 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR_SET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_SET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_behavior_set \- libmemcached Documentation
 .
@@ -37,27 +37,31 @@ Manipulate the behavior of a memcached_st structure.
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B uint64_t memcached_behavior_get (memcached_st *ptr, memcached_behavior flag);
+.B memcached_behavior_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_behavior_set (memcached_st *ptr, memcached_behavior flag, uint64_t data);
+.B uint64_t memcached_behavior_get(memcached_st\fI\ *ptr\fP, \fI\%memcached_behavior_t\fP\fI\ flag\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_behavior_set(memcached_st\fI\ *ptr\fP, \fI\%memcached_behavior_t\fP\fI\ flag\fP, uint64_t\fI\ data\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fIlibmemcached(3)\fP behavior can be modified by using \fBmemcached_behavior_set()\fP. Default behavior is the library strives to be quick and
+\fIlibmemcached(3)\fP behavior can be modified by using \fI\%memcached_behavior_set()\fP. Default behavior is the library strives to be quick and
 accurate. Some behavior, while being faster, can also result in not entirely
 accurate behavior (for instance, \fBmemcached_set()\fP will always respond
 with \fBMEMCACHED_SUCCESS\fP).
 .sp
-\fBmemcached_behavior_get()\fP takes a behavior flag and returns whether or not that behavior is currently enabled in the client.
+\fI\%memcached_behavior_get()\fP takes a behavior flag and returns whether or not that behavior is currently enabled in the client.
 .sp
-\fBmemcached_behavior_set()\fP changes the value of a particular option
+\fI\%memcached_behavior_set()\fP changes the value of a particular option
 of the client. It takes both a flag (listed below) and a value. For simple
 on or off options you just need to pass in a value of 1. Calls to
-\fBmemcached_behavior_set()\fP will flush and reset all connections.
+\fI\%memcached_behavior_set()\fP will flush and reset all connections.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USE_UDP
@@ -66,7 +70,12 @@ on or off options you just need to pass in a value of 1. Calls to
 Causes \fIlibmemcached(3)\fP to use the UDP transport when communicating
 with a memcached server. Not all I/O operations are testsed
 when this behavior is enababled. The following operations will return
-\fBMEMCACHED_NOT_SUPPORTED\fP when executed with the \fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP enabled: \fBmemcached_version()\fP, \fBmemcached_stat()\fP, \fBmemcached_get()\fP, \fBmemcached_get_by_key()\fP, \fBmemcached_mget()\fP, \fBmemcached_mget_by_key()\fP, \fBmemcached_fetch()\fP, \fBmemcached_fetch_result()\fP, \fBmemcached_value_fetch()\fP.
+\fBMEMCACHED_NOT_SUPPORTED\fP when executed with the
+\fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP enabled: \fBmemcached_version()\fP,
+\fBmemcached_stat()\fP, \fBmemcached_get()\fP,
+\fBmemcached_get_by_key()\fP, \fBmemcached_mget()\fP,
+\fBmemcached_mget_by_key()\fP, \fBmemcached_fetch()\fP,
+\fBmemcached_fetch_result()\fP, \fBmemcached_fetch_execute()\fP.
 .sp
 All other operations are testsed but are executed in a \(aqfire\-and\-forget\(aq
 mode, in which once the client has executed the operation, no attempt
@@ -144,7 +153,8 @@ Support CAS operations (this is not enabled by default at this point in the serv
 .B MEMCACHED_BEHAVIOR_KETAMA
 .UNINDENT
 .sp
-Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA and the hash to MEMCACHED_HASH_MD5.
+Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA and
+the hash to \fBMEMCACHED_HASH_MD5\fP.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED
@@ -155,7 +165,11 @@ Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA with t
 .B MEMCACHED_BEHAVIOR_KETAMA_HASH
 .UNINDENT
 .sp
-Sets the hashing algorithm for host mapping on continuum. The value can be set to either MEMCACHED_HASH_DEFAULT, MEMCACHED_HASH_MD5, MEMCACHED_HASH_CRC, MEMCACHED_HASH_FNV1_64, MEMCACHED_HASH_FNV1A_64, MEMCACHED_HASH_FNV1_32, and MEMCACHED_HASH_FNV1A_32.
+Sets the hashing algorithm for host mapping on continuum. The value can be set
+to either \fBMEMCACHED_HASH_DEFAULT\fP, \fBMEMCACHED_HASH_MD5\fP,
+\fBMEMCACHED_HASH_CRC\fP, \fBMEMCACHED_HASH_FNV1_64\fP,
+\fBMEMCACHED_HASH_FNV1A_64\fP, \fBMEMCACHED_HASH_FNV1_32\fP, and
+\fBMEMCACHED_HASH_FNV1A_32\fP.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_KETAMA_COMPAT
@@ -167,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 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.
 .INDENT 0.0
 .TP
 .B MEMCACHED_BEHAVIOR_USER_DATA
@@ -315,12 +329,12 @@ by hash. See \fBMEMCACHED_CALLBACK_NAMESPACE\fP for additional
 information.
 .SH RETURN
 .sp
-memcached_behavior_get() returns either the current value of the get, or 0
-or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set()
+memcached_behavior_get returns either the current value of the get, or 0
+or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set
 returns failure or success.
 .SH NOTES
 .sp
-memcached_behavior_set() in version .17 was changed from taking a pointer
+memcached_behavior_set in version .17 was changed from taking a pointer
 to data value, to taking a uin64_t.
 .SH HOME
 .sp
index b4e5ffbc6a54198fdf0947c3dd467019a764335b..f1ba627e9c197f5b9b9678f40617e31d5a65c79a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CALLBACK" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_callback \- libmemcached Documentation
 .
@@ -37,11 +37,15 @@ Get and set a callback
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_callback_set (memcached_st *ptr, memcached_callback_t flag, const void *data);
+.B memcached_callback_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_callback_get (memcached_st *ptr, memcached_callback_t flag, memcached_return_t *error);
+.B memcached_return_t memcached_callback_set(memcached_st\fI\ *ptr\fP, \fI\%memcached_callback_t\fP\fI\ flag\fP, const void\fI\ *data\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B void * memcached_callback_get(memcached_st\fI\ *ptr\fP, \fI\%memcached_callback_t\fP\fI\ flag\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -51,10 +55,10 @@ libmemcached(3) can have callbacks set key execution points. These either
 provide function calls at points in the code, or return pointers to
 structures for particular usages.
 .sp
-\fBmemcached_callback_get()\fP takes a callback flag and returns the
-structure or function set by \fBmemcached_callback_set()\fP.
+\fI\%memcached_callback_get()\fP takes a callback flag and returns the
+structure or function set by \fI\%memcached_callback_set()\fP.
 .sp
-\fBmemcached_callback_set()\fP changes the function/structure assigned by a
+\fI\%memcached_callback_set()\fP changes the function/structure assigned by a
 callback flag. No connections are reset.
 .sp
 You can use \fI\%MEMCACHED_CALLBACK_USER_DATA\fP to provide custom context
@@ -85,7 +89,7 @@ See \fI\%MEMCACHED_CALLBACK_NAMESPACE\fP
 .sp
 You can set a value which will be used to create a domain for your keys.
 The value specified here will be prefixed to each of your keys. The value can
-not be greater then \fBMEMCACHED_PREFIX_KEY_MAX_SIZE \- 1\fP and will
+not be greater then \fBMEMCACHED_PREFIX_KEY_MAX_SIZE\fP \- 1 and will
 reduce \fBMEMCACHED_MAX_KEY\fP by the value of your key.
 .sp
 The prefix key is only applied to the primary key, not the master key.
@@ -154,11 +158,11 @@ The prototype for this is:
 .UNINDENT
 .SH RETURN
 .sp
-\fBmemcached_callback_get()\fP return the function or structure that was
+\fI\%memcached_callback_get()\fP return the function or structure that was
 provided. Upon error, nothing is set, null is returned, and the
 \fBmemcached_return_t\fP argument is set to \fBMEMCACHED_FAILURE\fP.
 .sp
-\fBmemcached_callback_set()\fP returns \fBMEMCACHED_SUCCESS\fP upon
+\fI\%memcached_callback_set()\fP returns \fBMEMCACHED_SUCCESS\fP upon
 successful setting, otherwise \fBMEMCACHED_FAILURE\fP on error.
 .SH HOME
 .sp
index 927c91633ebce1c0c70a27d3c0ecccd9f9839752..d72a83568ab3117a19a72527380661c957411d0b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK_GET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CALLBACK_GET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_callback_get \- libmemcached Documentation
 .
@@ -37,11 +37,15 @@ Get and set a callback
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_callback_set (memcached_st *ptr, memcached_callback_t flag, const void *data);
+.B memcached_callback_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_callback_get (memcached_st *ptr, memcached_callback_t flag, memcached_return_t *error);
+.B memcached_return_t memcached_callback_set(memcached_st\fI\ *ptr\fP, \fI\%memcached_callback_t\fP\fI\ flag\fP, const void\fI\ *data\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B void * memcached_callback_get(memcached_st\fI\ *ptr\fP, \fI\%memcached_callback_t\fP\fI\ flag\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -51,10 +55,10 @@ libmemcached(3) can have callbacks set key execution points. These either
 provide function calls at points in the code, or return pointers to
 structures for particular usages.
 .sp
-\fBmemcached_callback_get()\fP takes a callback flag and returns the
-structure or function set by \fBmemcached_callback_set()\fP.
+\fI\%memcached_callback_get()\fP takes a callback flag and returns the
+structure or function set by \fI\%memcached_callback_set()\fP.
 .sp
-\fBmemcached_callback_set()\fP changes the function/structure assigned by a
+\fI\%memcached_callback_set()\fP changes the function/structure assigned by a
 callback flag. No connections are reset.
 .sp
 You can use \fI\%MEMCACHED_CALLBACK_USER_DATA\fP to provide custom context
@@ -85,7 +89,7 @@ See \fI\%MEMCACHED_CALLBACK_NAMESPACE\fP
 .sp
 You can set a value which will be used to create a domain for your keys.
 The value specified here will be prefixed to each of your keys. The value can
-not be greater then \fBMEMCACHED_PREFIX_KEY_MAX_SIZE \- 1\fP and will
+not be greater then \fBMEMCACHED_PREFIX_KEY_MAX_SIZE\fP \- 1 and will
 reduce \fBMEMCACHED_MAX_KEY\fP by the value of your key.
 .sp
 The prefix key is only applied to the primary key, not the master key.
@@ -154,11 +158,11 @@ The prototype for this is:
 .UNINDENT
 .SH RETURN
 .sp
-\fBmemcached_callback_get()\fP return the function or structure that was
+\fI\%memcached_callback_get()\fP return the function or structure that was
 provided. Upon error, nothing is set, null is returned, and the
 \fBmemcached_return_t\fP argument is set to \fBMEMCACHED_FAILURE\fP.
 .sp
-\fBmemcached_callback_set()\fP returns \fBMEMCACHED_SUCCESS\fP upon
+\fI\%memcached_callback_set()\fP returns \fBMEMCACHED_SUCCESS\fP upon
 successful setting, otherwise \fBMEMCACHED_FAILURE\fP on error.
 .SH HOME
 .sp
index 978cedf2cebeb09ff3cbc888e84fa1f23364fe56..e723de9200b7f985158fc7ab80ec77390bab2cbb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK_SET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CALLBACK_SET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_callback_set \- libmemcached Documentation
 .
@@ -37,11 +37,15 @@ Get and set a callback
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_callback_set (memcached_st *ptr, memcached_callback_t flag, const void *data);
+.B memcached_callback_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_callback_get (memcached_st *ptr, memcached_callback_t flag, memcached_return_t *error);
+.B memcached_return_t memcached_callback_set(memcached_st\fI\ *ptr\fP, \fI\%memcached_callback_t\fP\fI\ flag\fP, const void\fI\ *data\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B void * memcached_callback_get(memcached_st\fI\ *ptr\fP, \fI\%memcached_callback_t\fP\fI\ flag\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -51,10 +55,10 @@ libmemcached(3) can have callbacks set key execution points. These either
 provide function calls at points in the code, or return pointers to
 structures for particular usages.
 .sp
-\fBmemcached_callback_get()\fP takes a callback flag and returns the
-structure or function set by \fBmemcached_callback_set()\fP.
+\fI\%memcached_callback_get()\fP takes a callback flag and returns the
+structure or function set by \fI\%memcached_callback_set()\fP.
 .sp
-\fBmemcached_callback_set()\fP changes the function/structure assigned by a
+\fI\%memcached_callback_set()\fP changes the function/structure assigned by a
 callback flag. No connections are reset.
 .sp
 You can use \fI\%MEMCACHED_CALLBACK_USER_DATA\fP to provide custom context
@@ -85,7 +89,7 @@ See \fI\%MEMCACHED_CALLBACK_NAMESPACE\fP
 .sp
 You can set a value which will be used to create a domain for your keys.
 The value specified here will be prefixed to each of your keys. The value can
-not be greater then \fBMEMCACHED_PREFIX_KEY_MAX_SIZE \- 1\fP and will
+not be greater then \fBMEMCACHED_PREFIX_KEY_MAX_SIZE\fP \- 1 and will
 reduce \fBMEMCACHED_MAX_KEY\fP by the value of your key.
 .sp
 The prefix key is only applied to the primary key, not the master key.
@@ -154,11 +158,11 @@ The prototype for this is:
 .UNINDENT
 .SH RETURN
 .sp
-\fBmemcached_callback_get()\fP return the function or structure that was
+\fI\%memcached_callback_get()\fP return the function or structure that was
 provided. Upon error, nothing is set, null is returned, and the
 \fBmemcached_return_t\fP argument is set to \fBMEMCACHED_FAILURE\fP.
 .sp
-\fBmemcached_callback_set()\fP returns \fBMEMCACHED_SUCCESS\fP upon
+\fI\%memcached_callback_set()\fP returns \fBMEMCACHED_SUCCESS\fP upon
 successful setting, otherwise \fBMEMCACHED_FAILURE\fP on error.
 .SH HOME
 .sp
index 50ab892a464134ddb4dea8818bf16ace9e5e1c8c..04ec2d0416752539c4e6f8b97368f70893035b79 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CAS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CAS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_cas \- Working with data on the server in an atomic fashion
 .
@@ -35,27 +35,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_cas(memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags, uint64_t cas);
+.B memcached_return_t memcached_cas(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP, uint64_t\fI\ cas\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_cas_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags, uint64_t cas);
+.B memcached_return_t memcached_cas_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP, uint64_t\fI\ cas\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
+\fI\%memcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result
 by calling \fBmemcached_result_cas()\fP on a memcached_result_st(3)
 structure. At the point that this note was written cas is still buggy in memached. Turning on tests for it in libmemcached(3) is optional. Please see
 \fBmemcached_set()\fP for information on how to do this.
 .sp
-\fBmemcached_cas_by_key()\fP method behaves in a similar method as the non
-key methods. The difference is that it uses the \fBgroup_key\fP parameter
+\fI\%memcached_cas_by_key()\fP method behaves in a similar method as the non
+key methods. The difference is that it uses the group_key parameter
 to map objects to particular servers.
 .sp
-\fBmemcached_cas()\fP is testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
+\fI\%memcached_cas()\fP is testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.  The
 reason for these limits is that the Memcached Server does not allow
 multi\-datagram requests and the current server implementation sets a datagram
index ba17a93e30cfec107d2025e0d1c6ae9aea34a7d0..4eff3007e43c720b276902c688f0075082a0924c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CAS_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CAS_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_cas_by_key \- Storing and Replacing Data
 .
@@ -35,27 +35,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_cas(memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags, uint64_t cas);
+.B memcached_return_t memcached_cas(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP, uint64_t\fI\ cas\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_cas_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags, uint64_t cas);
+.B memcached_return_t memcached_cas_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP, uint64_t\fI\ cas\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
+\fI\%memcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result
 by calling \fBmemcached_result_cas()\fP on a memcached_result_st(3)
 structure. At the point that this note was written cas is still buggy in memached. Turning on tests for it in libmemcached(3) is optional. Please see
 \fBmemcached_set()\fP for information on how to do this.
 .sp
-\fBmemcached_cas_by_key()\fP method behaves in a similar method as the non
-key methods. The difference is that it uses the \fBgroup_key\fP parameter
+\fI\%memcached_cas_by_key()\fP method behaves in a similar method as the non
+key methods. The difference is that it uses the group_key parameter
 to map objects to particular servers.
 .sp
-\fBmemcached_cas()\fP is testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
+\fI\%memcached_cas()\fP is testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.  The
 reason for these limits is that the Memcached Server does not allow
 multi\-datagram requests and the current server implementation sets a datagram
index 7acc9a56dca9cd3dbeba754e8f20d3907c055471..005049f39a5c68d6a13495c5c1d76afa5cfe2560 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CLONE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CLONE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_clone \- libmemcached Documentation
 .
@@ -35,49 +35,49 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcachd_st
+.B memcached_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_create(memcached_st\fI\ *ptr\fP)
+.B \fI\%memcached_st\fP* memcached_create(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_free(memcached_st\fI\ *ptr\fP)
+.B void memcached_free(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_clone(memcached_st\fI\ *destination\fP, memcached_st\fI\ *source\fP)
+.B \fI\%memcached_st\fP* memcached_clone(\fI\%memcached_st\fP\fI\ *destination\fP, \fI\%memcached_st\fP\fI\ *source\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_servers_reset(memcached_st)
+.B void memcached_servers_reset(\fI\%memcached_st\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fI\%memcached_create()\fP is used to create a \fBmemcached_st\fP
+\fI\%memcached_create()\fP is used to create a \fI\%memcached_st\fP
 structure that will then be used by other libmemcached(3) functions to
 communicate with the server. You should either pass a statically declared
-\fBmemcached_st\fP to \fI\%memcached_create()\fP or
+\fI\%memcached_st\fP to \fI\%memcached_create()\fP or
 a NULL. If a NULL passed in then a structure is allocated for you.
 .sp
 Please note, when you write new application use
-\fBmemcached_create_with_options()\fP over
+\fBmemcached()\fP over
 \fI\%memcached_create()\fP.
 .sp
 \fI\%memcached_clone()\fP is similar to \fI\%memcached_create()\fP but
 it copies the defaults and list of servers from the source
-\fBmemcached_st\fP. If you pass a null as the argument for the source
+\fI\%memcached_st\fP. If you pass a null as the argument for the source
 to clone, it is the same as a call to \fI\%memcached_create()\fP.
-If the destination argument is NULL a \fBmemcached_st\fP will be allocated
+If the destination argument is NULL a \fI\%memcached_st\fP will be allocated
 for you.
 .sp
 \fI\%memcached_servers_reset()\fP allows you to zero out the list of
-servers that the \fBmemcached_st\fP has.
+servers that the \fI\%memcached_st\fP has.
 .sp
-To clean up memory associated with a \fBmemcached_st\fP structure you
+To clean up memory associated with a \fI\%memcached_st\fP structure you
 should pass it to \fI\%memcached_free()\fP when you are finished using it.
 \fI\%memcached_free()\fP is the only way to make sure all memory is
 deallocated when you finish using the structure.
@@ -87,10 +87,10 @@ stack based allocation. The most common issues related to ABI safety involve
 heap allocated structures.
 .SH RETURN
 .sp
-\fI\%memcached_create()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_create()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .sp
-\fI\%memcached_clone()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_clone()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .SH HOME
 .sp
index ab328507528002772a989cb07358cc0f3d9c1141..6de3f34d764d7b4adfabd47b8de71b6ab2d26b6c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CREATE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_CREATE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_create \- libmemcached Documentation
 .
@@ -35,49 +35,49 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcachd_st
+.B memcached_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_create(memcached_st\fI\ *ptr\fP)
+.B \fI\%memcached_st\fP* memcached_create(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_free(memcached_st\fI\ *ptr\fP)
+.B void memcached_free(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_clone(memcached_st\fI\ *destination\fP, memcached_st\fI\ *source\fP)
+.B \fI\%memcached_st\fP* memcached_clone(\fI\%memcached_st\fP\fI\ *destination\fP, \fI\%memcached_st\fP\fI\ *source\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_servers_reset(memcached_st)
+.B void memcached_servers_reset(\fI\%memcached_st\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fI\%memcached_create()\fP is used to create a \fBmemcached_st\fP
+\fI\%memcached_create()\fP is used to create a \fI\%memcached_st\fP
 structure that will then be used by other libmemcached(3) functions to
 communicate with the server. You should either pass a statically declared
-\fBmemcached_st\fP to \fI\%memcached_create()\fP or
+\fI\%memcached_st\fP to \fI\%memcached_create()\fP or
 a NULL. If a NULL passed in then a structure is allocated for you.
 .sp
 Please note, when you write new application use
-\fBmemcached_create_with_options()\fP over
+\fBmemcached()\fP over
 \fI\%memcached_create()\fP.
 .sp
 \fI\%memcached_clone()\fP is similar to \fI\%memcached_create()\fP but
 it copies the defaults and list of servers from the source
-\fBmemcached_st\fP. If you pass a null as the argument for the source
+\fI\%memcached_st\fP. If you pass a null as the argument for the source
 to clone, it is the same as a call to \fI\%memcached_create()\fP.
-If the destination argument is NULL a \fBmemcached_st\fP will be allocated
+If the destination argument is NULL a \fI\%memcached_st\fP will be allocated
 for you.
 .sp
 \fI\%memcached_servers_reset()\fP allows you to zero out the list of
-servers that the \fBmemcached_st\fP has.
+servers that the \fI\%memcached_st\fP has.
 .sp
-To clean up memory associated with a \fBmemcached_st\fP structure you
+To clean up memory associated with a \fI\%memcached_st\fP structure you
 should pass it to \fI\%memcached_free()\fP when you are finished using it.
 \fI\%memcached_free()\fP is the only way to make sure all memory is
 deallocated when you finish using the structure.
@@ -87,10 +87,10 @@ stack based allocation. The most common issues related to ABI safety involve
 heap allocated structures.
 .SH RETURN
 .sp
-\fI\%memcached_create()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_create()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .sp
-\fI\%memcached_clone()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_clone()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .SH HOME
 .sp
index e637700af9a8912a7f0773224de049c9102beef6..ae8a7a2e54960408c230a3a61fdd3270c5339501 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DECREMENT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_DECREMENT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_decrement \- Incrementing and Decrementing Values
 .
@@ -35,35 +35,35 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -73,41 +73,40 @@ Compile and link with \-lmemcached
 (overflow and underflow are not detected). This gives you the ability to use
 memcached to generate shared sequences of values.
 .sp
-memcached_increment() takes a key and keylength and increments the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_increment takes a key and keylength and increments the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement() takes a key and keylength and decrements the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_decrement takes a key and keylength and decrements the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_with_initial() takes a key and keylength and increments
+memcached_increment_with_initial takes a key and keylength and increments
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement_with_initial() takes a key and keylength and decrements
+memcached_decrement_with_initial takes a key and keylength and decrements
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_by_key(), memcached_decrement_by_key(),
-memcached_increment_with_initial_by_key(), and
-memcached_decrement_with_initial_by_key() are master key equivalents of the
-above.
+\fI\%memcached_increment_by_key()\fP, \fI\%memcached_decrement_by_key()\fP,
+\fI\%memcached_increment_with_initial_by_key()\fP, and
+\fI\%memcached_decrement_with_initial_by_key()\fP are master key equivalents of the above.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return_t\fP is returned.
+A value of type \fBmemcached_return_t\fP  is returned.
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use memcached_strerror() to translate this value to a printable string.
+Use memcached_strerror to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 04db9d242fd41f5139f082bd515ebf1f0b1880bc..b5134249553cfe43747b07e92da4c2758979dd2d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_decrement_with_initial \- Incrementing and Decrementing Values
 .
@@ -35,35 +35,35 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -73,41 +73,40 @@ Compile and link with \-lmemcached
 (overflow and underflow are not detected). This gives you the ability to use
 memcached to generate shared sequences of values.
 .sp
-memcached_increment() takes a key and keylength and increments the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_increment takes a key and keylength and increments the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement() takes a key and keylength and decrements the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_decrement takes a key and keylength and decrements the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_with_initial() takes a key and keylength and increments
+memcached_increment_with_initial takes a key and keylength and increments
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement_with_initial() takes a key and keylength and decrements
+memcached_decrement_with_initial takes a key and keylength and decrements
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_by_key(), memcached_decrement_by_key(),
-memcached_increment_with_initial_by_key(), and
-memcached_decrement_with_initial_by_key() are master key equivalents of the
-above.
+\fI\%memcached_increment_by_key()\fP, \fI\%memcached_decrement_by_key()\fP,
+\fI\%memcached_increment_with_initial_by_key()\fP, and
+\fI\%memcached_decrement_with_initial_by_key()\fP are master key equivalents of the above.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return_t\fP is returned.
+A value of type \fBmemcached_return_t\fP  is returned.
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use memcached_strerror() to translate this value to a printable string.
+Use memcached_strerror to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 8bf1ae43a1b44fa9578a8590faeeb4c54d0d3a05..c60914abbb26f4e14065742706b48d78b0db3a6e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DELETE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_DELETE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_delete \- libmemcached Documentation
 .
@@ -35,18 +35,18 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_delete (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_delete(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_delete_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_delete_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_delete()\fP is used to delete a particular key.
-\fBmemcached_delete_by_key()\fP works the same, but it takes a master key
+\fI\%memcached_delete()\fP is used to delete a particular key.
+\fI\%memcached_delete_by_key()\fP works the same, but it takes a master key
 to find the given value.
 .sp
 Expiration works by placing the item into a delete queue, which means that
index 34634d0d6d8368db8fae31ccc28c68e41bafb430..825909094685f76d0665b5700477614ae38acdf0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DELETE_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_DELETE_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_delete_by_key \- libmemcached Documentation
 .
@@ -35,18 +35,18 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_delete (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_delete(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_delete_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_delete_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_delete()\fP is used to delete a particular key.
-\fBmemcached_delete_by_key()\fP works the same, but it takes a master key
+\fI\%memcached_delete()\fP is used to delete a particular key.
+\fI\%memcached_delete_by_key()\fP works the same, but it takes a master key
 to find the given value.
 .sp
 Expiration works by placing the item into a delete queue, which means that
index 0ce011294382928dcd69a76041c11dcfa024147d..a458d559b9040eae98378842d4c46b14c95e31e5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_destroy_sasl_auth_data \- libmemcached Documentation
 .
@@ -43,11 +43,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
+.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
+.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -66,13 +66,11 @@ in memory. If you choose to use this method you have to call
 \fBmemcached_free\fP to avoid a memory leak. You should NOT call
 \fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback
 function with \fI\%memcached_set_sasl_callbacks()\fP.
-.sp
-You as a client user have to initialize libsasl by using \fBsasl_client_init\fP before enabling it in libmemcached, and you have to shut down libsasl by
-calling \fBsasl_done()\fP when you are done using SASL from libmemcached.
 .SH RETURN
 .sp
-\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used
-by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by
+this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns
+\fBMEMCACHED_SUCCESS\fP upon success.
 .SH HOME
 .sp
 To find out more information please check:
index b5b51b30e13cc4ff29cd79d89f9e7213fc3719a6..1063cceb5fbac5726bf2a1bbf9ff6d2cb57e5c11 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DUMP" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_DUMP" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_dump \- libmemcached Documentation
 .
@@ -37,17 +37,17 @@ Get a list of keys found on memcached servers
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_dump (memcached_st *ptr, memcached_dump_fn *function, void *context, uint32_t number_of_callbacks);
+.B memcached_return_t memcached_dump(memcached_st\fI\ *ptr\fP, \fI\%memcached_dump_fn\fP\fI\ *function\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B typedef memcached_return_t (*memcached_dump_fn)(memcached_st *ptr,  const char *key, size_t key_length, void *context);
+.B memcached_return_t (*memcached_dump_fn)(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_dump()\fP is used to get a list of keys found in memcached(1)
+\fI\%memcached_dump()\fP is used to get a list of keys found in memcached(1)
 servers. Because memcached(1) does not guarentee to dump all keys you can not
 assume you have fetched all keys from the server. The function takes an array
 of callbacks that it will use to execute on keys as they are found.
index 788dbe4bf9e8e5c6cb92563f2ba9e6d8291b4f4d..e0079267c5a13f9aa4ce04276eb051f033632f9c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_EXIST" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_EXIST" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_exist \- libmemcached Documentation
 .
index ab6afe6e8c821ffbc127444b708a88ec2b4087f4..c5397392d831c273bc7ec13f70d4dedbc158deea 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_EXIST_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_EXIST_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_exist_by_key \- libmemcached Documentation
 .
index 0627216f2d600845adc9af3183ab509f16fb3f64..4d91fcc2c437e0f6bf8246aaa0e4b8b758597c21 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_FETCH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_fetch \- Retrieving data from the server
 .
@@ -47,7 +47,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 Values returned by \fI\%memcached_fetch()\fP must be freed by the caller.
 .sp
@@ -60,7 +60,7 @@ functions with this behavior on will result in \fBMEMCACHED_NOT_SUPPORTED\fP bei
 to \fBMEMCACHED_END\fP upon successful conclusion.
 \fBMEMCACHED_NOTFOUND\fP will be return if no keys at all were found.
 .sp
-\fBMEMCACHED_KEY_TOO_BIG\fP is set to error whenever :c:\fBmemcached_fetch()\fP was used
+\fBMEMCACHED_KEY_TOO_BIG\fP is set to error whenever \fI\%memcached_fetch()\fP was used
 and the key was set larger then \fBMEMCACHED_MAX_KEY\fP, which was the largest
 key allowed for the original memcached ascii server.
 .SH HOME
index 93a9fa05a1dbad093552ff227142fdb65b6728d2..dd42f3cd805ba6ec05568ab1ff900e35cd196573 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH_EXECUTE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_FETCH_EXECUTE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_fetch_execute \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index dd02c05b93c4e0c17fa15aca3f7f156561e6569f..be3ffd5dcd384a7b3c3ee34193365f69eb264981 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH_RESULT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_FETCH_RESULT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_fetch_result \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index 051881680c23f191b95152390d29b090d4d94ea4..ead7cd83e9fd4103331e72f3c5f05d110959fbd5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FLUSH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_FLUSH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_flush \- libmemcached Documentation
 .
@@ -37,13 +37,13 @@ Wipe contents of memcached servers
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_flush (memcached_st *ptr, time_t expiration);
+.B memcached_return_t memcached_flush(memcached_st\fI\ *ptr\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-:c:func::\fImemcached_flush()\fP is used to wipe clean the contents of \fBmemcached\fP servers.
+:c:func::\fImemcached_flush\fP is used to wipe clean the contents of \fBmemcached\fP servers.
 It will either do this immediately or expire the content based on the
 expiration time passed to the method (a value of zero causes an immediate
 flush). The operation is not atomic to multiple servers, just atomic to a
@@ -53,7 +53,7 @@ added.
 .sp
 A value of type \fBmemcached_return_t\fP is returned
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use \fBmemcached_strerror()\fP to translate this value to a printable string.
+Use \fBmemcached_strerror\fP to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 992db41267f01a44c9a39fc8e0d6f329c51d68ee..e1ef53a4df73356af03dc4eb73afd95837a90fe8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FLUSH_BUFFERS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_FLUSH_BUFFERS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_flush_buffers \- libmemcached Documentation
 .
@@ -37,13 +37,13 @@ Flush and senf buffered commands
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_flush_buffers (memcached_st *ptr);
+.B memcached_return_t memcached_flush_buffers(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_flush_buffers()\fP is used in conjunction with
+\fI\%memcached_flush_buffers()\fP is used in conjunction with
 \fBMEMCACHED_BEHAVIOR_BUFFER_REQUESTS\fP (see memcached_behavior(3)) to flush all buffers by sending the buffered commands to the server for processing.
 .SH RETURN
 .sp
index 327fdb92b63848287bdc4b29fb07f69bd0274fd1..a18ae833b2a2b682699c817b5ac40998f4b131df 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FREE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_FREE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_free \- libmemcached Documentation
 .
@@ -35,49 +35,49 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcachd_st
+.B memcached_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_create(memcached_st\fI\ *ptr\fP)
+.B \fI\%memcached_st\fP* memcached_create(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_free(memcached_st\fI\ *ptr\fP)
+.B void memcached_free(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_clone(memcached_st\fI\ *destination\fP, memcached_st\fI\ *source\fP)
+.B \fI\%memcached_st\fP* memcached_clone(\fI\%memcached_st\fP\fI\ *destination\fP, \fI\%memcached_st\fP\fI\ *source\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_servers_reset(memcached_st)
+.B void memcached_servers_reset(\fI\%memcached_st\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fI\%memcached_create()\fP is used to create a \fBmemcached_st\fP
+\fI\%memcached_create()\fP is used to create a \fI\%memcached_st\fP
 structure that will then be used by other libmemcached(3) functions to
 communicate with the server. You should either pass a statically declared
-\fBmemcached_st\fP to \fI\%memcached_create()\fP or
+\fI\%memcached_st\fP to \fI\%memcached_create()\fP or
 a NULL. If a NULL passed in then a structure is allocated for you.
 .sp
 Please note, when you write new application use
-\fBmemcached_create_with_options()\fP over
+\fBmemcached()\fP over
 \fI\%memcached_create()\fP.
 .sp
 \fI\%memcached_clone()\fP is similar to \fI\%memcached_create()\fP but
 it copies the defaults and list of servers from the source
-\fBmemcached_st\fP. If you pass a null as the argument for the source
+\fI\%memcached_st\fP. If you pass a null as the argument for the source
 to clone, it is the same as a call to \fI\%memcached_create()\fP.
-If the destination argument is NULL a \fBmemcached_st\fP will be allocated
+If the destination argument is NULL a \fI\%memcached_st\fP will be allocated
 for you.
 .sp
 \fI\%memcached_servers_reset()\fP allows you to zero out the list of
-servers that the \fBmemcached_st\fP has.
+servers that the \fI\%memcached_st\fP has.
 .sp
-To clean up memory associated with a \fBmemcached_st\fP structure you
+To clean up memory associated with a \fI\%memcached_st\fP structure you
 should pass it to \fI\%memcached_free()\fP when you are finished using it.
 \fI\%memcached_free()\fP is the only way to make sure all memory is
 deallocated when you finish using the structure.
@@ -87,10 +87,10 @@ stack based allocation. The most common issues related to ABI safety involve
 heap allocated structures.
 .SH RETURN
 .sp
-\fI\%memcached_create()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_create()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .sp
-\fI\%memcached_clone()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_clone()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .SH HOME
 .sp
index 8a739ffac6f660a481ab27713b6b27a5a4768a22..c8f4b05382959e6c1fbcb72e9842a9f295e9eb72 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GENERATE_HASH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_generate_hash \- Generating hash values directly
 .
@@ -37,17 +37,61 @@ Hash a key value
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B uint32_t memcached_generate_hash_value (const char *key, size_t key_length, memcached_hash_t hash_algorithm);
+.B memcached_hash_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t memcached_generate_hash (memcached_st *ptr, const char *key, size_t key_length);
+.B uint32_t memcached_generate_hash_value(const char\fI\ *key\fP, size_t\fI\ key_length\fP, \fI\%memcached_hash_t\fP\fI\ hash_algorithm\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B uint32_t memcached_generate_hash(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_DEFAULT
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_MD5
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_CRC
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1_64
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1A_64
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1_32
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1A_32
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_JENKINS
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_MURMUR
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_HSIEH
 .UNINDENT
 .sp
 Compile and link with \-lmemcachedutil \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_generate_hash_value()\fP allows you to hash a key using one of
+\fI\%memcached_generate_hash_value()\fP allows you to hash a key using one of
 the hash functions defined in the library. This method is provided for
 the convenience of higher\-level language bindings and is not necessary
 for normal memcache operations.
@@ -55,9 +99,9 @@ for normal memcache operations.
 The allowed hash algorithm constants are listed in the manpage for
 \fBmemcached_behavior_set()\fP.
 .sp
-\fBmemcached_generate_hash()\fP takes a \fBmemcached_st\fP struture
+\fI\%memcached_generate_hash()\fP takes a \fBmemcached_st\fP struture
 and produces the hash value that would have been generated based on the
-defaults of the \fBmemcached_st structure\fP.
+defaults of \fBmemcached_st\fP.
 .sp
 As of version 0.36 all hash methods have been placed into the library
 libhashkit(3) which is linked with libmemcached(3). For more information please see its documentation.
index 78bbda018ce21cb19eb570a417c23f076444a472..d899b66b0c5fe7651dc31332b4df652d1484852b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_generate_hash_value \- Generating hash values directly
 .
@@ -37,17 +37,61 @@ Hash a key value
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B uint32_t memcached_generate_hash_value (const char *key, size_t key_length, memcached_hash_t hash_algorithm);
+.B memcached_hash_t
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t memcached_generate_hash (memcached_st *ptr, const char *key, size_t key_length);
+.B uint32_t memcached_generate_hash_value(const char\fI\ *key\fP, size_t\fI\ key_length\fP, \fI\%memcached_hash_t\fP\fI\ hash_algorithm\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B uint32_t memcached_generate_hash(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_DEFAULT
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_MD5
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_CRC
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1_64
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1A_64
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1_32
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_FNV1A_32
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_JENKINS
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_MURMUR
+.UNINDENT
+.INDENT 0.0
+.TP
+.B MEMCACHED_HASH_HSIEH
 .UNINDENT
 .sp
 Compile and link with \-lmemcachedutil \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_generate_hash_value()\fP allows you to hash a key using one of
+\fI\%memcached_generate_hash_value()\fP allows you to hash a key using one of
 the hash functions defined in the library. This method is provided for
 the convenience of higher\-level language bindings and is not necessary
 for normal memcache operations.
@@ -55,9 +99,9 @@ for normal memcache operations.
 The allowed hash algorithm constants are listed in the manpage for
 \fBmemcached_behavior_set()\fP.
 .sp
-\fBmemcached_generate_hash()\fP takes a \fBmemcached_st\fP struture
+\fI\%memcached_generate_hash()\fP takes a \fBmemcached_st\fP struture
 and produces the hash value that would have been generated based on the
-defaults of the \fBmemcached_st structure\fP.
+defaults of \fBmemcached_st\fP.
 .sp
 As of version 0.36 all hash methods have been placed into the library
 libhashkit(3) which is linked with libmemcached(3). For more information please see its documentation.
index 9322c1b29cd1f2f8a7722afba93fb4ca82d54ab3..beb42734b7f5ddfde56bea894342e7e90d395ba6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_get \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index ff4b7d8347a22ce269973cceac9ea0e323257e35..73dff1f52a7a0bb0ae498822b451d0e3ffc75ee2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GET_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_get_by_key \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index 1e8e86af9df60b919292677b71895659958c9b6e..53c7117f6ca42ec99a1cf6d79ebd5348cfa55500 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_get_memory_allocators \- libmemcached Documentation
 .
@@ -37,31 +37,31 @@ Manage memory allocator functions
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_memory_allocators (memcached_st *ptr, memcached_malloc_fn mem_malloc, memcached_free_fn mem_free, memcached_realloc_fn mem_realloc, memcached_calloc_fn mem_calloc, void *context);
+.B memcached_return_t memcached_set_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ mem_calloc\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_get_memory_allocators (memcached_st *ptr, memcached_malloc_fn *mem_malloc, memcached_free_fn *mem_free, memcached_realloc_fn *mem_realloc, memcached_calloc_fn *mem_calloc);
+.B void memcached_get_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ *mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ *mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ *mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ *mem_calloc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_get_memory_allocators_context(const memcached_st *ptr);
+.B void * memcached_get_memory_allocators_context(const memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_malloc_fn) (memcached_st *ptr, const size_t size, void *context);
+.B void * (*memcached_malloc_fn)(memcached_st\fI\ *ptr\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_realloc_fn) (memcached_st *ptr, void *mem, const size_t size, void *context);
+.B void * (*memcached_realloc_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void (*memcached_free_fn) (memcached_st *ptr, void *mem, void *context);
+.B void (*memcached_free_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_calloc_fn) (memcached_st *ptr, size_t nelem, const size_t elsize, void *context);
+.B void * (*memcached_calloc_fn)(memcached_st\fI\ *ptr\fP, size_t\fI\ nelem\fP, const size_t\fI\ elsize\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -70,18 +70,18 @@ Compile and link with \-lmemcached
 libmemcached(3) allows you to specify your own memory allocators, optimized
 for your application. This enables libmemcached to be used inside of applications that have their own malloc implementation.
 .sp
-\fBmemcached_set_memory_allocators()\fP is used to set the memory
+\fI\%memcached_set_memory_allocators()\fP is used to set the memory
 allocators used by the memcached instance specified by ptr. Please note that
 you cannot override only one of the memory allocators, you have to specify a
 complete new set if you want to override one of them. All of the memory
 allocation functions should behave as specified in the C99 standard. Specify
 NULL as all functions to reset them to the default values.
 .sp
-\fBmemcached_get_memory_allocators()\fP is used to get the currently used
+\fI\%memcached_get_memory_allocators()\fP is used to get the currently used
 memory allocators by a mamcached handle.
 .sp
-\fBmemcached_get_memory_allocators_context()\fP returns the void * that
-was passed in during the call to \fBmemcached_set_memory_allocators()\fP.
+\fI\%memcached_get_memory_allocators_context()\fP returns the void * that
+was passed in during the call to \fI\%memcached_set_memory_allocators()\fP.
 .sp
 The first argument to the memory allocator functions is a pointer to a
 memcached structure, the is passed as const and you will need to clone
@@ -93,7 +93,7 @@ passed to them. This was so that customer allocators could have their
 own space for memory.
 .SH RETURN
 .sp
-\fBmemcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
+\fI\%memcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
 upon success, and \fBMEMCACHED_FAILURE\fP if you don\(aqt pass a complete set
 of function pointers.
 .SH HOME
index aa4f6c415bd388a5ec5a5d290fd6bf7821e1cd3c..2273f07d73b5a3bb495f87f199a15790b606564b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_get_sasl_callbacks \- libmemcached Documentation
 .
@@ -43,11 +43,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
+.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
+.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -66,13 +66,11 @@ in memory. If you choose to use this method you have to call
 \fBmemcached_free\fP to avoid a memory leak. You should NOT call
 \fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback
 function with \fI\%memcached_set_sasl_callbacks()\fP.
-.sp
-You as a client user have to initialize libsasl by using \fBsasl_client_init\fP before enabling it in libmemcached, and you have to shut down libsasl by
-calling \fBsasl_done()\fP when you are done using SASL from libmemcached.
 .SH RETURN
 .sp
-\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used
-by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by
+this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns
+\fBMEMCACHED_SUCCESS\fP upon success.
 .SH HOME
 .sp
 To find out more information please check:
index 5944182a770cce7a9b4308d7125703d77aaf9f7c..760da247a9d48d014aa7bbf0fb25762b04cc11c6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_USER_DATA" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_GET_USER_DATA" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_get_user_data \- libmemcached Documentation
 .
@@ -39,27 +39,35 @@ C Client Library for memcached (libmemcached, \-lmemcached)
 .sp
 .nf
 .ft C
-#include <libmemcached/memcached.h>
-
-void *memcached_get_user_data (memcached_st *ptr);
 
-void *memcached_set_user_data (memcached_st *ptr, void *data);
 .ft P
 .fi
+.sp
+#include <libmemcached/memcached.h>
+.INDENT 0.0
+.TP
+.B void *memcached_get_user_data(memcached_st\fI\ *ptr\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B void *memcached_set_user_data(memcached_st\fI\ *ptr\fP, void\fI\ *data\fP)
+.UNINDENT
+.sp
+Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) allows you to store a pointer to a user specific data inside
 the memcached_st structure.
 .sp
-\fBmemcached_set_user_data()\fP is used to set the user specific data in the
+\fI\%memcached_set_user_data()\fP is used to set the user specific data in the
 \fBmemcached_st\fP structure.
 .sp
-\fBmemcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
+\fI\%memcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
 .SH RETURN
 .sp
-\fBmemcached_set_user_data()\fP returns the previous value of the user specific data.
+\fI\%memcached_set_user_data()\fP returns the previous value of the user specific data.
 .sp
-\fBmemcached_get_user_data()\fP returns the current value uf the user specific data.
+\fI\%memcached_get_user_data()\fP returns the current value uf the user specific data.
 .SH HOME
 .sp
 To find out more information please check:
index 62e3c18301df81658868276ff5bff1d0692cfc91..a0d89e6753c09b00dd3147f6a3aea0aee70d49ff 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_INCREMENT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_INCREMENT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_increment \- Incrementing and Decrementing Values
 .
@@ -35,35 +35,35 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -73,41 +73,40 @@ Compile and link with \-lmemcached
 (overflow and underflow are not detected). This gives you the ability to use
 memcached to generate shared sequences of values.
 .sp
-memcached_increment() takes a key and keylength and increments the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_increment takes a key and keylength and increments the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement() takes a key and keylength and decrements the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_decrement takes a key and keylength and decrements the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_with_initial() takes a key and keylength and increments
+memcached_increment_with_initial takes a key and keylength and increments
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement_with_initial() takes a key and keylength and decrements
+memcached_decrement_with_initial takes a key and keylength and decrements
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_by_key(), memcached_decrement_by_key(),
-memcached_increment_with_initial_by_key(), and
-memcached_decrement_with_initial_by_key() are master key equivalents of the
-above.
+\fI\%memcached_increment_by_key()\fP, \fI\%memcached_decrement_by_key()\fP,
+\fI\%memcached_increment_with_initial_by_key()\fP, and
+\fI\%memcached_decrement_with_initial_by_key()\fP are master key equivalents of the above.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return_t\fP is returned.
+A value of type \fBmemcached_return_t\fP  is returned.
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use memcached_strerror() to translate this value to a printable string.
+Use memcached_strerror to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 8a243d582970f9de784f409a77476c7dd40a04c0..d7e4960fce106697b38c2c151aa631e9df0b6523 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_increment_with_initial \- Incrementing and Decrementing Values
 .
@@ -35,35 +35,35 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement (memcached_st *ptr, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial (memcached_st *ptr, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_increment_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, unsigned int offset, uint64_t *value);
+.B memcached_return_t memcached_decrement_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint32_t\fI\ offset\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_increment_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_increment_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_decrement_with_initial_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, uint64_t offset, uint64_t initial, time_t expiration, uint64_t *value);
+.B memcached_return_t memcached_decrement_with_initial_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, uint64_t\fI\ offset\fP, uint64_t\fI\ initial\fP, time_t\fI\ expiration\fP, uint64_t\fI\ *value\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -73,41 +73,40 @@ Compile and link with \-lmemcached
 (overflow and underflow are not detected). This gives you the ability to use
 memcached to generate shared sequences of values.
 .sp
-memcached_increment() takes a key and keylength and increments the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_increment takes a key and keylength and increments the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement() takes a key and keylength and decrements the value by
-the offset passed to it. The value is then returned via the unsigned int
+memcached_decrement takes a key and keylength and decrements the value by
+the offset passed to it. The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_with_initial() takes a key and keylength and increments
+memcached_increment_with_initial takes a key and keylength and increments
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_decrement_with_initial() takes a key and keylength and decrements
+memcached_decrement_with_initial takes a key and keylength and decrements
 the value by the offset passed to it. If the object specified by key does
 not exist, one of two things may happen: If the expiration value is
 MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
 expiration values, the operation will succeed by seeding the value for that
 key with a initial value to expire with the provided expiration time. The
-flags will be set to zero.The value is then returned via the unsigned int
+flags will be set to zero.The value is then returned via the uint32_t
 value pointer you pass to it.
 .sp
-memcached_increment_by_key(), memcached_decrement_by_key(),
-memcached_increment_with_initial_by_key(), and
-memcached_decrement_with_initial_by_key() are master key equivalents of the
-above.
+\fI\%memcached_increment_by_key()\fP, \fI\%memcached_decrement_by_key()\fP,
+\fI\%memcached_increment_with_initial_by_key()\fP, and
+\fI\%memcached_decrement_with_initial_by_key()\fP are master key equivalents of the above.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return_t\fP is returned.
+A value of type \fBmemcached_return_t\fP  is returned.
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use memcached_strerror() to translate this value to a printable string.
+Use memcached_strerror to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 8606936c29f39c7f4ae3e589c8854e5c9b53c717..50473f41037fa135eb584a864cd384998edf0e04 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_LAST_ERROR_MESSAGE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_LAST_ERROR_MESSAGE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_last_error_message \- libmemcached Documentation
 .
@@ -35,18 +35,18 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B const char *memcached_last_error_message(memcached_st *);
+.B const char *memcached_last_error_message(memcached_st\fI\ *\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_last_error_message()\fP is used to return the last error
+\fI\%memcached_last_error_message()\fP is used to return the last error
 message that the server responded too. If this error came from a specific
 server, its hostname and port will be provided in the error message.
 .SH RETURN
 .sp
-memcached_last_error_message() returns a const char* which does not need to be
+memcached_last_error_message returns a const char* which does not need to be
 de\-allocated. If no error has occurred then it will return NULL.
 .SH HOME
 .sp
index 7232334f90d3c5349a8d90b356801b250d3594a7..13e58b0694874a2a915129891e87fd9601ccc6a3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_LIB_VERSION" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_LIB_VERSION" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_lib_version \- libmemcached Documentation
 .
@@ -52,7 +52,7 @@ Compile and link with \-lmemcached
 .sp
 \fI\%memcached_lib_version()\fP returns a string with the version of the libmemcached driver.
 .sp
-A value of \fBmemcached_return_t\fP is returned from :c:func:\(aqmemcached_version()\(aq
+A value of \fBmemcached_return_t\fP is returned from :c:func:\(aqmemcached_version\(aq
 .sp
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
 .sp
index 441cbbfab7763ea5282c54d74e5246be28c80f11..dc8dd5bf8f48c4965636f35c70c7c0254abf43bf 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_memory_allocators \- libmemcached Documentation
 .
@@ -37,31 +37,31 @@ Manage memory allocator functions
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_memory_allocators (memcached_st *ptr, memcached_malloc_fn mem_malloc, memcached_free_fn mem_free, memcached_realloc_fn mem_realloc, memcached_calloc_fn mem_calloc, void *context);
+.B memcached_return_t memcached_set_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ mem_calloc\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_get_memory_allocators (memcached_st *ptr, memcached_malloc_fn *mem_malloc, memcached_free_fn *mem_free, memcached_realloc_fn *mem_realloc, memcached_calloc_fn *mem_calloc);
+.B void memcached_get_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ *mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ *mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ *mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ *mem_calloc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_get_memory_allocators_context(const memcached_st *ptr);
+.B void * memcached_get_memory_allocators_context(const memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_malloc_fn) (memcached_st *ptr, const size_t size, void *context);
+.B void * (*memcached_malloc_fn)(memcached_st\fI\ *ptr\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_realloc_fn) (memcached_st *ptr, void *mem, const size_t size, void *context);
+.B void * (*memcached_realloc_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void (*memcached_free_fn) (memcached_st *ptr, void *mem, void *context);
+.B void (*memcached_free_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_calloc_fn) (memcached_st *ptr, size_t nelem, const size_t elsize, void *context);
+.B void * (*memcached_calloc_fn)(memcached_st\fI\ *ptr\fP, size_t\fI\ nelem\fP, const size_t\fI\ elsize\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -70,18 +70,18 @@ Compile and link with \-lmemcached
 libmemcached(3) allows you to specify your own memory allocators, optimized
 for your application. This enables libmemcached to be used inside of applications that have their own malloc implementation.
 .sp
-\fBmemcached_set_memory_allocators()\fP is used to set the memory
+\fI\%memcached_set_memory_allocators()\fP is used to set the memory
 allocators used by the memcached instance specified by ptr. Please note that
 you cannot override only one of the memory allocators, you have to specify a
 complete new set if you want to override one of them. All of the memory
 allocation functions should behave as specified in the C99 standard. Specify
 NULL as all functions to reset them to the default values.
 .sp
-\fBmemcached_get_memory_allocators()\fP is used to get the currently used
+\fI\%memcached_get_memory_allocators()\fP is used to get the currently used
 memory allocators by a mamcached handle.
 .sp
-\fBmemcached_get_memory_allocators_context()\fP returns the void * that
-was passed in during the call to \fBmemcached_set_memory_allocators()\fP.
+\fI\%memcached_get_memory_allocators_context()\fP returns the void * that
+was passed in during the call to \fI\%memcached_set_memory_allocators()\fP.
 .sp
 The first argument to the memory allocator functions is a pointer to a
 memcached structure, the is passed as const and you will need to clone
@@ -93,7 +93,7 @@ passed to them. This was so that customer allocators could have their
 own space for memory.
 .SH RETURN
 .sp
-\fBmemcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
+\fI\%memcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
 upon success, and \fBMEMCACHED_FAILURE\fP if you don\(aqt pass a complete set
 of function pointers.
 .SH HOME
index 518e255dd5cd73dbeb9f1c44ad1a212162ddc2c9..dd0acf4301ead810d83e248367ced7feced29b86 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_MGET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_mget \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index 3b0b841a5236c2cdb4738ad12e67dbca45bfa8fc..58a28aebc3bd33f86fe3ba2d65e7ebe9ff7638f8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_MGET_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_mget_by_key \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index 6dfdb6115879cc3b62872e2c99567d5850694140..15d00c7bb3e07530e973700b1823b79c62bb1ba0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_EXECUTE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_mget_execute \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index a9b3667e86498711241d49983e37b4d408d6fe8e..019b251eb07b3a992635aa0a471208bfb4ae48d5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_mget_execute_by_key \- Retrieving data from the server
 .
@@ -55,15 +55,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_fetch_execute(memcached_st\fI\ *ptr\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute(memcached_st\fI\ *ptr\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, memcached_execute_fn\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.B memcached_return_t memcached_mget_execute_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char * const\fI\ *keys\fP, const size_t\fI\ *key_length\fP, size_t\fI\ number_of_keys\fP, \fI\%memcached_execute_fn\fP\fI\ *callback\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t (*memcached_execute_fn)(const memcached_st\fI\ *ptr\fP, memcached_result_st\fI\ *result\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -91,7 +95,7 @@ You must pass in a key and its length to fetch the object. You must supply
 three pointer variables which will give you the state of the returned
 object.  A \fBuint32_t\fP pointer to contain whatever flags you stored with the value, a \fBsize_t\fP pointer which will be filled with size of of the
 object, and a \fBmemcached_return_t\fP pointer to hold any error. The
-object will be returned upon success and NULL will be returned on failure. \fBMEMCACHD_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
+object will be returned upon success and NULL will be returned on failure. \fBMEMCACHED_END\fP is returned by the *error value when all objects that have been found are returned. The final value upon \fBMEMCACHED_END\fP is null.
 .sp
 \fI\%memcached_fetch_result()\fP is used to return a \fBmemcached_result_st\fP structure from a memcached server. The result object is forward compatible
 with changes to the server. For more information please refer to the
index bf8dc33eec9cbc5d9cfd9f363f2cfe914ddcc49f..95d387d2ff9b50c6cb19cb71ef7118f4916ba02a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 18ebe44a733e62e8795e1af6a8f31501fa56f795..d2621007b0d5830d6846905a0e8e9863cceb49dc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_behavior_get \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 67e1bd4dfe3e5e3887a9759a486116eeb5e4b7eb..99c2877ab70e3e62e77351759eb31da17b282347 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_behavior_set \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 38cf6e09c38d91bcdeac17746a9fff3f81e29b66..c58ad73a41a16de7364efe226302a613732d1456 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_CREATE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_CREATE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_create \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 700b18ea28245e619de958b645b85605c27fee27..a2da291cba572d8b89c08f8867d3556964f83d36 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_DESTROY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_DESTROY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_destroy \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 5eadc0e38dd9e3449c084f7b11332fefc57c0f8f..892b15aae4b880dfdb18bdbbc218d1529e27ae2f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_FETCH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_FETCH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_fetch \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index f0ebde6cabed8d9542e87ec9204eb1a6222ecac9..a6ce4faada311761cfd500304f7dc6553b5c48a2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_POP" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_POP" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_pop \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 0192df633206dc73be7da267bb9cdee330b976ce..98d4a4020b498a685d31a65304bd1af86d52b87a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_PUSH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_PUSH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_push \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 7986cc513f5e08786300fad7dd10d72ce3ec47a6..1833131a83960377d76488a9d71cc15ed7500f2d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_RELEASE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_RELEASE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_release \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 2a0291c1a3d315fae212ed9c2fea906e8cc3d4b5..e0bd5c504d2909f27cdfafded43b747ab40be65a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_ST" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_POOL_ST" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_pool_st \- libmemcached Documentation
 .
@@ -56,13 +56,13 @@ Deprecated since version 0.46: Use \fI\%memcached_pool()\fP
 .B memcached_st* memcached_pool_pop(\fI\%memcached_pool_st\fP*\fI\ pool\fP, bool\fI\ block\fP, memcached_return_t\fI\ *rc\fP)
 .UNINDENT
 .sp
-Deprecated since version 0.53: Use \fBmemcached_pool_fetch()\fP
+Deprecated since version 0.53: Use \fI\%memcached_pool_fetch()\fP
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_pool_fetch(memcached_pool_st*, struct timespec* relative_time, memcached_return_t* rc);
+.B memcached_st* memcached_pool_fetch(\fI\%memcached_pool_st\fP*, struct timespec*\fI\ relative_time\fP, memcached_return_t*\fI\ rc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_pop()
+New in version 0.53: Synonym for memcached_pool_pop
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_push(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st\fI\ *mmc\fP)
@@ -71,10 +71,10 @@ New in version 0.53: Synonym for memcached_pool_pop()
 Deprecated since version 0.53: Use \fI\%memcached_pool_push()\fP
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_pool_release(memcached_pool_st* pool, memcached_st* mmc);
+.B memcached_return_t memcached_pool_release(\fI\%memcached_pool_st\fP*\fI\ pool\fP, memcached_st*\fI\ mmc\fP)
 .UNINDENT
 .sp
-New in version 0.53: Synonym for memcached_pool_push().
+New in version 0.53: Synonym for memcached_pool_push.
 .INDENT 0.0
 .TP
 .B memcached_return_t memcached_pool_behavior_set(\fI\%memcached_pool_st\fP\fI\ *pool\fP, memcached_behavior_t\fI\ flag\fP, uint64_t\fI\ data\fP)
@@ -96,29 +96,29 @@ created with \fI\%memcached_pool_create()\fP and release all allocated
 resources. It will return the pointer to the \fBmemcached_st\fP structure
 passed as an argument to \fI\%memcached_pool_create()\fP, and returns the ownership of the pointer to the caller when created with \fI\%memcached_pool_create()\fP, otherwise NULL is returned..
 .sp
-\fBmemcached_pool_fetch()\fP is used to fetch a connection structure from the
+\fI\%memcached_pool_fetch()\fP is used to fetch a connection structure from the
 connection pool. The relative_time argument specifies if the function should
 block and wait for a connection structure to be available if we try
 to exceed the maximum size. You need to specify time in relative time.
 .sp
-\fBmemcached_pool_release()\fP is used to return a connection structure back to the pool.
+\fI\%memcached_pool_release()\fP is used to return a connection structure back to the pool.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_set()\fP is used to get/set behavior flags on all connections in the pool.
 .sp
-Both \fBmemcached_pool_release()\fP and \fBmemcached_pool_fetch()\fP are thread safe.
+Both \fI\%memcached_pool_release()\fP and \fI\%memcached_pool_fetch()\fP are thread safe.
 .SH RETURN
 .sp
 \fI\%memcached_pool_destroy()\fP returns the pointer (and ownership) to the \fBmemcached_st\fP structure used to create the pool. If connections are in use it returns NULL.
 .sp
 \fI\%memcached_pool_pop()\fP returns a pointer to a \fBmemcached_st\fP structure from the pool (or NULL if an allocation cannot be satisfied).
 .sp
-\fBmemcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_pool_release()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 \fI\%memcached_pool_behavior_get()\fP and \fI\%memcached_pool_behavior_get()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
 .sp
 If any methods returns MEMCACHED_IN_PROGRESS then a lock on the pool could not be obtained. If any of the parameters passed to any of these functions is invalid, MEMCACHED_INVALID_ARGUMENTS will be returned.
 .sp
-memcached_pool_fetch() may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
+memcached_pool_fetch may return MEMCACHED_TIMEOUT if a timeout occurs while waiting for a free memcached_st. MEMCACHED_NOTFOUND if no memcached_st was available.
 .SH HOME
 .sp
 To find out more information please check:
index 239f60a9770b2006458374d0b4b13dd7b7c83698..c17f1342e6492fc83dbace21bd5d2715ad1c23ca 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_PREPEND" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_PREPEND" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_prepend \- Appending to or Prepending to data on the server
 .
@@ -45,11 +45,11 @@ Appending or Prepending to data on the server
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_prepend_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_prepend_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_append_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_append_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -71,8 +71,8 @@ of data stored. Currently expiration and key are not used in the server.
 \fI\%memcached_append()\fP places a segment of data at the end of the last
 piece of data stored. Currently expiration and key are not used in the server.
 .sp
-\fBmemcached_prepend_by_key()\fP and
-\fBmemcached_append_by_key_by_key()\fP methods both behave in a similar
+\fI\%memcached_prepend_by_key()\fP and
+\fI\%memcached_append_by_key()\fP methods both behave in a similar
 method as the non key methods. The difference is that they use their
 group_key parameter to map objects to particular servers.
 .sp
index a9ff22692767180371a357b63081a5da5685d071..02b4f82bafcba9c0b9c7fa1fa17309d4d99161b8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_PREPEND_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_PREPEND_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_prepend_by_key \- Appending to or Prepending to data on the server
 .
@@ -45,11 +45,11 @@ Appending or Prepending to data on the server
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_prepend_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_prepend_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_append_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_append_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -71,8 +71,8 @@ of data stored. Currently expiration and key are not used in the server.
 \fI\%memcached_append()\fP places a segment of data at the end of the last
 piece of data stored. Currently expiration and key are not used in the server.
 .sp
-\fBmemcached_prepend_by_key()\fP and
-\fBmemcached_append_by_key_by_key()\fP methods both behave in a similar
+\fI\%memcached_prepend_by_key()\fP and
+\fI\%memcached_append_by_key()\fP methods both behave in a similar
 method as the non key methods. The difference is that they use their
 group_key parameter to map objects to particular servers.
 .sp
index e757dc049866dfc9b33156a480ce0a7dce14a7e2..d8e797bd8e8c00f07ac31b6582061b460ce3cd32 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_QUIT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_QUIT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_quit \- libmemcached Documentation
 .
@@ -35,13 +35,13 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B void memcached_quit (memcached_st *ptr);
+.B void memcached_quit(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_quit()\fP will disconnect you from all currently connected
+\fI\%memcached_quit()\fP will disconnect you from all currently connected
 servers. It will also reset the state of the connection (ie, any \fBmemcached_fetch()\fP you are in the middle of will be terminated). This function is
 called automatically when you call \fBmemcached_free()\fP on the \fBmemcached_st\fP structure.
 .sp
@@ -51,9 +51,9 @@ function is provided mainly so that you can timeout your connections or
 reset connections during the middle of a \fBmemcached_fetch()\fP.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return\fP is returned
-On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use \fBmemcached_strerror()\fP to translate this value to a printable string.
+A value of type \fBmemcached_return_t\fP is returned On success that value
+will be \fBMEMCACHED_SUCCESS\fP.  Use \fBmemcached_strerror()\fP to
+translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index eb0d1bf2188d51a683304048b57bf0e2e806ebd3..6e7a66d663c6b55ab036d935749e0c44376afc84 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_REPLACE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_REPLACE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_replace \- Storing and Replacing Data
 .
@@ -35,58 +35,58 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_set()\fP, \fBmemcached_add()\fP, and \fBmemcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
+\fI\%memcached_set()\fP, \fI\%memcached_add()\fP, and \fI\%memcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
 store the object. Keys are currently limited to 250 characters by the
 memcached(1) server. You must supply both a value and a length. Optionally you
 may test an expiration time for the object and a 16 byte value (it is meant to be used as a bitmap). "flags" is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.
 .sp
-\fBmemcached_set()\fP will write an object to the server. If an object
+\fI\%memcached_set()\fP will write an object to the server. If an object
 already exists it will overwrite what is in the server. If the object does not
 exist it will be written. If you are using the non\-blocking mode this function
 will always return true unless a network error occurs.
 .sp
-\fBmemcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
+\fI\%memcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
 .sp
-\fBmemcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
+\fI\%memcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
 .sp
 \fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result by
 calling \fBmemcached_result_cas()\fP on a memcached_result_st(3) structure. At the point
 that this note was written cas is still buggy in memached. Turning on tests
-for it in libmemcached(3) is optional. Please see memcached_set() for
+for it in libmemcached(3) is optional. Please see memcached_set for
 information on how to do this.
 .sp
-\fBmemcached_set_by_key()\fP, \fBmemcached_add_by_key()\fP, and \fBmemcached_replace_by_key()\fP methods all behave in a similar method as the non
+\fI\%memcached_set_by_key()\fP, \fI\%memcached_add_by_key()\fP, and \fI\%memcached_replace_by_key()\fP methods all behave in a similar method as the non
 key methods. The difference is that they use their group_key parameter to map
 objects to particular servers.
 .sp
-If you are looking for performance, \fBmemcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
+If you are looking for performance, \fI\%memcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
 .sp
 All of the above functions are testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.
@@ -104,7 +104,7 @@ All methods return a value of type \fBmemcached_return_t\fP.
 On success the value will be \fBMEMCACHED_SUCCESS\fP.
 Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .sp
-For \fBmemcached_replace()\fP and \fBmemcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
+For \fI\%memcached_replace()\fP and \fI\%memcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
 .SH HOME
 .sp
 To find out more information please check:
index 173fb1030a9661cb7ca84e6dd5c9dae195f5eec6..51b865431d41367b185d33f085e3924d5e62b193 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_REPLACE_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_REPLACE_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_replace_by_key \- Storing and Replacing Data
 .
@@ -35,58 +35,58 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_set()\fP, \fBmemcached_add()\fP, and \fBmemcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
+\fI\%memcached_set()\fP, \fI\%memcached_add()\fP, and \fI\%memcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
 store the object. Keys are currently limited to 250 characters by the
 memcached(1) server. You must supply both a value and a length. Optionally you
 may test an expiration time for the object and a 16 byte value (it is meant to be used as a bitmap). "flags" is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.
 .sp
-\fBmemcached_set()\fP will write an object to the server. If an object
+\fI\%memcached_set()\fP will write an object to the server. If an object
 already exists it will overwrite what is in the server. If the object does not
 exist it will be written. If you are using the non\-blocking mode this function
 will always return true unless a network error occurs.
 .sp
-\fBmemcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
+\fI\%memcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
 .sp
-\fBmemcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
+\fI\%memcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
 .sp
 \fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result by
 calling \fBmemcached_result_cas()\fP on a memcached_result_st(3) structure. At the point
 that this note was written cas is still buggy in memached. Turning on tests
-for it in libmemcached(3) is optional. Please see memcached_set() for
+for it in libmemcached(3) is optional. Please see memcached_set for
 information on how to do this.
 .sp
-\fBmemcached_set_by_key()\fP, \fBmemcached_add_by_key()\fP, and \fBmemcached_replace_by_key()\fP methods all behave in a similar method as the non
+\fI\%memcached_set_by_key()\fP, \fI\%memcached_add_by_key()\fP, and \fI\%memcached_replace_by_key()\fP methods all behave in a similar method as the non
 key methods. The difference is that they use their group_key parameter to map
 objects to particular servers.
 .sp
-If you are looking for performance, \fBmemcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
+If you are looking for performance, \fI\%memcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
 .sp
 All of the above functions are testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.
@@ -104,7 +104,7 @@ All methods return a value of type \fBmemcached_return_t\fP.
 On success the value will be \fBMEMCACHED_SUCCESS\fP.
 Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .sp
-For \fBmemcached_replace()\fP and \fBmemcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
+For \fI\%memcached_replace()\fP and \fI\%memcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
 .SH HOME
 .sp
 To find out more information please check:
index e07dfef9558b6e5a47ce647d759781073f8462c9..ed87cd85763e11b168976998d8eb5757e5166188 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_CAS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_CAS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_cas \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index 9bdd57af1a631043bca9d181edc22f9f176a0ba7..0e2581c209887f09bf50d496122625369642e020 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_CREATE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_CREATE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_create \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index ef4fe3f781747af60d2792c459c9c8ca3cacd012..cd44b567bc8f0e7b18fa7dbbdf8e3f3e4718ddf2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_FLAGS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_FLAGS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_flags \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index ab22e7c04f4a3772984877789e2e45fcce0361a3..95db83aed839c87f902f3e51ada3f9d0c991df68 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_FREE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_FREE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_free \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index e030ff69337eb7beaa1116ceb4212690233b27b0..aec29622a13229732f72b9133759b783d6d29fb7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_key_length \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index a1a6456bf50398974d2c6204784a9a74a0dc4876..2f8b8734a84ccc52556c9404277aee78ac80443c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_key_value \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index d5bf6159317fd2d57484278e2126bfd832104234..955618c68ad1ca6747f996fbe9aee5e064704076 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_LENGTH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_LENGTH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_length \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index 2f417c5b66420515ae0827a533ba4cf8633d2ae7..3888859bd38c1b734ad7660bd5aa3ae7c085affc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_ST" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_ST" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_st \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index cad744d21f1e4e4acf6a2e8d8b5ca778aeae4e86..e08cac9e1c4e28f278f9d7519b8160b0cdb2eb09 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_VALUE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RESULT_VALUE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_result_value \- Working with result sets
 .
@@ -39,27 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_result_st * memcached_result_create (memcached_st *ptr, memcached_result_st *result);
+.B \fI\%memcached_result_st\fP * memcached_result_create(memcached_st\fI\ *ptr\fP, \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_result_free (memcached_result_st *result);
+.B void memcached_result_free(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char * memcached_result_key_value (memcached_result_st *result);
+.B const char * memcached_result_key_value(\fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_key_length (const memcached_result_st *result);
+.B size_t memcached_result_key_length(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *memcached_result_value (memcached_result_st *ptr);
+.B const char *memcached_result_value(\fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B size_t memcached_result_length (const memcached_result_st *ptr);
+.B size_t memcached_result_length(const \fI\%memcached_result_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -67,7 +67,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint64_t memcached_result_cas (const memcached_result_st *result);
+.B uint64_t memcached_result_cas(const \fI\%memcached_result_st\fP\fI\ *result\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -96,39 +96,40 @@ objects over char * return functions.
 The structure of \fI\%memcached_result_st\fP has been encapsulated, you should
 not write code to directly access members of the structure.
 .sp
-\fBmemcached_result_create()\fP will either allocate memory for a
+\fI\%memcached_result_create()\fP will either allocate memory for a
 \fI\%memcached_result_st\fP or will initialize a structure passed to it.
 .sp
-\fBmemcached_result_free()\fP will deallocate any memory attached to the
+\fI\%memcached_result_free()\fP will deallocate any memory attached to the
 structure. If the structure was also allocated, it will deallocate it.
 .sp
-\fBmemcached_result_key_value()\fP returns the key value associated with the
+\fI\%memcached_result_key_value()\fP returns the key value associated with the
 current result object.
 .sp
-\fBmemcached_result_key_length()\fP returns the key length associated with
+\fI\%memcached_result_key_length()\fP returns the key length associated with
 the current result object.
 .sp
-\fBmemcached_result_value()\fP returns the result value associated with the
+\fI\%memcached_result_value()\fP returns the result value associated with the
 current result object.
 .sp
-\fBmemcached_result_length()\fP returns the result length associated with
+\fI\%memcached_result_length()\fP returns the result length associated with
 the current result object.
 .sp
 \fI\%memcached_result_flags()\fP returns the flags associated with the
 current result object.
 .sp
-\fBmemcached_result_cas()\fP returns the cas associated with the
+\fI\%memcached_result_cas()\fP returns the cas associated with the
 current result object. This value will only be available if the server
 tests it.
 .sp
 \fI\%memcached_result_set_value()\fP takes a byte array and a size and sets
 the result to this value. This function is used for trigger responses.
 .sp
-\fBvoid memcached_result_set_flags()\fP takes a result structure and stores
-a new value for the flags field.
+\fI\%memcached_result_set_flags()\fP takes a result structure and stores a new
+value for the flags field.
 .sp
-\fBvoid memcached_result_set_expiration(A)()\fP takes a result structure and stores a new value for the expiration field (this is only used by read
-through triggers).
+\fI\%memcached_result_set_expiration()\fP takes a result structure and stores
+a new value for the expiration field (this is only used by read through
+triggers).
 .sp
 You may wish to avoid using memcached_result_create(3) with a
 stack based allocation. The most common issues related to ABI safety involve
@@ -136,7 +137,7 @@ heap allocated structures.
 .SH RETURN
 .sp
 Varies, see particular functions. All structures must have
-\fBmemcached_result_free()\fP called on them for cleanup purposes. Failure
+\fI\%memcached_result_free()\fP called on them for cleanup purposes. Failure
 to do this will result in leaked memory.
 .SH HOME
 .sp
index 43f39eece8ab8607d19d1a69b2f7d28e60dec1d9..95d7d5548c092c609db77a495deff955a2a2270a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RETURN_T" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_RETURN_T" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_return_t \- Return type values 
 .
@@ -39,223 +39,128 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B const char *libmemcached_strerror(libmemcached_return_t\fI\ rc\fP)
+.B const char *libmemcached_strerror(\fI\%memcached_return_t\fP\fI\ rc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool libmemcached_success(libmemcached_return_t\fI\ rc\fP)
+.B bool libmemcached_success(\fI\%memcached_return_t\fP\fI\ rc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool libmemcached_failure(libmemcached_return_t\fI\ rc\fP)
+.B bool libmemcached_failure(\fI\%memcached_return_t\fP\fI\ rc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B bool libmemcache_continue(libmemcached_return_t\fI\ rc\fP)
-.UNINDENT
-.sp
-\fBmemcached_success()\fP return true if \fI\%MEMCACHED_SUCCESS\fP tested true.
-.sp
-\fBmemcached_failure()\fP return true if any value other then \fI\%MEMCACHED_SUCCESS\fP was provided.
-.SS Libmemcached return types:
-.INDENT 0.0
-.TP
-.B MEMCACHED_SUCCESS
-.UNINDENT
-.sp
-Success
-.INDENT 0.0
-.TP
-.B MEMCACHED_FAILURE
+.B bool libmemcache_continue(\fI\%memcached_return_t\fP\fI\ rc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B MEMCACHED_HOST_LOOKUP_FAILURE
+.B bool memcached_success(\fI\%memcached_return_t\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B MEMCACHED_CONNECTION_FAILURE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_CONNECTION_BIND_FAILURE
+.B bool memcached_failure(\fI\%memcached_return_t\fP)
 .UNINDENT
 .sp
-Deprecated since version <0.30.
-.INDENT 0.0
-.TP
-.B MEMCACHED_WRITE_FAILURE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_READ_FAILURE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_UNKNOWN_READ_FAILURE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_PROTOCOL_ERROR
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_CLIENT_ERROR
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_SERVER_ERROR
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_CONNECTION_SOCKET_CREATE_FAILURE
-.UNINDENT
+\fI\%memcached_success()\fP return true if \fBMEMCACHED_SUCCESS\fP tested true.
 .sp
-Deprecated since version <0.30.
-.INDENT 0.0
-.TP
-.B MEMCACHED_DATA_EXISTS
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_DATA_DOES_NOT_EXIST
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_NOTSTORED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_STORED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_NOTFOUND
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_MEMORY_ALLOCATION_FAILURE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_PARTIAL_READ
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_SOME_ERRORS
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_NO_SERVERS
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_END
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_DELETED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_VALUE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_STAT
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_ITEM
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_ERRNO
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_FAIL_UNIX_SOCKET
-.UNINDENT
+\fI\%memcached_failure()\fP return true if any value other then \fBMEMCACHED_SUCCESS\fP was provided.
+.SS Libmemcached return types:
 .sp
-Deprecated since version <0.30.
-.INDENT 0.0
-.TP
-.B MEMCACHED_NOT_SUPPORTED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_NO_KEY_PROVIDED
-.UNINDENT
+\fBMEMCACHED_SUCCESS\fP
 .sp
-Deprecated since version <0.30: Use \fI\%MEMCACHED_BAD_KEY_PROVIDED\fP instead.
-.INDENT 0.0
-.TP
-.B MEMCACHED_FETCH_NOTFINISHED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_TIMEOUT
-Connection to server timed out.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_BUFFERED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_BAD_KEY_PROVIDED
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_INVALID_HOST_PROTOCOL
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_SERVER_MARKED_DEAD
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_UNKNOWN_STAT_KEY
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_E2BIG
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_INVALID_ARGUMENTS
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_KEY_TOO_BIG
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_AUTH_PROBLEM
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_AUTH_FAILURE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_AUTH_CONTINUE
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_PARSE_ERROR
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_PARSE_USER_ERROR
-.UNINDENT
-.INDENT 0.0
-.TP
-.B MEMCACHED_DEPRECATED
-.UNINDENT
+\fBMEMCACHED_FAILURE\fP
+.sp
+\fBMEMCACHED_HOST_LOOKUP_FAILURE\fP
+.sp
+\fBMEMCACHED_CONNECTION_FAILURE\fP
+.sp
+\fBMEMCACHED_CONNECTION_BIND_FAILURE\fP
+.sp
+\fBMEMCACHED_WRITE_FAILURE\fP
+.sp
+\fBMEMCACHED_READ_FAILURE\fP
+.sp
+\fBMEMCACHED_UNKNOWN_READ_FAILURE\fP
+.sp
+\fBMEMCACHED_PROTOCOL_ERROR\fP
+.sp
+\fBMEMCACHED_CLIENT_ERROR\fP
+.sp
+\fBMEMCACHED_SERVER_ERROR\fP
+.sp
+\fBMEMCACHED_CONNECTION_SOCKET_CREATE_FAILURE\fP
+.sp
+\fBMEMCACHED_DATA_EXISTS\fP
+.sp
+\fBMEMCACHED_DATA_DOES_NOT_EXIST\fP
+.sp
+\fBMEMCACHED_NOTSTORED\fP
+.sp
+\fBMEMCACHED_STORED\fP
+.sp
+\fBMEMCACHED_NOTFOUND\fP
+.sp
+\fBMEMCACHED_MEMORY_ALLOCATION_FAILURE\fP
+.sp
+\fBMEMCACHED_PARTIAL_READ\fP
+.sp
+\fBMEMCACHED_SOME_ERRORS\fP
+.sp
+\fBMEMCACHED_NO_SERVERS\fP
+.sp
+\fBMEMCACHED_END\fP
+.sp
+\fBMEMCACHED_DELETED\fP
+.sp
+\fBMEMCACHED_VALUE\fP
+.sp
+\fBMEMCACHED_STAT\fP
+.sp
+\fBMEMCACHED_ITEM\fP
+.sp
+\fBMEMCACHED_ERRNO\fP
+.sp
+\fBMEMCACHED_FAIL_UNIX_SOCKET\fP
+.sp
+\fBMEMCACHED_NOT_SUPPORTED\fP
+.sp
+\fBMEMCACHED_NO_KEY_PROVIDED\fP
+.sp
+\fBMEMCACHED_FETCH_NOTFINISHED\fP
+.sp
+\fBMEMCACHED_TIMEOUT\fP
+.sp
+\fBMEMCACHED_BUFFERED\fP
+.sp
+\fBMEMCACHED_BAD_KEY_PROVIDED\fP
+.sp
+\fBMEMCACHED_INVALID_HOST_PROTOCOL\fP
+.sp
+\fBMEMCACHED_SERVER_MARKED_DEAD\fP
+.sp
+\fBMEMCACHED_UNKNOWN_STAT_KEY\fP
+.sp
+\fBMEMCACHED_E2BIG\fP
+.sp
+\fBMEMCACHED_INVALID_ARGUMENTS\fP
+.sp
+\fBMEMCACHED_KEY_TOO_BIG\fP
+.sp
+\fBMEMCACHED_AUTH_PROBLEM\fP
+.sp
+\fBMEMCACHED_AUTH_FAILURE\fP
+.sp
+\fBMEMCACHED_AUTH_CONTINUE\fP
+.sp
+\fBMEMCACHED_PARSE_ERROR\fP
+.sp
+\fBMEMCACHED_PARSE_USER_ERROR\fP
+.sp
+\fBMEMCACHED_DEPRECATED\fP
 .SH SEE ALSO
 .sp
-\fImemcached(8)\fP \fIlibmemcached(3)\fP \fImemcached_client_error()\fP or \fImemcached_worker_error()\fP
+\fImemcached\fP \fIlibmemcached\fP \fImemcached_client_error\fP or \fImemcached_worker_error\fP
 .SH AUTHOR
 Brian Aker
 .SH COPYRIGHT
index 1f4f66671c12a1e3caf054a773d7dccb3ab2a97e..d2d0d13169c7ac5791e989712ed241f1e300b0c0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SASL" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SASL" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_sasl \- libmemcached Documentation
 .
@@ -43,11 +43,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
+.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
+.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -66,13 +66,11 @@ in memory. If you choose to use this method you have to call
 \fBmemcached_free\fP to avoid a memory leak. You should NOT call
 \fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback
 function with \fI\%memcached_set_sasl_callbacks()\fP.
-.sp
-You as a client user have to initialize libsasl by using \fBsasl_client_init\fP before enabling it in libmemcached, and you have to shut down libsasl by
-calling \fBsasl_done()\fP when you are done using SASL from libmemcached.
 .SH RETURN
 .sp
-\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used
-by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by
+this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns
+\fBMEMCACHED_SUCCESS\fP upon success.
 .SH HOME
 .sp
 To find out more information please check:
index e5a61eaaefb65b359ad5f571bc0f5c71d1691f23..745e782b36e9cae13f16d06ea0f54869d0b8db40 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_sasl_set_auth_data \- libmemcached Documentation
 .
@@ -43,11 +43,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
+.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
+.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -66,13 +66,11 @@ in memory. If you choose to use this method you have to call
 \fBmemcached_free\fP to avoid a memory leak. You should NOT call
 \fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback
 function with \fI\%memcached_set_sasl_callbacks()\fP.
-.sp
-You as a client user have to initialize libsasl by using \fBsasl_client_init\fP before enabling it in libmemcached, and you have to shut down libsasl by
-calling \fBsasl_done()\fP when you are done using SASL from libmemcached.
 .SH RETURN
 .sp
-\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used
-by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by
+this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns
+\fBMEMCACHED_SUCCESS\fP upon success.
 .SH HOME
 .sp
 To find out more information please check:
index 25bccd8ffc908df7e1253d5454f3bbe55b7da049..a98495ef29c19bd824589d816d328d8f2c99cc4d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ADD" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_add \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index c57f2533d2171b95f27d20b451cc2a51d87d4eee..a07e58334a74dd97adc6b2c960bd4e0cb4258ab3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_add_unix_socket \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index f7bef10a462c359be974bc719145576a235e008d..317071208e402f88069ca32585cec2ac08977c20 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_COUNT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_COUNT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_count \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index 64f25cf45a9fc4ecef71104560f28e4f01da9101..64bbaff0b0b1a179176508b94bebd1dd96d65762 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_CURSOR" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_CURSOR" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_cursor \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index f756037771179f69d96232c3a7e1bb0a7667f971..0f1b31b5b870a340900161bd4713ba71507fd93a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_list \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index 1894c75e2c8f602e9dc23a0a2bb0f6cfbcbf5305..2fd3b7216692398f821305cb1077a17280c7d0b9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_list_append \- libmemcached Documentation
 .
@@ -39,19 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
+.B memcached_server_list_st
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_server_st
+.UNINDENT
+.INDENT 0.0
+.TP
 .B const \fI\%memcached_server_instance_st\fP memcached_server_list(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_server_list_free(memcached_server_list_st\fI\ list\fP)
+.B void memcached_server_list_free(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_server_list_st memcached_server_list_append(memcached_server_list_st\fI\ list\fP, const char\fI\ *hostname\fP, unsigned int\fI\ port\fP, memcached_return_t\fI\ *error\fP)
+.B \fI\%memcached_server_list_st\fP memcached_server_list_append(\fI\%memcached_server_list_st\fP\fI\ list\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t memcached_server_list_count(memcached_server_list_st\fI\ list\fP)
+.B uint32_t memcached_server_list_count(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -63,30 +71,36 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .sp
 Deprecated since version 0.39.
+.INDENT 0.0
+.TP
+.B void memcached_servers_parse()
+.UNINDENT
+.sp
+Deprecated since version 0.39.
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) operates on a list of hosts which are stored in
-\fBmemcached_server_st\fP structures. You should not modify these structures
+\fI\%memcached_server_st\fP structures. You should not modify these structures
 directly. Functions are provided to modify these structures (and more can be
 added, just ask!).
 .sp
-\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free()" up till version 0.39.
+\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free" up till version 0.39.
 .sp
-\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fBmemcached_server_st\fP that you passed to it.
+\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fI\%memcached_server_st\fP that you passed to it.
 .sp
 \fI\%memcached_server_list_append()\fP adds a server to the end of a
-\fBmemcached_server_st\fP array. On error null will be returned and the
+\fI\%memcached_server_st\fP array. On error null will be returned and the
 \fBmemcached_return_t\fP pointer you passed into the function will be set with the appropriate error. If the value of port is zero, it is set to the default
 port of a memcached server.
 .sp
-DEPRECATED \fBmemcached_servers_parse()\fP, please see \fBmemcached()\fP
+DEPRECATED \fI\%memcached_servers_parse()\fP, please see \fBmemcached()\fP
 .sp
 \fI\%memcached_server_error()\fP can be used to look at the text of the last error message sent by the server to to the client.
 .sp
 Before version 0.39 theses functions used a memcache_server_st *. In 0.39
-memcached_server_st * was aliased to \fBmemcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
+memcached_server_st * was aliased to \fI\%memcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
 .SH RETURN
 .sp
 Varies, see particular functions.
index 5139781defa5501dc4ac88f91e895a1c802f2f42..f9a9b1d65d9a760cc8ad5788c0aa60438095d950 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_list_count \- libmemcached Documentation
 .
@@ -39,19 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
+.B memcached_server_list_st
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_server_st
+.UNINDENT
+.INDENT 0.0
+.TP
 .B const \fI\%memcached_server_instance_st\fP memcached_server_list(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_server_list_free(memcached_server_list_st\fI\ list\fP)
+.B void memcached_server_list_free(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_server_list_st memcached_server_list_append(memcached_server_list_st\fI\ list\fP, const char\fI\ *hostname\fP, unsigned int\fI\ port\fP, memcached_return_t\fI\ *error\fP)
+.B \fI\%memcached_server_list_st\fP memcached_server_list_append(\fI\%memcached_server_list_st\fP\fI\ list\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t memcached_server_list_count(memcached_server_list_st\fI\ list\fP)
+.B uint32_t memcached_server_list_count(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -63,30 +71,36 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .sp
 Deprecated since version 0.39.
+.INDENT 0.0
+.TP
+.B void memcached_servers_parse()
+.UNINDENT
+.sp
+Deprecated since version 0.39.
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) operates on a list of hosts which are stored in
-\fBmemcached_server_st\fP structures. You should not modify these structures
+\fI\%memcached_server_st\fP structures. You should not modify these structures
 directly. Functions are provided to modify these structures (and more can be
 added, just ask!).
 .sp
-\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free()" up till version 0.39.
+\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free" up till version 0.39.
 .sp
-\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fBmemcached_server_st\fP that you passed to it.
+\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fI\%memcached_server_st\fP that you passed to it.
 .sp
 \fI\%memcached_server_list_append()\fP adds a server to the end of a
-\fBmemcached_server_st\fP array. On error null will be returned and the
+\fI\%memcached_server_st\fP array. On error null will be returned and the
 \fBmemcached_return_t\fP pointer you passed into the function will be set with the appropriate error. If the value of port is zero, it is set to the default
 port of a memcached server.
 .sp
-DEPRECATED \fBmemcached_servers_parse()\fP, please see \fBmemcached()\fP
+DEPRECATED \fI\%memcached_servers_parse()\fP, please see \fBmemcached()\fP
 .sp
 \fI\%memcached_server_error()\fP can be used to look at the text of the last error message sent by the server to to the client.
 .sp
 Before version 0.39 theses functions used a memcache_server_st *. In 0.39
-memcached_server_st * was aliased to \fBmemcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
+memcached_server_st * was aliased to \fI\%memcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
 .SH RETURN
 .sp
 Varies, see particular functions.
index 139602df107a5bd26708a7c25600922472f7e3b4..deeb894277ba03b0d2dc06686389b6e59fa0e0af 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_FREE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_FREE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_list_free \- libmemcached Documentation
 .
@@ -39,19 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
+.B memcached_server_list_st
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_server_st
+.UNINDENT
+.INDENT 0.0
+.TP
 .B const \fI\%memcached_server_instance_st\fP memcached_server_list(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_server_list_free(memcached_server_list_st\fI\ list\fP)
+.B void memcached_server_list_free(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_server_list_st memcached_server_list_append(memcached_server_list_st\fI\ list\fP, const char\fI\ *hostname\fP, unsigned int\fI\ port\fP, memcached_return_t\fI\ *error\fP)
+.B \fI\%memcached_server_list_st\fP memcached_server_list_append(\fI\%memcached_server_list_st\fP\fI\ list\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t memcached_server_list_count(memcached_server_list_st\fI\ list\fP)
+.B uint32_t memcached_server_list_count(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -63,30 +71,36 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .sp
 Deprecated since version 0.39.
+.INDENT 0.0
+.TP
+.B void memcached_servers_parse()
+.UNINDENT
+.sp
+Deprecated since version 0.39.
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) operates on a list of hosts which are stored in
-\fBmemcached_server_st\fP structures. You should not modify these structures
+\fI\%memcached_server_st\fP structures. You should not modify these structures
 directly. Functions are provided to modify these structures (and more can be
 added, just ask!).
 .sp
-\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free()" up till version 0.39.
+\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free" up till version 0.39.
 .sp
-\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fBmemcached_server_st\fP that you passed to it.
+\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fI\%memcached_server_st\fP that you passed to it.
 .sp
 \fI\%memcached_server_list_append()\fP adds a server to the end of a
-\fBmemcached_server_st\fP array. On error null will be returned and the
+\fI\%memcached_server_st\fP array. On error null will be returned and the
 \fBmemcached_return_t\fP pointer you passed into the function will be set with the appropriate error. If the value of port is zero, it is set to the default
 port of a memcached server.
 .sp
-DEPRECATED \fBmemcached_servers_parse()\fP, please see \fBmemcached()\fP
+DEPRECATED \fI\%memcached_servers_parse()\fP, please see \fBmemcached()\fP
 .sp
 \fI\%memcached_server_error()\fP can be used to look at the text of the last error message sent by the server to to the client.
 .sp
 Before version 0.39 theses functions used a memcache_server_st *. In 0.39
-memcached_server_st * was aliased to \fBmemcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
+memcached_server_st * was aliased to \fI\%memcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
 .SH RETURN
 .sp
 Varies, see particular functions.
index 800859d77d1bf5cecbf5814971eed329a412f729..707fde8dd6c45c5e1b7e4a01adcef059c65bbcc6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_PUSH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_PUSH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_push \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index 07facf5b2fbdeca43222d13f5091829d1c441d05..a82d81db9d99c2cb6281f9626e3f43886830a043 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ST" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVER_ST" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_server_st \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index 35c9e3eef1daaa070a6ea0601308c6b49e64a2e8..feb58fe36a0609cf749aed172c7658b08d3d7d18 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVERS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_servers \- libmemcached Documentation
 .
@@ -100,10 +100,7 @@ copy is made of structure so the list provided (and any operations on
 the list) are not saved.
 .sp
 \fI\%memcached_server_by_key()\fP allows you to provide a key and retrieve the
-server which would be used for assignment. This structure is cloned
-from its original structure and must be freed. If NULL is returned you
-should consult *error. The returning structure should be freed with
-\fBmemcached_server_free()\fP.
+server which would be used for assignment.
 .sp
 \fI\%memcached_server_get_last_disconnect()\fP returns a pointer to the last
 server for which there was a connection problem. It does not mean this
index bf8229165d70551ace23e639cfa68c73a70f1803..a0fc2eaba16eb99321304972f261b4851a290f03 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS_PARSE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVERS_PARSE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_servers_parse \- libmemcached Documentation
 .
@@ -39,19 +39,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
+.B memcached_server_list_st
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_server_st
+.UNINDENT
+.INDENT 0.0
+.TP
 .B const \fI\%memcached_server_instance_st\fP memcached_server_list(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_server_list_free(memcached_server_list_st\fI\ list\fP)
+.B void memcached_server_list_free(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_server_list_st memcached_server_list_append(memcached_server_list_st\fI\ list\fP, const char\fI\ *hostname\fP, unsigned int\fI\ port\fP, memcached_return_t\fI\ *error\fP)
+.B \fI\%memcached_server_list_st\fP memcached_server_list_append(\fI\%memcached_server_list_st\fP\fI\ list\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B uint32_t memcached_server_list_count(memcached_server_list_st\fI\ list\fP)
+.B uint32_t memcached_server_list_count(\fI\%memcached_server_list_st\fP\fI\ list\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -63,30 +71,36 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .sp
 Deprecated since version 0.39.
+.INDENT 0.0
+.TP
+.B void memcached_servers_parse()
+.UNINDENT
+.sp
+Deprecated since version 0.39.
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) operates on a list of hosts which are stored in
-\fBmemcached_server_st\fP structures. You should not modify these structures
+\fI\%memcached_server_st\fP structures. You should not modify these structures
 directly. Functions are provided to modify these structures (and more can be
 added, just ask!).
 .sp
-\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free()" up till version 0.39.
+\fI\%memcached_server_list()\fP is used to provide an array of all defined hosts. This was incorrectly documented as "requiring free" up till version 0.39.
 .sp
-\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fBmemcached_server_st\fP that you passed to it.
+\fI\%memcached_server_list_free()\fP deallocates all memory associated with the array of \fI\%memcached_server_st\fP that you passed to it.
 .sp
 \fI\%memcached_server_list_append()\fP adds a server to the end of a
-\fBmemcached_server_st\fP array. On error null will be returned and the
+\fI\%memcached_server_st\fP array. On error null will be returned and the
 \fBmemcached_return_t\fP pointer you passed into the function will be set with the appropriate error. If the value of port is zero, it is set to the default
 port of a memcached server.
 .sp
-DEPRECATED \fBmemcached_servers_parse()\fP, please see \fBmemcached()\fP
+DEPRECATED \fI\%memcached_servers_parse()\fP, please see \fBmemcached()\fP
 .sp
 \fI\%memcached_server_error()\fP can be used to look at the text of the last error message sent by the server to to the client.
 .sp
 Before version 0.39 theses functions used a memcache_server_st *. In 0.39
-memcached_server_st * was aliased to \fBmemcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
+memcached_server_st * was aliased to \fI\%memcached_server_list_st\fP. This was done for a style reason to help clean up some concepts in the code.
 .SH RETURN
 .sp
 Varies, see particular functions.
index 4eb505fce1f30056ca6ad7e91532ec8af1498d3b..1a5cf623d166bc04c9b53939872aaee111a4751b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS_RESET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SERVERS_RESET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_servers_reset \- libmemcached Documentation
 .
@@ -35,49 +35,49 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcachd_st
+.B memcached_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_create(memcached_st\fI\ *ptr\fP)
+.B \fI\%memcached_st\fP* memcached_create(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_free(memcached_st\fI\ *ptr\fP)
+.B void memcached_free(\fI\%memcached_st\fP\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_st* memcached_clone(memcached_st\fI\ *destination\fP, memcached_st\fI\ *source\fP)
+.B \fI\%memcached_st\fP* memcached_clone(\fI\%memcached_st\fP\fI\ *destination\fP, \fI\%memcached_st\fP\fI\ *source\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_servers_reset(memcached_st)
+.B void memcached_servers_reset(\fI\%memcached_st\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fI\%memcached_create()\fP is used to create a \fBmemcached_st\fP
+\fI\%memcached_create()\fP is used to create a \fI\%memcached_st\fP
 structure that will then be used by other libmemcached(3) functions to
 communicate with the server. You should either pass a statically declared
-\fBmemcached_st\fP to \fI\%memcached_create()\fP or
+\fI\%memcached_st\fP to \fI\%memcached_create()\fP or
 a NULL. If a NULL passed in then a structure is allocated for you.
 .sp
 Please note, when you write new application use
-\fBmemcached_create_with_options()\fP over
+\fBmemcached()\fP over
 \fI\%memcached_create()\fP.
 .sp
 \fI\%memcached_clone()\fP is similar to \fI\%memcached_create()\fP but
 it copies the defaults and list of servers from the source
-\fBmemcached_st\fP. If you pass a null as the argument for the source
+\fI\%memcached_st\fP. If you pass a null as the argument for the source
 to clone, it is the same as a call to \fI\%memcached_create()\fP.
-If the destination argument is NULL a \fBmemcached_st\fP will be allocated
+If the destination argument is NULL a \fI\%memcached_st\fP will be allocated
 for you.
 .sp
 \fI\%memcached_servers_reset()\fP allows you to zero out the list of
-servers that the \fBmemcached_st\fP has.
+servers that the \fI\%memcached_st\fP has.
 .sp
-To clean up memory associated with a \fBmemcached_st\fP structure you
+To clean up memory associated with a \fI\%memcached_st\fP structure you
 should pass it to \fI\%memcached_free()\fP when you are finished using it.
 \fI\%memcached_free()\fP is the only way to make sure all memory is
 deallocated when you finish using the structure.
@@ -87,10 +87,10 @@ stack based allocation. The most common issues related to ABI safety involve
 heap allocated structures.
 .SH RETURN
 .sp
-\fI\%memcached_create()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_create()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .sp
-\fI\%memcached_clone()\fP returns a pointer to the \fBmemcached_st\fP
+\fI\%memcached_clone()\fP returns a pointer to the \fI\%memcached_st\fP
 that was created (or initialized). On an allocation failure, it returns NULL.
 .SH HOME
 .sp
index 16a4cc8f0b372a7a6eb91a70217283afd18df911..666afbe8f7f7eff29066c6b2f2560a78522cbd6b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SET" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_set \- Storing and Replacing Data
 .
@@ -35,58 +35,58 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_set()\fP, \fBmemcached_add()\fP, and \fBmemcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
+\fI\%memcached_set()\fP, \fI\%memcached_add()\fP, and \fI\%memcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
 store the object. Keys are currently limited to 250 characters by the
 memcached(1) server. You must supply both a value and a length. Optionally you
 may test an expiration time for the object and a 16 byte value (it is meant to be used as a bitmap). "flags" is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.
 .sp
-\fBmemcached_set()\fP will write an object to the server. If an object
+\fI\%memcached_set()\fP will write an object to the server. If an object
 already exists it will overwrite what is in the server. If the object does not
 exist it will be written. If you are using the non\-blocking mode this function
 will always return true unless a network error occurs.
 .sp
-\fBmemcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
+\fI\%memcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
 .sp
-\fBmemcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
+\fI\%memcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
 .sp
 \fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result by
 calling \fBmemcached_result_cas()\fP on a memcached_result_st(3) structure. At the point
 that this note was written cas is still buggy in memached. Turning on tests
-for it in libmemcached(3) is optional. Please see memcached_set() for
+for it in libmemcached(3) is optional. Please see memcached_set for
 information on how to do this.
 .sp
-\fBmemcached_set_by_key()\fP, \fBmemcached_add_by_key()\fP, and \fBmemcached_replace_by_key()\fP methods all behave in a similar method as the non
+\fI\%memcached_set_by_key()\fP, \fI\%memcached_add_by_key()\fP, and \fI\%memcached_replace_by_key()\fP methods all behave in a similar method as the non
 key methods. The difference is that they use their group_key parameter to map
 objects to particular servers.
 .sp
-If you are looking for performance, \fBmemcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
+If you are looking for performance, \fI\%memcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
 .sp
 All of the above functions are testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.
@@ -104,7 +104,7 @@ All methods return a value of type \fBmemcached_return_t\fP.
 On success the value will be \fBMEMCACHED_SUCCESS\fP.
 Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .sp
-For \fBmemcached_replace()\fP and \fBmemcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
+For \fI\%memcached_replace()\fP and \fI\%memcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
 .SH HOME
 .sp
 To find out more information please check:
index b615ab3b86035f5187dbc49630a92b19be698474..a3549f9ed3cf23e349a48f82611511d7d0fdc9c3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SET_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_set_by_key \- Storing and Replacing Data
 .
@@ -35,58 +35,58 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace (memcached_st *ptr, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_set_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_add_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_add_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_replace_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, const char *value, size_t value_length, time_t expiration, uint32_t flags);
+.B memcached_return_t memcached_replace_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, time_t\fI\ expiration\fP, uint32_t\fI\ flags\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_set()\fP, \fBmemcached_add()\fP, and \fBmemcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
+\fI\%memcached_set()\fP, \fI\%memcached_add()\fP, and \fI\%memcached_replace()\fP are all used to store information on the server. All methods take a key, and its length to store the object. Keys are currently limited to 250 characters when using either a version of memcached(1) which is 1.4 or below, or when using the text protocol. You must supply both a value and a length. Optionally you
 store the object. Keys are currently limited to 250 characters by the
 memcached(1) server. You must supply both a value and a length. Optionally you
 may test an expiration time for the object and a 16 byte value (it is meant to be used as a bitmap). "flags" is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.
 .sp
-\fBmemcached_set()\fP will write an object to the server. If an object
+\fI\%memcached_set()\fP will write an object to the server. If an object
 already exists it will overwrite what is in the server. If the object does not
 exist it will be written. If you are using the non\-blocking mode this function
 will always return true unless a network error occurs.
 .sp
-\fBmemcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
+\fI\%memcached_replace()\fP replaces an object on the server. If the object is not found on the server an error occurs.
 .sp
-\fBmemcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
+\fI\%memcached_add()\fP adds an object to the server. If the object is found on the server an error occurs, otherwise the value is stored.
 .sp
 \fBmemcached_cas()\fP overwrites data in the server as long as the "cas"
 value is still the same in the server. You can get the cas value of a result by
 calling \fBmemcached_result_cas()\fP on a memcached_result_st(3) structure. At the point
 that this note was written cas is still buggy in memached. Turning on tests
-for it in libmemcached(3) is optional. Please see memcached_set() for
+for it in libmemcached(3) is optional. Please see memcached_set for
 information on how to do this.
 .sp
-\fBmemcached_set_by_key()\fP, \fBmemcached_add_by_key()\fP, and \fBmemcached_replace_by_key()\fP methods all behave in a similar method as the non
+\fI\%memcached_set_by_key()\fP, \fI\%memcached_add_by_key()\fP, and \fI\%memcached_replace_by_key()\fP methods all behave in a similar method as the non
 key methods. The difference is that they use their group_key parameter to map
 objects to particular servers.
 .sp
-If you are looking for performance, \fBmemcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
+If you are looking for performance, \fI\%memcached_set()\fP with non\-blocking IO is the fastest way to store data on the server.
 .sp
 All of the above functions are testsed with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior enabled. However, when using these operations with this behavior
 on, there are limits to the size of the payload being sent to the server.
@@ -104,7 +104,7 @@ All methods return a value of type \fBmemcached_return_t\fP.
 On success the value will be \fBMEMCACHED_SUCCESS\fP.
 Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .sp
-For \fBmemcached_replace()\fP and \fBmemcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
+For \fI\%memcached_replace()\fP and \fI\%memcached_add()\fP, \fBMEMCACHED_NOTSTORED\fP is a legitmate error in the case of a collision.
 .SH HOME
 .sp
 To find out more information please check:
index 6613246281006a8190a54141e17a1e6b2ad52500..5141ab20097ec956105d9024cb159e0154ef58ef 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_set_memory_allocators \- libmemcached Documentation
 .
@@ -37,31 +37,31 @@ Manage memory allocator functions
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_memory_allocators (memcached_st *ptr, memcached_malloc_fn mem_malloc, memcached_free_fn mem_free, memcached_realloc_fn mem_realloc, memcached_calloc_fn mem_calloc, void *context);
+.B memcached_return_t memcached_set_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ mem_calloc\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_get_memory_allocators (memcached_st *ptr, memcached_malloc_fn *mem_malloc, memcached_free_fn *mem_free, memcached_realloc_fn *mem_realloc, memcached_calloc_fn *mem_calloc);
+.B void memcached_get_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ *mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ *mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ *mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ *mem_calloc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_get_memory_allocators_context(const memcached_st *ptr);
+.B void * memcached_get_memory_allocators_context(const memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_malloc_fn) (memcached_st *ptr, const size_t size, void *context);
+.B void * (*memcached_malloc_fn)(memcached_st\fI\ *ptr\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_realloc_fn) (memcached_st *ptr, void *mem, const size_t size, void *context);
+.B void * (*memcached_realloc_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void (*memcached_free_fn) (memcached_st *ptr, void *mem, void *context);
+.B void (*memcached_free_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_calloc_fn) (memcached_st *ptr, size_t nelem, const size_t elsize, void *context);
+.B void * (*memcached_calloc_fn)(memcached_st\fI\ *ptr\fP, size_t\fI\ nelem\fP, const size_t\fI\ elsize\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -70,18 +70,18 @@ Compile and link with \-lmemcached
 libmemcached(3) allows you to specify your own memory allocators, optimized
 for your application. This enables libmemcached to be used inside of applications that have their own malloc implementation.
 .sp
-\fBmemcached_set_memory_allocators()\fP is used to set the memory
+\fI\%memcached_set_memory_allocators()\fP is used to set the memory
 allocators used by the memcached instance specified by ptr. Please note that
 you cannot override only one of the memory allocators, you have to specify a
 complete new set if you want to override one of them. All of the memory
 allocation functions should behave as specified in the C99 standard. Specify
 NULL as all functions to reset them to the default values.
 .sp
-\fBmemcached_get_memory_allocators()\fP is used to get the currently used
+\fI\%memcached_get_memory_allocators()\fP is used to get the currently used
 memory allocators by a mamcached handle.
 .sp
-\fBmemcached_get_memory_allocators_context()\fP returns the void * that
-was passed in during the call to \fBmemcached_set_memory_allocators()\fP.
+\fI\%memcached_get_memory_allocators_context()\fP returns the void * that
+was passed in during the call to \fI\%memcached_set_memory_allocators()\fP.
 .sp
 The first argument to the memory allocator functions is a pointer to a
 memcached structure, the is passed as const and you will need to clone
@@ -93,7 +93,7 @@ passed to them. This was so that customer allocators could have their
 own space for memory.
 .SH RETURN
 .sp
-\fBmemcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
+\fI\%memcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
 upon success, and \fBMEMCACHED_FAILURE\fP if you don\(aqt pass a complete set
 of function pointers.
 .SH HOME
index 2e782c1e320a916de70136c916e270b67b5d514f..e2c116eaf879f2370f02f92b746fcbb62fd3e364 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_set_memory_allocators_context \- libmemcached Documentation
 .
@@ -37,31 +37,31 @@ Manage memory allocator functions
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_set_memory_allocators (memcached_st *ptr, memcached_malloc_fn mem_malloc, memcached_free_fn mem_free, memcached_realloc_fn mem_realloc, memcached_calloc_fn mem_calloc, void *context);
+.B memcached_return_t memcached_set_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ mem_calloc\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void memcached_get_memory_allocators (memcached_st *ptr, memcached_malloc_fn *mem_malloc, memcached_free_fn *mem_free, memcached_realloc_fn *mem_realloc, memcached_calloc_fn *mem_calloc);
+.B void memcached_get_memory_allocators(memcached_st\fI\ *ptr\fP, \fI\%memcached_malloc_fn\fP\fI\ *mem_malloc\fP, \fI\%memcached_free_fn\fP\fI\ *mem_free\fP, \fI\%memcached_realloc_fn\fP\fI\ *mem_realloc\fP, \fI\%memcached_calloc_fn\fP\fI\ *mem_calloc\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * memcached_get_memory_allocators_context(const memcached_st *ptr);
+.B void * memcached_get_memory_allocators_context(const memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_malloc_fn) (memcached_st *ptr, const size_t size, void *context);
+.B void * (*memcached_malloc_fn)(memcached_st\fI\ *ptr\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_realloc_fn) (memcached_st *ptr, void *mem, const size_t size, void *context);
+.B void * (*memcached_realloc_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, const size_t\fI\ size\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void (*memcached_free_fn) (memcached_st *ptr, void *mem, void *context);
+.B void (*memcached_free_fn)(memcached_st\fI\ *ptr\fP, void\fI\ *mem\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B void * (*memcached_calloc_fn) (memcached_st *ptr, size_t nelem, const size_t elsize, void *context);
+.B void * (*memcached_calloc_fn)(memcached_st\fI\ *ptr\fP, size_t\fI\ nelem\fP, const size_t\fI\ elsize\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -70,18 +70,18 @@ Compile and link with \-lmemcached
 libmemcached(3) allows you to specify your own memory allocators, optimized
 for your application. This enables libmemcached to be used inside of applications that have their own malloc implementation.
 .sp
-\fBmemcached_set_memory_allocators()\fP is used to set the memory
+\fI\%memcached_set_memory_allocators()\fP is used to set the memory
 allocators used by the memcached instance specified by ptr. Please note that
 you cannot override only one of the memory allocators, you have to specify a
 complete new set if you want to override one of them. All of the memory
 allocation functions should behave as specified in the C99 standard. Specify
 NULL as all functions to reset them to the default values.
 .sp
-\fBmemcached_get_memory_allocators()\fP is used to get the currently used
+\fI\%memcached_get_memory_allocators()\fP is used to get the currently used
 memory allocators by a mamcached handle.
 .sp
-\fBmemcached_get_memory_allocators_context()\fP returns the void * that
-was passed in during the call to \fBmemcached_set_memory_allocators()\fP.
+\fI\%memcached_get_memory_allocators_context()\fP returns the void * that
+was passed in during the call to \fI\%memcached_set_memory_allocators()\fP.
 .sp
 The first argument to the memory allocator functions is a pointer to a
 memcached structure, the is passed as const and you will need to clone
@@ -93,7 +93,7 @@ passed to them. This was so that customer allocators could have their
 own space for memory.
 .SH RETURN
 .sp
-\fBmemcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
+\fI\%memcached_set_memory_allocators()\fP return \fBMEMCACHED_SUCCESS\fP
 upon success, and \fBMEMCACHED_FAILURE\fP if you don\(aqt pass a complete set
 of function pointers.
 .SH HOME
index 4d9fe42e734e33f0be375988c79166282b437213..88d6b02b2d6625d2df1d8173840ec2aa581e9317 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_set_sasl_callbacks \- libmemcached Documentation
 .
@@ -43,11 +43,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
+.B memcached_return_t memcached_set_sasl_auth_data(memcached_st\fI\ *ptr\fP, const char\fI\ *username\fP, const char\fI\ *password\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
+.B memcached_return_t memcached_destroy_sasl_auth_data(memcached_st\fI\ *ptr\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -66,13 +66,11 @@ in memory. If you choose to use this method you have to call
 \fBmemcached_free\fP to avoid a memory leak. You should NOT call
 \fI\%memcached_destroy_sasl_auth_data\fP if you specify your own callback
 function with \fI\%memcached_set_sasl_callbacks()\fP.
-.sp
-You as a client user have to initialize libsasl by using \fBsasl_client_init\fP before enabling it in libmemcached, and you have to shut down libsasl by
-calling \fBsasl_done()\fP when you are done using SASL from libmemcached.
 .SH RETURN
 .sp
-\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used
-by this memcached handle. \fBmemcached_get_sasl_set_auth_data()\fP returns \fBMEMCACHED_SUCCESS\fP upon success.
+\fI\%memcached_get_sasl_callbacks()\fP returns the callbacks currently used by
+this memcached handle. \fI\%memcached_set_sasl_auth_data()\fP returns
+\fBMEMCACHED_SUCCESS\fP upon success.
 .SH HOME
 .sp
 To find out more information please check:
index 0a095f5eba3ee7dd1faa2624feb78715ac5de11f..53f8fc174201535290c80ec4d5e4a6d96aa75800 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_USER_DATA" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_SET_USER_DATA" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_set_user_data \- libmemcached Documentation
 .
@@ -39,27 +39,35 @@ C Client Library for memcached (libmemcached, \-lmemcached)
 .sp
 .nf
 .ft C
-#include <libmemcached/memcached.h>
-
-void *memcached_get_user_data (memcached_st *ptr);
 
-void *memcached_set_user_data (memcached_st *ptr, void *data);
 .ft P
 .fi
+.sp
+#include <libmemcached/memcached.h>
+.INDENT 0.0
+.TP
+.B void *memcached_get_user_data(memcached_st\fI\ *ptr\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B void *memcached_set_user_data(memcached_st\fI\ *ptr\fP, void\fI\ *data\fP)
+.UNINDENT
+.sp
+Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) allows you to store a pointer to a user specific data inside
 the memcached_st structure.
 .sp
-\fBmemcached_set_user_data()\fP is used to set the user specific data in the
+\fI\%memcached_set_user_data()\fP is used to set the user specific data in the
 \fBmemcached_st\fP structure.
 .sp
-\fBmemcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
+\fI\%memcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
 .SH RETURN
 .sp
-\fBmemcached_set_user_data()\fP returns the previous value of the user specific data.
+\fI\%memcached_set_user_data()\fP returns the previous value of the user specific data.
 .sp
-\fBmemcached_get_user_data()\fP returns the current value uf the user specific data.
+\fI\%memcached_get_user_data()\fP returns the current value uf the user specific data.
 .SH HOME
 .sp
 To find out more information please check:
index 22de20021128aff9dfc76e812e4dd7e772f6d89f..5f577fd2a8abc97a913c515677da973a2f9e8f31 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STAT" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_stat \- libmemcached Documentation
 .
@@ -37,23 +37,31 @@ Get memcached statistics
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error);
+.B memcached_stat_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port);
+.B memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st\fI\ server\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error);
+.B \fI\%memcached_stat_st\fP *memcached_stat(memcached_st\fI\ *ptr\fP, char\fI\ *args\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_return_t memcached_stat_servername(\fI\%memcached_stat_st\fP\fI\ *stat\fP, char\fI\ *args\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context);
+.B char * memcached_stat_get_value(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, const char\fI\ *key\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B char ** memcached_stat_get_keys(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_stat_execute(memcached_st\fI\ *memc\fP, const char\fI\ *args\fP, \fI\%memcached_stat_fn\fP\fI\ func\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -61,20 +69,20 @@ Compile and link with \-lmemcached
 .sp
 libmemcached(3) has the ability to query a memcached server (or collection
 of servers) for their current state. Queries to find state return a
-\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fBmemcached_stat_get_value()\fP has been provided to query the structure.
+\fI\%memcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fI\%memcached_stat_get_value()\fP has been provided to query the structure.
 .sp
-\fBmemcached_stat_execute()\fP uses the servers found in \fBmemcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
+\fI\%memcached_stat_execute()\fP uses the servers found in \fI\%memcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
 the memcached server.
 .sp
-\fBmemcached_stat()\fP fetches an array of \fBmemcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
+\fI\%memcached_stat()\fP fetches an array of \fI\%memcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
 .sp
-\fBmemcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
-the \fBmemcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
+\fI\%memcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
+the \fI\%memcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
 obtain information on.
 .sp
-\fBmemcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
+\fI\%memcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
 .sp
-\fBmemcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
+\fI\%memcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
 .sp
 A command line tool, memstat(1), is provided so that you do not have to write
 an application to do this.
@@ -82,7 +90,7 @@ an application to do this.
 .sp
 Varies, see particular functions.
 .sp
-Any method returning a \fBmemcached_stat_st\fP expects you to free the
+Any method returning a \fI\%memcached_stat_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index e52baadb032cca5fbf772398d53bb51a7a9e206e..076cb27310ceb07479be5377a8b286cf4b30df5c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_EXECUTE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STAT_EXECUTE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_stat_execute \- libmemcached Documentation
 .
@@ -37,23 +37,31 @@ Get memcached statistics
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error);
+.B memcached_stat_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port);
+.B memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st\fI\ server\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error);
+.B \fI\%memcached_stat_st\fP *memcached_stat(memcached_st\fI\ *ptr\fP, char\fI\ *args\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_return_t memcached_stat_servername(\fI\%memcached_stat_st\fP\fI\ *stat\fP, char\fI\ *args\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context);
+.B char * memcached_stat_get_value(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, const char\fI\ *key\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B char ** memcached_stat_get_keys(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_stat_execute(memcached_st\fI\ *memc\fP, const char\fI\ *args\fP, \fI\%memcached_stat_fn\fP\fI\ func\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -61,20 +69,20 @@ Compile and link with \-lmemcached
 .sp
 libmemcached(3) has the ability to query a memcached server (or collection
 of servers) for their current state. Queries to find state return a
-\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fBmemcached_stat_get_value()\fP has been provided to query the structure.
+\fI\%memcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fI\%memcached_stat_get_value()\fP has been provided to query the structure.
 .sp
-\fBmemcached_stat_execute()\fP uses the servers found in \fBmemcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
+\fI\%memcached_stat_execute()\fP uses the servers found in \fI\%memcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
 the memcached server.
 .sp
-\fBmemcached_stat()\fP fetches an array of \fBmemcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
+\fI\%memcached_stat()\fP fetches an array of \fI\%memcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
 .sp
-\fBmemcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
-the \fBmemcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
+\fI\%memcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
+the \fI\%memcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
 obtain information on.
 .sp
-\fBmemcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
+\fI\%memcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
 .sp
-\fBmemcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
+\fI\%memcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
 .sp
 A command line tool, memstat(1), is provided so that you do not have to write
 an application to do this.
@@ -82,7 +90,7 @@ an application to do this.
 .sp
 Varies, see particular functions.
 .sp
-Any method returning a \fBmemcached_stat_st\fP expects you to free the
+Any method returning a \fI\%memcached_stat_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index cfc09bdf633c48c3ea3ae55889b4b54389c2194c..9047eb8fb7836feb7a82edfa349774559491450b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_GET_KEYS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STAT_GET_KEYS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_stat_get_keys \- libmemcached Documentation
 .
@@ -37,23 +37,31 @@ Get memcached statistics
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error);
+.B memcached_stat_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port);
+.B memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st\fI\ server\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error);
+.B \fI\%memcached_stat_st\fP *memcached_stat(memcached_st\fI\ *ptr\fP, char\fI\ *args\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_return_t memcached_stat_servername(\fI\%memcached_stat_st\fP\fI\ *stat\fP, char\fI\ *args\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context);
+.B char * memcached_stat_get_value(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, const char\fI\ *key\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B char ** memcached_stat_get_keys(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_stat_execute(memcached_st\fI\ *memc\fP, const char\fI\ *args\fP, \fI\%memcached_stat_fn\fP\fI\ func\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -61,20 +69,20 @@ Compile and link with \-lmemcached
 .sp
 libmemcached(3) has the ability to query a memcached server (or collection
 of servers) for their current state. Queries to find state return a
-\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fBmemcached_stat_get_value()\fP has been provided to query the structure.
+\fI\%memcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fI\%memcached_stat_get_value()\fP has been provided to query the structure.
 .sp
-\fBmemcached_stat_execute()\fP uses the servers found in \fBmemcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
+\fI\%memcached_stat_execute()\fP uses the servers found in \fI\%memcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
 the memcached server.
 .sp
-\fBmemcached_stat()\fP fetches an array of \fBmemcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
+\fI\%memcached_stat()\fP fetches an array of \fI\%memcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
 .sp
-\fBmemcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
-the \fBmemcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
+\fI\%memcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
+the \fI\%memcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
 obtain information on.
 .sp
-\fBmemcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
+\fI\%memcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
 .sp
-\fBmemcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
+\fI\%memcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
 .sp
 A command line tool, memstat(1), is provided so that you do not have to write
 an application to do this.
@@ -82,7 +90,7 @@ an application to do this.
 .sp
 Varies, see particular functions.
 .sp
-Any method returning a \fBmemcached_stat_st\fP expects you to free the
+Any method returning a \fI\%memcached_stat_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index 6c04e45d16a5c8fbcb3cced6aae498ca23669170..8b25b33572267e78d32786004bdfc21ad94ec86b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_GET_VALUE" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STAT_GET_VALUE" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_stat_get_value \- libmemcached Documentation
 .
@@ -37,23 +37,31 @@ Get memcached statistics
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error);
+.B memcached_stat_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port);
+.B memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st\fI\ server\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error);
+.B \fI\%memcached_stat_st\fP *memcached_stat(memcached_st\fI\ *ptr\fP, char\fI\ *args\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_return_t memcached_stat_servername(\fI\%memcached_stat_st\fP\fI\ *stat\fP, char\fI\ *args\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context);
+.B char * memcached_stat_get_value(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, const char\fI\ *key\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B char ** memcached_stat_get_keys(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_stat_execute(memcached_st\fI\ *memc\fP, const char\fI\ *args\fP, \fI\%memcached_stat_fn\fP\fI\ func\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -61,20 +69,20 @@ Compile and link with \-lmemcached
 .sp
 libmemcached(3) has the ability to query a memcached server (or collection
 of servers) for their current state. Queries to find state return a
-\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fBmemcached_stat_get_value()\fP has been provided to query the structure.
+\fI\%memcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fI\%memcached_stat_get_value()\fP has been provided to query the structure.
 .sp
-\fBmemcached_stat_execute()\fP uses the servers found in \fBmemcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
+\fI\%memcached_stat_execute()\fP uses the servers found in \fI\%memcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
 the memcached server.
 .sp
-\fBmemcached_stat()\fP fetches an array of \fBmemcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
+\fI\%memcached_stat()\fP fetches an array of \fI\%memcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
 .sp
-\fBmemcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
-the \fBmemcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
+\fI\%memcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
+the \fI\%memcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
 obtain information on.
 .sp
-\fBmemcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
+\fI\%memcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
 .sp
-\fBmemcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
+\fI\%memcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
 .sp
 A command line tool, memstat(1), is provided so that you do not have to write
 an application to do this.
@@ -82,7 +90,7 @@ an application to do this.
 .sp
 Varies, see particular functions.
 .sp
-Any method returning a \fBmemcached_stat_st\fP expects you to free the
+Any method returning a \fI\%memcached_stat_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index 68443c986828e785a430abef0f1144770e73b9e3..cdab1a83c9161691ebd620d2778d6f63d4942e53 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_SERVERNAME" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STAT_SERVERNAME" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_stat_servername \- libmemcached Documentation
 .
@@ -37,23 +37,31 @@ Get memcached statistics
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error);
+.B memcached_stat_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port);
+.B memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st\fI\ server\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error);
+.B \fI\%memcached_stat_st\fP *memcached_stat(memcached_st\fI\ *ptr\fP, char\fI\ *args\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_return_t memcached_stat_servername(\fI\%memcached_stat_st\fP\fI\ *stat\fP, char\fI\ *args\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context);
+.B char * memcached_stat_get_value(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, const char\fI\ *key\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B char ** memcached_stat_get_keys(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_stat_execute(memcached_st\fI\ *memc\fP, const char\fI\ *args\fP, \fI\%memcached_stat_fn\fP\fI\ func\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -61,20 +69,20 @@ Compile and link with \-lmemcached
 .sp
 libmemcached(3) has the ability to query a memcached server (or collection
 of servers) for their current state. Queries to find state return a
-\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fBmemcached_stat_get_value()\fP has been provided to query the structure.
+\fI\%memcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fI\%memcached_stat_get_value()\fP has been provided to query the structure.
 .sp
-\fBmemcached_stat_execute()\fP uses the servers found in \fBmemcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
+\fI\%memcached_stat_execute()\fP uses the servers found in \fI\%memcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
 the memcached server.
 .sp
-\fBmemcached_stat()\fP fetches an array of \fBmemcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
+\fI\%memcached_stat()\fP fetches an array of \fI\%memcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
 .sp
-\fBmemcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
-the \fBmemcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
+\fI\%memcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
+the \fI\%memcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
 obtain information on.
 .sp
-\fBmemcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
+\fI\%memcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
 .sp
-\fBmemcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
+\fI\%memcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
 .sp
 A command line tool, memstat(1), is provided so that you do not have to write
 an application to do this.
@@ -82,7 +90,7 @@ an application to do this.
 .sp
 Varies, see particular functions.
 .sp
-Any method returning a \fBmemcached_stat_st\fP expects you to free the
+Any method returning a \fI\%memcached_stat_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index d099d95ee0e4ba919d7e8893c3fc3e9fbe5f98e7..f684c3eaaa00efb3d912c00b7e7f8d2c3c0f20f1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STATS" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STATS" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_stats \- libmemcached Documentation
 .
@@ -37,23 +37,31 @@ Get memcached statistics
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error);
+.B memcached_stat_st
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port);
+.B memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st\fI\ server\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, const char\fI\ *value\fP, size_t\fI\ value_length\fP, void\fI\ *context\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error);
+.B \fI\%memcached_stat_st\fP *memcached_stat(memcached_st\fI\ *ptr\fP, char\fI\ *args\fP, memcached_return_t\fI\ *error\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
+.B memcached_return_t memcached_stat_servername(\fI\%memcached_stat_st\fP\fI\ *stat\fP, char\fI\ *args\fP, const char\fI\ *hostname\fP, in_port_t\fI\ port\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context);
+.B char * memcached_stat_get_value(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, const char\fI\ *key\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B char ** memcached_stat_get_keys(memcached_st\fI\ *ptr\fP, \fI\%memcached_stat_st\fP\fI\ *stat\fP, memcached_return_t\fI\ *error\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B memcached_return_t memcached_stat_execute(memcached_st\fI\ *memc\fP, const char\fI\ *args\fP, \fI\%memcached_stat_fn\fP\fI\ func\fP, void\fI\ *context\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
@@ -61,20 +69,20 @@ Compile and link with \-lmemcached
 .sp
 libmemcached(3) has the ability to query a memcached server (or collection
 of servers) for their current state. Queries to find state return a
-\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fBmemcached_stat_get_value()\fP has been provided to query the structure.
+\fI\%memcached_stat_st\fP structure. You are responsible for freeing this structure. While it is possible to access the structure directly it is not advisable. \fI\%memcached_stat_get_value()\fP has been provided to query the structure.
 .sp
-\fBmemcached_stat_execute()\fP uses the servers found in \fBmemcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
+\fI\%memcached_stat_execute()\fP uses the servers found in \fI\%memcached_stat_st\fP and executes a "stat" command on each server. args is an optional argument that can be passed in to modify the behavior of "stats". You will need to supply a callback function that will be supplied each pair of values returned by
 the memcached server.
 .sp
-\fBmemcached_stat()\fP fetches an array of \fBmemcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
+\fI\%memcached_stat()\fP fetches an array of \fI\%memcached_stat_st\fP structures containing the state of all available memcached servers. The return value must be freed by the calling application. If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, a NULL value is returned and the error parameter is set to \fBMEMCACHED_NOT_SUPPORTED\fP.
 .sp
-\fBmemcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
-the \fBmemcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
+\fI\%memcached_stat_servername()\fP can be used standalone without a \fBmemcached_st\fP to obtain the state of a particular server.  "args" is used to define a particular state object (a list of these are not provided for by either
+the \fI\%memcached_stat_get_keys()\fP call nor are they defined in the memcached protocol). You must specify the hostname and port of the server you want to
 obtain information on.
 .sp
-\fBmemcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
+\fI\%memcached_stat_get_value()\fP returns the value of a particular state key. You specify the key you wish to obtain.  The key must be null terminated.
 .sp
-\fBmemcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
+\fI\%memcached_stat_get_keys()\fP returns a list of keys that the server has state objects on. You are responsible for freeing this list.
 .sp
 A command line tool, memstat(1), is provided so that you do not have to write
 an application to do this.
@@ -82,7 +90,7 @@ an application to do this.
 .sp
 Varies, see particular functions.
 .sp
-Any method returning a \fBmemcached_stat_st\fP expects you to free the
+Any method returning a \fI\%memcached_stat_st\fP expects you to free the
 memory allocated for it.
 .SH HOME
 .sp
index ece0dbb9016258a0db6e82256bba020d1275895f..387af0b2fa2588d95c8e2b4d3aaa7bdc77a7813e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STRERROR" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_STRERROR" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_strerror \- libmemcached Documentation
 .
@@ -35,13 +35,13 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B const char * memcached_strerror (memcached_st *ptr, memcached_return_t rc);
+.B const char * memcached_strerror(memcached_st\fI\ *ptr\fP, memcached_return_t\fI\ rc\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_strerror()\fP takes a \fBmemcached_return_t\fP value and returns a string describing the error.
+\fI\%memcached_strerror()\fP takes a \fBmemcached_return_t\fP value and returns a string describing the error.
 .sp
 This string must not be modified by the application.
 .sp
@@ -50,7 +50,7 @@ This string must not be modified by the application.
 \fBmemcached_return_t\fP values are of an enum type so that you can set up responses with switch/case and know that you are capturing all possible return values.
 .SH RETURN
 .sp
-\fBmemcached_strerror()\fP returns a string describing a \fBmemcached_return_t\fP value.
+\fI\%memcached_strerror()\fP returns a string describing a \fBmemcached_return_t\fP value.
 .SH HOME
 .sp
 To find out more information please check:
index ad463271dc90c0d7bb1fcc83cb800273afeb9570..0cf5a252af2643b6b27806e9896406c3e73895b1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_TOUCH" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_TOUCH" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_touch \- libmemcached Documentation
 .
@@ -35,18 +35,18 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_touch(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_touch_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_touch()\fP is used to update the expiration time on an existing key.
-\fBmemcached_touch_by_key()\fP works the same, but it takes a master key
+\fI\%memcached_touch()\fP is used to update the expiration time on an existing key.
+\fI\%memcached_touch_by_key()\fP works the same, but it takes a master key
 to find the given value.
 .SH RETURN
 .sp
index 61cc152db1327f9e746b98535cb5f19142fd1c4e..a7e2d29f27c2cda79d72ba2c9f3f381cf73cbb47 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_TOUCH_BY_KEY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_TOUCH_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_touch_by_key \- libmemcached Documentation
 .
@@ -35,18 +35,18 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_touch(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration);
+.B memcached_return_t memcached_touch_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_touch()\fP is used to update the expiration time on an existing key.
-\fBmemcached_touch_by_key()\fP works the same, but it takes a master key
+\fI\%memcached_touch()\fP is used to update the expiration time on an existing key.
+\fI\%memcached_touch_by_key()\fP works the same, but it takes a master key
 to find the given value.
 .SH RETURN
 .sp
index ad76dff1b4b78e5fef857a79432436175e3fd635..c0eaa4e59207d7f48d05709cc3fe1abce2780e53 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_USER_DATA" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_USER_DATA" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_user_data \- libmemcached Documentation
 .
@@ -39,27 +39,35 @@ C Client Library for memcached (libmemcached, \-lmemcached)
 .sp
 .nf
 .ft C
-#include <libmemcached/memcached.h>
-
-void *memcached_get_user_data (memcached_st *ptr);
 
-void *memcached_set_user_data (memcached_st *ptr, void *data);
 .ft P
 .fi
+.sp
+#include <libmemcached/memcached.h>
+.INDENT 0.0
+.TP
+.B void *memcached_get_user_data(memcached_st\fI\ *ptr\fP)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B void *memcached_set_user_data(memcached_st\fI\ *ptr\fP, void\fI\ *data\fP)
+.UNINDENT
+.sp
+Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
 libmemcached(3) allows you to store a pointer to a user specific data inside
 the memcached_st structure.
 .sp
-\fBmemcached_set_user_data()\fP is used to set the user specific data in the
+\fI\%memcached_set_user_data()\fP is used to set the user specific data in the
 \fBmemcached_st\fP structure.
 .sp
-\fBmemcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
+\fI\%memcached_get_user_data()\fP is used to retrieve the user specific data in the \fBmemcached_st\fP structure.
 .SH RETURN
 .sp
-\fBmemcached_set_user_data()\fP returns the previous value of the user specific data.
+\fI\%memcached_set_user_data()\fP returns the previous value of the user specific data.
 .sp
-\fBmemcached_get_user_data()\fP returns the current value uf the user specific data.
+\fI\%memcached_get_user_data()\fP returns the current value uf the user specific data.
 .SH HOME
 .sp
 To find out more information please check:
index 869e16db98ba4fe3d4379df68d8779bbd522fb39..0b90fd3236d640f0c8c037f9bea37f2a68ab1ed6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_VERBOSITY" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_VERBOSITY" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_verbosity \- libmemcached Documentation
 .
@@ -37,13 +37,13 @@ Modifiy verbosity of servers
 #include <libmemcached/memcached.h>
 .INDENT 0.0
 .TP
-.B memcached_return_t memcached_verbosity (memcached_st *ptr, unsigned int verbosity);
+.B memcached_return_t memcached_verbosity(memcached_st\fI\ *ptr\fP, uint32_t\fI\ verbosity\fP)
 .UNINDENT
 .sp
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-\fBmemcached_verbosity()\fP modifies the "verbosity" of the
+\fI\%memcached_verbosity()\fP modifies the "verbosity" of the
 memcached(1) servers referenced in the \fBmemcached_st\fP  parameter.
 .SH RETURN
 .sp
index 66699bad09fb5e7323ec5da821cb817551bdbd53..b63754ea33a4a1edd4ce62495a56d57b2387225d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_VERSION" "3" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCACHED_VERSION" "3" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcached_version \- libmemcached Documentation
 .
@@ -52,7 +52,7 @@ Compile and link with \-lmemcached
 .sp
 \fI\%memcached_lib_version()\fP returns a string with the version of the libmemcached driver.
 .sp
-A value of \fBmemcached_return_t\fP is returned from :c:func:\(aqmemcached_version()\(aq
+A value of \fBmemcached_return_t\fP is returned from :c:func:\(aqmemcached_version\(aq
 .sp
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
 .sp
index a2ef9f8d8fbf50a9ef6e169e12c932ff4795da83..3f7e93a1e6c044e5534c56c931acaf7a043de9f0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCAPABLE" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCAPABLE" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcapable \- libmemcached Documentation
 .
index 21b76d74186088bc686d3ed6a13bdcdaf7ec6461..f40949cf5f858edc32ee728f87a44018fa27c965 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCAT" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCAT" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcat \- libmemcached Documentation
 .
index 5bdedee51bfe6acfe0b2823fb6e8749b3b32721d..ee7cf63cd70d5f21af87ef37bb3c01b15f87746a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCP" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMCP" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memcp \- libmemcached Documentation
 .
index b40ed667c03e9880784112d7cb604355b4bcbfb9..9e2de1efefd834e28212c1dc60feb5cd064e7cf3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMDUMP" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMDUMP" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memdump \- libmemcached Documentation
 .
index 98f697b4691e004141c5bc12423203fdba9d6762..b38ea7293864356cfda02f961b6d02834e43b211 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMERROR" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMERROR" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memerror \- libmemcached Documentation
 .
index cb21de6bd37f87d327baa98495aef418250af8f7..5303020e61f66f83e1f6d744125149604165411f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMFLUSH" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMFLUSH" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memflush \- libmemcached Documentation
 .
index 4cd4fab90d0641bfd95afccd0712b98126514115..6b2a80c742e26cee561a1ab5e8c06c5026fa3693 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMRM" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMRM" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memrm \- libmemcached Documentation
 .
index 4438e460bbda28baa899b05f1a3d7e4ca07afac9..78f333ef0f527f1e40648eb28c39977ae1dcb9e8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMSLAP" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMSLAP" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memslap \- libmemcached Documentation
 .
index 1399f47776e8aed44096512d748db697acbf647a..392d03bda8699bb8f0e69652595c38eea3bc4343 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMSTAT" "1" "January 26, 2012" "1.0.4" "libmemcached"
+.TH "MEMSTAT" "1" "March 14, 2012" "1.0.5" "libmemcached"
 .SH NAME
 memstat \- libmemcached Documentation
 .
@@ -60,6 +60,10 @@ For a full list of operations run the tool with:
 .TP
 .B \-\-help
 .UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-analyze
+.UNINDENT
 .SH HOME
 .sp
 To find out more information please check: