X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached.h;h=da4ce507f66fb945cb3ff2f4bf8ab7a1444b3ac1;hb=7577cb0a57aa70d9857d42c381f13c7cb60d0056;hp=b907809da0fa5fe65312d1e496a8ae9484a9ed46;hpb=571fad579922f2b10873193500dfd0652f4fdc37;p=awesomized%2Flibmemcached diff --git a/libmemcached/memcached.h b/libmemcached/memcached.h index b907809d..da4ce507 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.20" +#define LIBMEMCACHED_VERSION_STRING "0.22" 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; @@ -82,8 +82,6 @@ struct memcached_st { memcached_hash hash; memcached_server_distribution distribution; void *user_data; - unsigned int *wheel; - uint32_t wheel_count; uint32_t continuum_count; memcached_continuum_item_st *continuum; memcached_clone_func on_clone; @@ -93,10 +91,13 @@ struct memcached_st { memcached_realloc_function call_realloc; memcached_trigger_key get_key_failure; memcached_trigger_delete_key delete_trigger; -#ifdef NOT_USED /* Future Use */ - uint8_t replicas; - memcached_return warning; -#endif + char prefix_key[MEMCACHED_PREFIX_KEY_MAX_SIZE]; + size_t prefix_key_length; + memcached_hash hash_continuum; + uint32_t continuum_points_counter; + int32_t snd_timeout; + int32_t rcv_timeout; + uint32_t server_failure_limit; };