*/
-#ifndef MEMCACHED_POOL_H
-#define MEMCACHED_POOL_H
+#ifndef __LIMEMCACHED_UTIL_POOL_H__
+#define __LIMEMCACHED_UTIL_POOL_H__
#include <libmemcached/memcached.h>
typedef struct memcached_pool_st memcached_pool_st;
LIBMEMCACHED_API
-memcached_pool_st *memcached_pool_create(memcached_st* mmc, uint32_t initial,
- uint32_t max);
+memcached_pool_st *memcached_pool_create(memcached_st* mmc, uint32_t initial, uint32_t max);
+
+LIBMEMCACHED_API
+memcached_pool_st *memcached_pool(const char *option_string, size_t option_string_length);
+
LIBMEMCACHED_API
memcached_st* memcached_pool_destroy(memcached_pool_st* pool);
+
LIBMEMCACHED_API
memcached_st* memcached_pool_pop(memcached_pool_st* pool,
bool block,
uint64_t *value);
#ifdef __cplusplus
-}
+} // extern "C"
#endif
-#endif /* MEMCACHED_POOL_H */
+#endif /* __LIMEMCACHED_UTIL_POOL_H__ */