Updating the get function in the C++ interface.
[awesomized/libmemcached] / libmemcached / memcached_pool.h
index e364feb5a1d90b8cd0a91ffa148d09ba69c02284..7efe65e9e9674835c0c77db08bbd26bd082146a0 100644 (file)
@@ -17,11 +17,19 @@ extern "C" {
 
 struct memcached_pool_st;
 typedef struct memcached_pool_st memcached_pool_st;
-memcached_pool_st *memcached_pool_create(memcached_st* mmc, int initial, 
-                                         int max);
+
+LIBMEMCACHED_API
+memcached_pool_st *memcached_pool_create(memcached_st* mmc, uint32_t initial, 
+                                         uint32_t max);
+LIBMEMCACHED_API
 memcached_st* memcached_pool_destroy(memcached_pool_st* pool);
-memcached_st* memcached_pool_pop(memcached_pool_st* pool, bool block);
-void memcached_pool_push(memcached_pool_st* pool, memcached_st *mmc);
+LIBMEMCACHED_API
+memcached_st* memcached_pool_pop(memcached_pool_st* pool,
+                                 bool block,
+                                 memcached_return* rc);
+LIBMEMCACHED_API
+memcached_return memcached_pool_push(memcached_pool_st* pool, 
+                                     memcached_st* mmc);
 
 #ifdef __cplusplus
 }