X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_pool.h;h=03fc0e3a78d9b82fadcd1b18e74feb7d600a4b49;hb=f6c04131cc9952372e3f63de2db4edc9f8181fb2;hp=f4cf1c1996931c1581294822673cf8c7619b90d0;hpb=76b111e0882fb19b49bcade2715981e7d2f32ae1;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached_pool.h b/libmemcached/memcached_pool.h index f4cf1c19..03fc0e3a 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 @@ -31,8 +31,13 @@ LIBMEMCACHED_API memcached_return memcached_pool_push(memcached_pool_st* pool, memcached_st* mmc); +LIBMEMCACHED_API +memcached_return memcached_pool_behavior_set(memcached_pool_st *ptr, memcached_behavior flag, uint64_t data); +LIBMEMCACHED_API +memcached_return memcached_pool_behavior_get(memcached_pool_st *ptr, memcached_behavior flag, uint64_t *value); + #ifdef __cplusplus } #endif -#endif /* LIBMEMCACHED_MEMCACHED_POOL_H */ +#endif /* MEMCACHED_POOL_H */