projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in util/libtest update
[awesomized/libmemcached]
/
libmemcached
/
memcached.h
diff --git
a/libmemcached/memcached.h
b/libmemcached/memcached.h
index 099a4b306960f26323fc3f274034b4cac81c84c3..3c29a5e14c899442068cf4df38fec92078a8e989 100644
(file)
--- a/
libmemcached/memcached.h
+++ b/
libmemcached/memcached.h
@@
-71,6
+71,7
@@
#include <libmemcached/flush_buffers.h>
#include <libmemcached/get.h>
#include <libmemcached/hash.h>
#include <libmemcached/flush_buffers.h>
#include <libmemcached/get.h>
#include <libmemcached/hash.h>
+#include <libmemcached/namespace.h>
#include <libmemcached/options.h>
#include <libmemcached/parse.h>
#include <libmemcached/quit.h>
#include <libmemcached/options.h>
#include <libmemcached/parse.h>
#include <libmemcached/quit.h>
@@
-98,7
+99,7
@@
struct memcached_st {
bool auto_eject_hosts:1;
bool binary_protocol:1;
bool buffer_requests:1;
bool auto_eject_hosts:1;
bool binary_protocol:1;
bool buffer_requests:1;
- bool hash_with_
prefix_key
:1;
+ bool hash_with_
namespace
:1;
bool no_block:1; // Don't block
bool no_reply:1;
bool randomize_replica_read:1;
bool no_block:1; // Don't block
bool no_reply:1;
bool randomize_replica_read:1;
@@
-112,6
+113,9
@@
struct memcached_st {
memcached_server_distribution_t distribution;
hashkit_st hashkit;
memcached_server_distribution_t distribution;
hashkit_st hashkit;
+ struct {
+ unsigned int version;
+ } server_info;
uint32_t number_of_hosts;
memcached_server_st *servers;
memcached_server_st *last_disconnected_server;
uint32_t number_of_hosts;
memcached_server_st *servers;
memcached_server_st *last_disconnected_server;
@@
-123,7
+127,7
@@
struct memcached_st {
uint32_t io_key_prefetch;
uint32_t tcp_keepidle;
int32_t poll_timeout;
uint32_t io_key_prefetch;
uint32_t tcp_keepidle;
int32_t poll_timeout;
- int32_t connect_timeout;
+ int32_t connect_timeout;
// How long we will wait on connect() before we will timeout
int32_t retry_timeout;
int send_size;
int recv_size;
int32_t retry_timeout;
int send_size;
int recv_size;
@@
-151,7
+155,7
@@
struct memcached_st {
memcached_callback_st *callbacks;
struct memcached_sasl_st sasl;
struct memcached_error_t *error_messages;
memcached_callback_st *callbacks;
struct memcached_sasl_st sasl;
struct memcached_error_t *error_messages;
- struct memcached_array_st *
prefix_key
;
+ struct memcached_array_st *
_namespace
;
struct {
uint32_t initial_pool_size;
uint32_t max_pool_size;
struct {
uint32_t initial_pool_size;
uint32_t max_pool_size;