2 * Summary: Connection pool implementation for libmemcached.
4 * Copy: See Copyright for the status of this software.
9 #ifndef MEMCACHED_POOL_H
10 #define MEMCACHED_POOL_H
12 #include <libmemcached/memcached.h>
18 struct memcached_pool_st
;
19 typedef struct memcached_pool_st memcached_pool_st
;
22 memcached_pool_st
*memcached_pool_create(memcached_st
* mmc
, uint32_t initial
,
25 memcached_st
* memcached_pool_destroy(memcached_pool_st
* pool
);
27 memcached_st
* memcached_pool_pop(memcached_pool_st
* pool
,
29 memcached_return
* rc
);
31 memcached_return
memcached_pool_push(memcached_pool_st
* pool
,
38 #endif /* MEMCACHED_POOL_H */