From: Date: Sun, 13 Jan 2008 23:40:22 +0000 (-0500) Subject: Updated docs that Tim noticed. X-Git-Tag: 0.14~18 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f626f20a53bc94fd8a206b7c49af9d0ef9840f24;p=m6w6%2Flibmemcached Updated docs that Tim noticed. --- diff --git a/ChangeLog b/ChangeLog index d8c98d1f..da2fd9f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ + * Updated docs for uint16_t changes in previous release + 0.13 Sun Jan 13 06:51:50 PST 2008 * MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer. * Fix for failure to connect to invalidate socket. diff --git a/configure.ac b/configure.ac index 01c1312b..8264aff2 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ MEMCACHED_LIBRARY_NAME=libmemcached #release versioning MEMCACHED_MAJOR_VERSION=0 -MEMCACHED_MINOR_VERSION=13 +MEMCACHED_MINOR_VERSION=14 MEMCACHED_MICRO_VERSION=0 #API version diff --git a/docs/libmemcached_examples.pod b/docs/libmemcached_examples.pod index e1098c54..510c9206 100755 --- a/docs/libmemcached_examples.pod +++ b/docs/libmemcached_examples.pod @@ -64,7 +64,7 @@ structures. { rc= memcached_set(memc, key, strlen(key), value, value_length, - (time_t)0, (uint16_t)0); + (time_t)0, (uint32_t)0); assert(rc == MEMCACHED_SUCCESS); } @@ -78,7 +78,7 @@ It is best practice to always look at the return value of any operation. char *keys[]= {"fudge", "son", "food"}; size_t key_length[]= {5, 3, 4}; unsigned int x; - uint16_t flags; + uint32_t flags; char return_key[MEMCACHED_MAX_KEY]; size_t return_key_length; diff --git a/docs/memcached_get.pod b/docs/memcached_get.pod index f87d47ba..2cd7a173 100755 --- a/docs/memcached_get.pod +++ b/docs/memcached_get.pod @@ -18,7 +18,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *memcached_get (memcached_st *ptr, char *key, size_t key_length, size_t *value_length, - uint16_t *flags, + uint32_t *flags, memcached_return *error); memcached_return @@ -30,7 +30,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *master_key, size_t master_key_length, char *key, size_t key_length, size_t *value_length, - uint16_t *flags, + uint32_t *flags, memcached_return *error); memcached_return @@ -42,21 +42,20 @@ C Client Library for memcached (libmemcached, -lmemcached) char *memcached_fetch (memcached_st *ptr, char *key, size_t *key_length, size_t *value_length, - uint16_t *flags, + uint32_t *flags, memcached_return *error); memcached_return memcached_fetch_execute(memcached_st *ptr, unsigned int (*callback[])(memcached_st *ptr, memcached_result_st *result, void *context), void *context, - unsigned int number_of_callbacks - ) + unsigned int number_of_callbacks); =head1 DESCRIPTION memcached_get() is used to fetch an individual value from the server. 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 uint16_t pointer to contain whatever flags you stored with the value, +object. A uint32_t pointer to contain whatever flags you stored with the value, a size_t pointer which will be filled with size of of the object, and a memcached_return pointer to hold any error. The object will be returned upon success and NULL will be returned on failure. @@ -75,7 +74,7 @@ memcached_fetch() is used to fetch an individual value from the server. memcached_mget() must always be called before using this method. 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 uint16_t pointer to contain whatever flags you stored with the value, +object. A uint32_t pointer to contain whatever flags you stored with the value, a size_t pointer which will be filled with size of of the object, and a memcached_return pointer to hold any error. The object will be returned upon success and NULL will be returned on failure. diff --git a/docs/memcached_result_st.pod b/docs/memcached_result_st.pod index 2296b901..89d4e816 100755 --- a/docs/memcached_result_st.pod +++ b/docs/memcached_result_st.pod @@ -27,7 +27,7 @@ C Client Library for memcached (libmemcached, -lmemcached) size_t memcached_result_length(memcached_result_st *ptr); - uint16_t memcached_result_flags(memcached_result_st *result) + uint32_t memcached_result_flags(memcached_result_st *result) uint64_t memcached_result_cas(memcached_result_st *result); diff --git a/docs/memcached_set.pod b/docs/memcached_set.pod index 8db5b06d..6e962d38 100755 --- a/docs/memcached_set.pod +++ b/docs/memcached_set.pod @@ -15,41 +15,41 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_add (memcached_st *ptr, char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_replace (memcached_st *ptr, char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_prepend(memcached_st *ptr, char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags) + uint32_t flags) memcached_return memcached_append(memcached_st *ptr, char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags) + uint32_t flags) memcached_return memcached_cas(memcached_st *ptr, char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags, + uint32_t flags, uint64_t cas); memcached_return @@ -58,7 +58,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_add_by_key(memcached_st *ptr, @@ -66,7 +66,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_replace_by_key(memcached_st *ptr, @@ -74,7 +74,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_prepend_by_key(memcached_st *ptr, @@ -82,7 +82,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_append_by_key(memcached_st *ptr, @@ -90,7 +90,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags); + uint32_t flags); memcached_return memcached_cas_by_key(memcached_st *ptr, @@ -98,7 +98,7 @@ C Client Library for memcached (libmemcached, -lmemcached) char *key, size_t key_length, char *value, size_t value_length, time_t expiration, - uint16_t flags, + uint32_t flags, uint64_t cas); =head1 DESCRIPTION