X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_pool.h;h=967d768d9b8bedc4a63d9a7e7a2dc1a48e30f095;hb=b4de8d3fd063b9017797dd9809ab3acb8a537606;hp=f4cf1c1996931c1581294822673cf8c7619b90d0;hpb=76869574486dceca688e05b7028d8b88485a36a0;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached_pool.h b/libmemcached/memcached_pool.h index f4cf1c19..967d768d 100644 --- a/libmemcached/memcached_pool.h +++ b/libmemcached/memcached_pool.h @@ -6,8 +6,8 @@ * Author: Trond Norbye */ -#ifndef LIBMEMCACHED_MEMCACHED_POOL_H -#define LIBMEMCACHED_MEMCACHED_POOL_H +#ifndef MEMCACHED_POOL_H +#define MEMCACHED_POOL_H #include @@ -26,13 +26,22 @@ memcached_st* memcached_pool_destroy(memcached_pool_st* pool); LIBMEMCACHED_API memcached_st* memcached_pool_pop(memcached_pool_st* pool, bool block, - memcached_return* rc); + memcached_return_t* rc); LIBMEMCACHED_API -memcached_return memcached_pool_push(memcached_pool_st* pool, +memcached_return_t memcached_pool_push(memcached_pool_st* pool, memcached_st* mmc); +LIBMEMCACHED_API +memcached_return_t memcached_pool_behavior_set(memcached_pool_st *ptr, + memcached_behavior_t flag, + uint64_t data); +LIBMEMCACHED_API +memcached_return_t memcached_pool_behavior_get(memcached_pool_st *ptr, + memcached_behavior_t flag, + uint64_t *value); + #ifdef __cplusplus } #endif -#endif /* LIBMEMCACHED_MEMCACHED_POOL_H */ +#endif /* MEMCACHED_POOL_H */