test_return_t mget_result_function(memcached_st *memc);
test_return_t basic_behavior(memcached_st *memc);
test_return_t mget_test(memcached_st *memc);
- memcached_return_t callback_counter(memcached_st *,
+ memcached_return_t callback_counter(const memcached_st *,
memcached_result_st *,
void *context);
}
}
/* Count the results */
-memcached_return_t callback_counter(memcached_st *,
- memcached_result_st *,
- void *context)
+memcached_return_t callback_counter(const memcached_st *,
+ memcached_result_st *,
+ void *context)
{
unsigned int *counter= static_cast<unsigned int *>(context);
world->test.post_run= reinterpret_cast<test_callback_fn>(world_post_run);
world->test.on_error= reinterpret_cast<test_callback_error_fn>(world_on_error);
+ world->collection.startup= reinterpret_cast<test_callback_fn>(world_container_startup);
+ world->collection.shutdown= reinterpret_cast<test_callback_fn>(world_container_shutdown);
+
world->runner= &defualt_libmemcached_runner;
}