X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached-1.0%2Fstruct%2Fmemcached.h;h=0b4f89763adb20298997bd31903b615552709ae7;hb=cc47230b8dfe0bcd31d4f45ca84d2dd35ae360f0;hp=564eb74e55b9c825252a2cf16dd6eed16c5db8cb;hpb=9169cee9ec0f231b3117a0d5a7840d2067f29610;p=m6w6%2Flibmemcached diff --git a/libmemcached-1.0/struct/memcached.h b/libmemcached-1.0/struct/memcached.h index 564eb74e..0b4f8976 100644 --- a/libmemcached-1.0/struct/memcached.h +++ b/libmemcached-1.0/struct/memcached.h @@ -45,6 +45,7 @@ struct memcached_st { bool is_purging:1; bool is_processing_input:1; bool is_time_for_rebuild:1; + bool not_used:1; } state; struct { @@ -62,6 +63,9 @@ struct memcached_st { bool use_udp:1; bool verify_key:1; bool tcp_keepalive:1; + bool is_aes:1; + bool is_fetching_version:1; + bool not_used:1; } flags; memcached_server_distribution_t distribution; @@ -70,8 +74,13 @@ struct memcached_st { unsigned int version; } server_info; uint32_t number_of_hosts; - memcached_server_st *servers; - memcached_server_st *last_disconnected_server; +#ifdef __cplusplus + org::libmemcached::Instance* servers; + org::libmemcached::Instance* last_disconnected_server; +#else + void *servers; + void *last_disconnected_server; +#endif int32_t snd_timeout; int32_t rcv_timeout; uint32_t server_failure_limit; @@ -82,6 +91,7 @@ struct memcached_st { int32_t poll_timeout; int32_t connect_timeout; // How long we will wait on connect() before we will timeout int32_t retry_timeout; + int32_t dead_timeout; int send_size; int recv_size; void *user_data;