X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached.h;h=3017fbb172d13e68fa925cf6fbb7f0e4824acd1c;hb=5f8c67f146657a17bbddb5366bae5032a4cb0b9d;hp=0cbb12f1cd0debfc28deb74c0265b4f5e0cea049;hpb=6f42f1c77da54da0b19274cc0d6b6c9745e40de0;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached.h b/libmemcached/memcached.h index 0cbb12f1..3017fbb1 100644 --- a/libmemcached/memcached.h +++ b/libmemcached/memcached.h @@ -37,7 +37,7 @@ struct memcached_continuum_item_st { uint32_t value; }; -#define LIBMEMCACHED_VERSION_STRING "0.22" +#define LIBMEMCACHED_VERSION_STRING "0.23" struct memcached_stat_st { uint32_t pid; @@ -69,8 +69,8 @@ struct memcached_stat_st { struct memcached_st { memcached_allocated is_allocated; memcached_server_st *hosts; - unsigned int number_of_hosts; - unsigned int cursor_server; + uint32_t number_of_hosts; + uint32_t cursor_server; int cached_errno; uint32_t flags; int send_size; @@ -97,6 +97,7 @@ struct memcached_st { uint32_t continuum_points_counter; int32_t snd_timeout; int32_t rcv_timeout; + uint32_t server_failure_limit; }; @@ -168,11 +169,6 @@ void *memcached_callback_get(memcached_st *ptr, memcached_callback flag, memcached_return *error); -memcached_return memcached_server_cursor(memcached_st *ptr, - memcached_server_function *callback, - void *context, - unsigned int number_of_callbacks); - #ifdef __cplusplus }