Fix dangling endif
[awesomized/libmemcached] / libmemcached / memcached.h
index d1daf775362af71375de732e55a7bf2f7dbfffeb..47cdaf843768b0605c2ff24aa96fe722e1aaf204 100644 (file)
@@ -37,7 +37,7 @@ struct memcached_continuum_item_st {
   uint32_t value;
 };
 
-#define LIBMEMCACHED_VERSION_STRING "0.22"
+#define LIBMEMCACHED_VERSION_STRING "0.23"
 
 struct memcached_stat_st {
   uint32_t pid;
@@ -69,8 +69,8 @@ struct memcached_stat_st {
 struct memcached_st {
   memcached_allocated is_allocated;
   memcached_server_st *hosts;
-  unsigned int number_of_hosts;
-  unsigned int cursor_server;
+  uint32_t number_of_hosts;
+  uint32_t cursor_server;
   int cached_errno;
   uint32_t flags;
   int send_size;
@@ -93,6 +93,11 @@ struct memcached_st {
   memcached_trigger_delete_key delete_trigger;
   char prefix_key[MEMCACHED_PREFIX_KEY_MAX_SIZE];
   size_t prefix_key_length;
+  memcached_hash hash_continuum;
+  uint32_t continuum_points_counter;
+  int32_t snd_timeout;
+  int32_t rcv_timeout;
+  uint32_t server_failure_limit;
 };