projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Updates for pkg-config.
[m6w6/libmemcached]
/
lib
/
common.h
diff --git
a/lib/common.h
b/lib/common.h
index 3a3a969525b80d389727db60fef2720ccda94aee..73913c1c05e98f187ddee33687470b4821db4f4c 100644
(file)
--- 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_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 */
} 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);
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__ */
#endif /* __COMMON_H__ */