X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=include%2Fmemcached.h;h=d73a16be805cef9e972538d980893ed68b041ad9;hb=b1daf61bf1665041f30fff7c96d61de4658f8db3;hp=fb836284c324f9a8fd747b06fc0be0d6f38ee4b7;hpb=51ccc3f82cc9bab7cf05e3b07b8a8b319349bde0;p=awesomized%2Flibmemcached diff --git a/include/memcached.h b/include/memcached.h index fb836284..d73a16be 100644 --- a/include/memcached.h +++ b/include/memcached.h @@ -90,6 +90,7 @@ typedef enum { MEMCACHED_BEHAVIOR_POLL_TIMEOUT, MEMCACHED_BEHAVIOR_DISTRIBUTION, MEMCACHED_BEHAVIOR_BUFFER_REQUESTS, + MEMCACHED_BEHAVIOR_USER_DATA, } memcached_behavior; typedef enum { @@ -199,6 +200,7 @@ struct memcached_st { memcached_result_st result; memcached_hash hash; memcached_server_distribution distribution; + void *user_data; unsigned int wheel[MEMCACHED_WHEEL_SIZE]; #ifdef NOT_USED /* Future Use */ uint8_t replicas;