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
;
20 memcached_pool_st
*memcached_pool_create(memcached_st
* mmc
, int initial
,
22 memcached_st
* memcached_pool_destroy(memcached_pool_st
* pool
);
23 memcached_st
* memcached_pool_pop(memcached_pool_st
* pool
, bool block
);
24 void memcached_pool_push(memcached_pool_st
* pool
, memcached_st
*mmc
);
30 #endif /* MEMCACHED_POOL_H */