X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=include%2Fmemcached.h;h=5458974170e997ffaf1a78899c44de4970baf3f7;hb=85a0b3bc944db78c070961cd3a48b8e34dcef8a4;hp=fa2d305cd98e6d4497bf623f715c00d9d83e8675;hpb=d4fe357383d5adbe59dd77108afa92a2b2fc835b;p=awesomized%2Flibmemcached diff --git a/include/memcached.h b/include/memcached.h index fa2d305c..54589741 100644 --- a/include/memcached.h +++ b/include/memcached.h @@ -32,7 +32,7 @@ extern "C" { #define MEMCACHED_DEFAULT_TIMEOUT INT32_MAX /* string value */ -#define LIBMEMCACHED_VERSION_STRING "0.16" +#define LIBMEMCACHED_VERSION_STRING "0.17" typedef enum { MEMCACHED_SUCCESS, @@ -100,6 +100,9 @@ typedef enum { MEMCACHED_BEHAVIOR_DISTRIBUTION, MEMCACHED_BEHAVIOR_BUFFER_REQUESTS, MEMCACHED_BEHAVIOR_USER_DATA, + MEMCACHED_BEHAVIOR_SORT_HOSTS, + MEMCACHED_BEHAVIOR_VERIFY_KEY, + MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT, } memcached_behavior; typedef enum { @@ -215,6 +218,7 @@ struct memcached_st { int send_size; int recv_size; int32_t poll_timeout; + int32_t connect_timeout; memcached_result_st result; memcached_hash hash; memcached_server_distribution distribution;