X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_get.html;h=49b1c08a09d2529f9611c2650660fc0d312aaaea;hb=d517b40976d8e986cada6b8b896e8f12cd179fa6;hp=6517764944dfe2d88f59cb64e552af211daba9dc;hpb=c6fde8b6a27b6af31f0cf26a9cdccd54cd25734a;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached_get.html b/libmemcached/memcached_get.html index 65177649..49b1c08a 100644 --- a/libmemcached/memcached_get.html +++ b/libmemcached/memcached_get.html @@ -193,47 +193,47 @@

SYNOPSIS¶

#include <libmemcached/memcached.h>

-
+
memcached_result_st *memcached_fetch_result(memcached_st *ptr, memcached_result_st *result, memcached_return_t *error)¶
-
+
char *memcached_get(memcached_st *ptr, const char *key, size_t key_length, size_t *value_length, uint32_t *flags, memcached_return_t *error)¶
-
+
memcached_return_t memcached_mget(memcached_st *ptr, const char *const *keys, const size_t *key_length, size_t number_of_keys)¶
-
+
char *memcached_get_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, size_t *value_length, uint32_t *flags, memcached_return_t *error)¶
-
+
memcached_return_t memcached_mget_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *const *keys, const size_t *key_length, size_t number_of_keys)¶
-
+
memcached_return_t memcached_fetch_execute(memcached_st *ptr, memcached_execute_fn *callback, void *context, uint32_t number_of_callbacks)¶
-
+
memcached_return_t memcached_mget_execute(memcached_st *ptr, const char *const *keys, const size_t *key_length, size_t number_of_keys, memcached_execute_fn *callback, void *context, uint32_t number_of_callbacks)¶
-
+
memcached_return_t memcached_mget_execute_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *const *keys, const size_t *key_length, size_t number_of_keys, memcached_execute_fn *callback, void *context, uint32_t number_of_callbacks)¶
-
+
typedef memcached_return_t (*memcached_execute_fn)(const memcached_st *ptr, memcached_result_st *result, void *context)¶
@@ -271,7 +271,7 @@ Instead of returning the results to you for processing, it passes each of the result sets to the list of functions you provide. It passes to the function a memcached_st that can be cloned for use in the called function (it can not be used directly). It also passes a result set which does -not need to be freed. Finally it passes a “context”. This is just a pointer to +not need to be freed. Finally it passes a "context". This is just a pointer to a memory reference you supply the calling function. Currently only one value is being passed to each function call. In the future there will be an option to allow this to be an array.

@@ -294,7 +294,7 @@ functions with this behavior on will result in

RETURN VALUE¶

-

All objects retrieved via memcached_get() or memcached_get_by_key() must be freed with free(3).

+

All objects retrieved via memcached_get() or memcached_get_by_key() must be freed with free(3).

memcached_get() will return NULL on error. You must look at the value of error to determine what the actual error was.