X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fcommon.h;h=73913c1c05e98f187ddee33687470b4821db4f4c;hb=fbe2eb63dd53506cc3acc1507e5226e43d22a6d5;hp=ae531e160c0489d8f97c49c852b791d26e416c02;hpb=5a6b411afb61c7d14aee3f52037f719c42072160;p=m6w6%2Flibmemcached diff --git a/lib/common.h b/lib/common.h index ae531e16..73913c1c 100644 --- a/lib/common.h +++ b/lib/common.h @@ -43,6 +43,8 @@ typedef enum { MEM_USE_MD5= (1 << 3), MEM_USE_KETAMA= (1 << 4), MEM_USE_CRC= (1 << 5), + MEM_USE_CACHE_LOOKUPS= (1 << 6), + MEM_SUPPORT_CAS= (1 << 7), } memcached_flags; /* Hashing algo */ @@ -80,6 +82,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__ */