X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fcommon.h;h=9e4cb5e17fb4346b98134f7ca8fa6354fdf8e5f0;hb=8a86b578acc594d37a8638e3e0afba1286c4b6ca;hp=3c707143e9bbdc9bc275448300c0c3941f4d04cd;hpb=4792e6fd1af5001670384301816fba0665dfa693;p=m6w6%2Flibmemcached diff --git a/lib/common.h b/lib/common.h index 3c707143..9e4cb5e1 100644 --- a/lib/common.h +++ b/lib/common.h @@ -21,7 +21,7 @@ #include #include #include -#include "libmemcached_config.h" +#include #if TIME_WITH_SYS_TIME # include @@ -65,6 +65,8 @@ typedef enum { MEM_USE_CACHE_LOOKUPS= (1 << 6), MEM_SUPPORT_CAS= (1 << 7), MEM_BUFFER_REQUESTS= (1 << 8), + MEM_USE_SORT_HOSTS= (1 << 9), + MEM_VERIFY_KEY= (1 << 10), } memcached_flags; /* Hashing algo */ @@ -110,5 +112,7 @@ memcached_return value_fetch(memcached_server_st *ptr, memcached_result_st *result); void server_list_free(memcached_st *ptr, memcached_server_st *servers); +memcached_return memcachd_key_test(char **keys, size_t *key_length, + unsigned int number_of_keys); #endif /* __COMMON_H__ */