Merge Thomason's cork patch.
[awesomized/libmemcached] / libmemcached / constants.h
index 980a32bfec1657ce153b3215214a670cea89bce3..11b2f677e2702c2e984d7778f38f676c308ba094 100644 (file)
@@ -1,5 +1,5 @@
 /* LibMemcached
- * Copyright (C) 2006-2009 Brian Aker 
+ * Copyright (C) 2006-2009 Brian Aker
  * All rights reserved.
  *
  * Use and distribution licensed under the BSD license.  See
@@ -26,6 +26,8 @@
 #define MEMCACHED_CONTINUUM_ADDITION 10 /* How many extra slots we should build for in the continuum */
 #define MEMCACHED_PREFIX_KEY_MAX_SIZE 128
 #define MEMCACHED_EXPIRATION_NOT_ADD 0xffffffffU
+#define MEMCACHED_VERSION_STRING_LENGTH 24
+
 
 typedef enum {
   MEMCACHED_SUCCESS,
@@ -112,6 +114,7 @@ typedef enum {
   MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS,
   MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS,
   MEMCACHED_BEHAVIOR_RANDOMIZE_REPLICA_READ,
+  MEMCACHED_BEHAVIOR_CORK,
   MEMCACHED_BEHAVIOR_MAX
 } memcached_behavior_t;