Add in MSG_DONTWAIT for recv().
[awesomized/libmemcached] / libmemcached / options.h
index 2785c1220102229a8fb5dce56fa04b42ac72172f..893da2ac9346d8f441b94aeea1ed137e14b373bf 100644 (file)
@@ -50,9 +50,6 @@ LIBMEMCACHED_LOCAL
 LIBMEMCACHED_LOCAL
   memcached_return_t memcached_parse_configuration(memcached_st *ptr, const char *option_string, size_t length);
 
-LIBMEMCACHED_LOCAL
-  memcached_return_t memcached_parse_configure_file(memcached_st *ptr, const char *filename, size_t filename_length);
-
 LIBMEMCACHED_LOCAL
   const char *memcached_parse_filename(memcached_st *memc);
 
@@ -62,3 +59,13 @@ LIBMEMCACHED_LOCAL
 #ifdef __cplusplus
 }
 #endif
+
+#ifdef __cplusplus
+
+LIBMEMCACHED_LOCAL
+  memcached_return_t memcached_parse_configure_file(memcached_st *self, const char *filename, size_t length);
+
+LIBMEMCACHED_LOCAL
+  memcached_return_t memcached_parse_configure_file(memcached_st *self, memcached_array_st *filename);
+
+#endif