projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Updated for the creation of memcached_server_by_key().
[awesomized/libmemcached]
/
libmemcached
/
memcached.h
diff --git
a/libmemcached/memcached.h
b/libmemcached/memcached.h
index 911b04447d96d0f286881f75b833e6e1aad91175..3017fbb172d13e68fa925cf6fbb7f0e4824acd1c 100644
(file)
--- a/
libmemcached/memcached.h
+++ b/
libmemcached/memcached.h
@@
-37,7
+37,7
@@
struct memcached_continuum_item_st {
uint32_t value;
};
uint32_t value;
};
-#define LIBMEMCACHED_VERSION_STRING "0.2
2
"
+#define LIBMEMCACHED_VERSION_STRING "0.2
3
"
struct memcached_stat_st {
uint32_t pid;
struct memcached_stat_st {
uint32_t pid;
@@
-69,8
+69,8
@@
struct memcached_stat_st {
struct memcached_st {
memcached_allocated is_allocated;
memcached_server_st *hosts;
struct memcached_st {
memcached_allocated is_allocated;
memcached_server_st *hosts;
- u
nsigned in
t number_of_hosts;
- u
nsigned in
t cursor_server;
+ u
int32_
t number_of_hosts;
+ u
int32_
t cursor_server;
int cached_errno;
uint32_t flags;
int send_size;
int cached_errno;
uint32_t flags;
int send_size;
@@
-95,6
+95,9
@@
struct memcached_st {
size_t prefix_key_length;
memcached_hash hash_continuum;
uint32_t continuum_points_counter;
size_t prefix_key_length;
memcached_hash hash_continuum;
uint32_t continuum_points_counter;
+ int32_t snd_timeout;
+ int32_t rcv_timeout;
+ uint32_t server_failure_limit;
};
};
@@
-166,11
+169,6
@@
void *memcached_callback_get(memcached_st *ptr,
memcached_callback flag,
memcached_return *error);
memcached_callback flag,
memcached_return *error);
-memcached_return memcached_server_cursor(memcached_st *ptr,
- memcached_server_function *callback,
- void *context,
- unsigned int number_of_callbacks);
-
#ifdef __cplusplus
}
#ifdef __cplusplus
}