X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached.h;h=6f3b0f5d5e28f8f78984bd82320fc3343c7f41ce;hb=79ad5be1d7ef80332ec9b06da733b862dc35e46f;hp=01a6cb926cc20d309ca33b8547cdab7528797906;hpb=0ff1b8bf832032626c24204d99f4db835eb885b6;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached.h b/libmemcached/memcached.h index 01a6cb92..6f3b0f5d 100644 --- a/libmemcached/memcached.h +++ b/libmemcached/memcached.h @@ -31,7 +31,16 @@ extern "C" { #define MEMCACHED_VERSION_STRING_LENGTH 12 /* string value */ +<<<<<<< local +#define LIBMEMCACHED_VERSION_STRING "0.19" + +struct continuum_item{ + uint32_t index; + uint32_t value; +}; +======= #define LIBMEMCACHED_VERSION_STRING "0.20" +>>>>>>> other struct memcached_stat_st { uint32_t pid; @@ -77,6 +86,7 @@ struct memcached_st { memcached_server_distribution distribution; void *user_data; unsigned int wheel[MEMCACHED_WHEEL_SIZE]; + struct continuum_item continuum[MEMCACHED_CONTINUUM_SIZE]; memcached_clone_func on_clone; memcached_cleanup_func on_cleanup; memcached_free_function call_free; @@ -90,6 +100,7 @@ struct memcached_st { #endif }; + /* Public API */ const char * memcached_lib_version(void);