This patch includes all of the callback work for setting clone() and cleanup()
[awesomized/libmemcached] / lib / common.h
index 395b80ef83730863c5fbe9d248bdf498fa9a41a6..268109b31a2969d29fe8fb0a612280a871c3f1af 100644 (file)
 #include "libmemcached_probes.h"
 
 #define MEMCACHED_BLOCK_SIZE 1024
+#define MEMCACHED_DEFAULT_COMMAND_SIZE 350
+#define SMALL_STRING_LEN 1024
+#define HUGE_STRING_LEN 8196
+
 
 typedef enum {
   MEM_NO_BLOCK= (1 << 0),
@@ -60,6 +64,7 @@ typedef enum {
   MEM_USE_CRC= (1 << 5),
   MEM_USE_CACHE_LOOKUPS= (1 << 6),
   MEM_SUPPORT_CAS= (1 << 7),
+  MEM_BUFFER_REQUESTS= (1 << 8),
 } memcached_flags;
 
 /* Hashing algo */