Small style cleanup
[awesomized/libmemcached] / libmemcached / util / pool.h
index b6325f3e6b968f948608bf5adce81fb50b075e61..f00966aa83ee50d515863c192a4647edd9db1e43 100644 (file)
@@ -10,8 +10,8 @@
  */
 
 
-#ifndef MEMCACHED_POOL_H
-#define MEMCACHED_POOL_H
+#ifndef __LIMEMCACHED_UTIL_POOL_H__
+#define __LIMEMCACHED_UTIL_POOL_H__
 
 #include <libmemcached/memcached.h>
 
@@ -23,10 +23,14 @@ struct memcached_pool_st;
 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,
@@ -45,7 +49,7 @@ memcached_return_t memcached_pool_behavior_get(memcached_pool_st *ptr,
                                                uint64_t *value);
 
 #ifdef __cplusplus
-}
+} // extern "C"
 #endif
 
-#endif /* MEMCACHED_POOL_H */
+#endif /* __LIMEMCACHED_UTIL_POOL_H__ */