#define MEMCACHED_VERSION_STRING_LENGTH 12
/* string value */
-struct continuum_item{
- uint32_t index;
- uint32_t value;
+struct memcached_continuum_item_st {
+ uint32_t index;
+ uint32_t value;
};
+
#define LIBMEMCACHED_VERSION_STRING "0.20"
struct memcached_stat_st {
memcached_hash hash;
memcached_server_distribution distribution;
void *user_data;
- unsigned int wheel[MEMCACHED_WHEEL_SIZE];
- struct continuum_item continuum[MEMCACHED_CONTINUUM_SIZE];
+ unsigned int *wheel;
+ uint32_t wheel_count;
+ uint32_t continuum_count;
+ memcached_continuum_item_st *continuum;
memcached_clone_func on_clone;
memcached_cleanup_func on_cleanup;
memcached_free_function call_free;
time_t expiration);
memcached_return memcached_fetch_execute(memcached_st *ptr,
- unsigned int (*callback[])(memcached_st *ptr, memcached_result_st *result, void *context),
+ memcached_execute_function *callback,
void *context,
- unsigned int number_of_callbacks
- );
+ unsigned int number_of_callbacks);
memcached_return memcached_callback_set(memcached_st *ptr,
memcached_callback flag,