projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
8a0a471
)
add a memcached_result_string_st(A) interface to support the cas related API wrapper
author
Yin Chen
<subdragon@gmail.com>
Mon, 25 Aug 2008 05:02:57 +0000
(13:02 +0800)
committer
Yin Chen
<subdragon@gmail.com>
Mon, 25 Aug 2008 05:02:57 +0000
(13:02 +0800)
libmemcached/memcached_result.h
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_result.h
b/libmemcached/memcached_result.h
index 47556e857b309819d0f2fb5b0d0087ca58c34ac0..4826042cfab328ef8463c2f757e2fb7cdd8bc02f 100644
(file)
--- a/
libmemcached/memcached_result.h
+++ b/
libmemcached/memcached_result.h
@@
-32,6
+32,7
@@
memcached_result_st *memcached_result_create(memcached_st *ptr,
memcached_result_st *result);
#define memcached_result_key_value(A) (A)->key
#define memcached_result_key_length(A) (A)->key_length
+#define memcached_result_string_st(A) ((A)->value)
#ifdef FIX
#define memcached_result_value(A) memcached_string_value((A)->value)
#define memcached_result_length(A) memcached_string_length((A)->value)