X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fcommon.h;h=73913c1c05e98f187ddee33687470b4821db4f4c;hb=fbe2eb63dd53506cc3acc1507e5226e43d22a6d5;hp=3a3a969525b80d389727db60fef2720ccda94aee;hpb=d4dc795f136a3a652c5b13b4d818345c6080bceb;p=m6w6%2Flibmemcached diff --git a/lib/common.h b/lib/common.h index 3a3a9695..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 */ @@ -78,6 +80,10 @@ memcached_return memcached_string_append(memcached_string_st *string, size_t memcached_string_backspace(memcached_string_st *string, size_t remove); 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__ */