X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fcommon.h;h=1e564cf5f894d5a00533916ee10bca6e9544b703;hb=8d0cd77fc7bafd1f353bc7c50910b751766f931a;hp=ae531e160c0489d8f97c49c852b791d26e416c02;hpb=5a6b411afb61c7d14aee3f52037f719c42072160;p=m6w6%2Flibmemcached diff --git a/lib/common.h b/lib/common.h index ae531e16..1e564cf5 100644 --- a/lib/common.h +++ b/lib/common.h @@ -43,6 +43,7 @@ typedef enum { MEM_USE_MD5= (1 << 3), MEM_USE_KETAMA= (1 << 4), MEM_USE_CRC= (1 << 5), + MEM_USE_CACHE_LOOKUPS= (1 << 6), } memcached_flags; /* Hashing algo */ @@ -80,6 +81,8 @@ memcached_return memcached_string_reset(memcached_string_st *string); void memcached_string_free(memcached_string_st *string); memcached_return memcached_do(memcached_st *ptr, unsigned int server_key, char *commmand, size_t command_length, char with_flush); +memcached_return memcached_version(memcached_st *ptr); + #endif /* __COMMON_H__ */