projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Added MEMCACHED_BEHAVIOR_SORT_HOSTS behavior to enable and disable sorted host
[m6w6/libmemcached]
/
include
/
memcached.h
diff --git
a/include/memcached.h
b/include/memcached.h
index cb74fe9d8aeea575aee099c608cadd6dad318cd8..0939a7ae4d5ba66203f6cb34c91cdbbc65b85c45 100644
(file)
--- a/
include/memcached.h
+++ b/
include/memcached.h
@@
-32,7
+32,7
@@
extern "C" {
#define MEMCACHED_DEFAULT_TIMEOUT INT32_MAX
/* string value */
#define MEMCACHED_DEFAULT_TIMEOUT INT32_MAX
/* string value */
-#define LIBMEMCACHED_VERSION_STRING "0.1
5
"
+#define LIBMEMCACHED_VERSION_STRING "0.1
6
"
typedef enum {
MEMCACHED_SUCCESS,
typedef enum {
MEMCACHED_SUCCESS,
@@
-67,6
+67,7
@@
typedef enum {
MEMCACHED_FETCH_NOTFINISHED,
MEMCACHED_TIMEOUT,
MEMCACHED_BUFFERED,
MEMCACHED_FETCH_NOTFINISHED,
MEMCACHED_TIMEOUT,
MEMCACHED_BUFFERED,
+ MEMCACHED_BAD_KEY_PROVIDED,
MEMCACHED_MAXIMUM_RETURN, /* Always add new error code before */
} memcached_return;
MEMCACHED_MAXIMUM_RETURN, /* Always add new error code before */
} memcached_return;
@@
-99,6
+100,7
@@
typedef enum {
MEMCACHED_BEHAVIOR_DISTRIBUTION,
MEMCACHED_BEHAVIOR_BUFFER_REQUESTS,
MEMCACHED_BEHAVIOR_USER_DATA,
MEMCACHED_BEHAVIOR_DISTRIBUTION,
MEMCACHED_BEHAVIOR_BUFFER_REQUESTS,
MEMCACHED_BEHAVIOR_USER_DATA,
+ MEMCACHED_BEHAVIOR_SORT_HOSTS,
} memcached_behavior;
typedef enum {
} memcached_behavior;
typedef enum {
@@
-169,7
+171,7
@@
struct memcached_stat_st {
uint32_t rusage_system_microseconds;
uint32_t curr_items;
uint32_t total_items;
uint32_t rusage_system_microseconds;
uint32_t curr_items;
uint32_t total_items;
- uint
32
_t limit_maxbytes;
+ uint
64
_t limit_maxbytes;
uint32_t curr_connections;
uint32_t total_connections;
uint32_t connection_structures;
uint32_t curr_connections;
uint32_t total_connections;
uint32_t connection_structures;