Style cleanup
[m6w6/libmemcached] / libmemcached / memcached_pool.h
index f4cf1c1996931c1581294822673cf8c7619b90d0..967d768d9b8bedc4a63d9a7e7a2dc1a48e30f095 100644 (file)
@@ -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 <libmemcached/memcached.h>
 
@@ -26,13 +26,22 @@ memcached_st* memcached_pool_destroy(memcached_pool_st* pool);
 LIBMEMCACHED_API
 memcached_st* memcached_pool_pop(memcached_pool_st* pool,
                                  bool block,
-                                 memcached_return* rc);
+                                 memcached_return_t* rc);
 LIBMEMCACHED_API
-memcached_return memcached_pool_push(memcached_pool_st* pool, 
+memcached_return_t memcached_pool_push(memcached_pool_st* pool, 
                                      memcached_st* mmc);
 
+LIBMEMCACHED_API
+memcached_return_t memcached_pool_behavior_set(memcached_pool_st *ptr,
+                                               memcached_behavior_t flag,
+                                               uint64_t data);
+LIBMEMCACHED_API
+memcached_return_t memcached_pool_behavior_get(memcached_pool_st *ptr,
+                                               memcached_behavior_t flag,
+                                               uint64_t *value);
+
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* LIBMEMCACHED_MEMCACHED_POOL_H */
+#endif /* MEMCACHED_POOL_H */