X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fcommon.h;h=b09d54336d11152db4b8efda479a7e683e3d35c1;hb=cb6733efbbd39a7cb80eff53c09a05775f4570dc;hp=3c707143e9bbdc9bc275448300c0c3941f4d04cd;hpb=9fc696736c22835d12669f294c96563a4d81f8cc;p=m6w6%2Flibmemcached diff --git a/lib/common.h b/lib/common.h index 3c707143..b09d5433 100644 --- a/lib/common.h +++ b/lib/common.h @@ -21,7 +21,6 @@ #include #include #include -#include "libmemcached_config.h" #if TIME_WITH_SYS_TIME # include @@ -65,6 +64,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 +111,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__ */