Change binary protocol behavior to disallow the use of key verification. (We disable...
[m6w6/libmemcached] / libmemcached / memcached.h
index 96a4f15e38cc40e10feb94cdf2439b3cfe474583..0ebe6e30de6bc4d38f5b3a4acd28c2c19a90ad7a 100644 (file)
@@ -12,6 +12,9 @@
 
 #include <stdlib.h>
 #include <inttypes.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
 #include <sys/types.h>
 #include <netinet/in.h>
 
@@ -69,7 +72,8 @@ struct memcached_stat_st {
 };
 
 struct memcached_st {
-  memcached_allocated is_allocated;
+  uint8_t purging;
+  bool is_allocated;
   memcached_server_st *hosts;
   uint32_t number_of_hosts;
   uint32_t cursor_server;
@@ -102,7 +106,6 @@ struct memcached_st {
   uint32_t server_failure_limit;
   uint32_t io_msg_watermark;
   uint32_t io_bytes_watermark;
-  char purging;
 };