projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Pushing missing doc, update to list of functions at bottom of
[m6w6/libmemcached]
/
lib
/
common.h
diff --git
a/lib/common.h
b/lib/common.h
index 395b80ef83730863c5fbe9d248bdf498fa9a41a6..c87beb60810ff5ad968da226c4a6144ba0e44ea2 100644
(file)
--- a/
lib/common.h
+++ b/
lib/common.h
@@
-50,6
+50,10
@@
#include "libmemcached_probes.h"
#define MEMCACHED_BLOCK_SIZE 1024
#include "libmemcached_probes.h"
#define MEMCACHED_BLOCK_SIZE 1024
+#define MEMCACHED_DEFAULT_COMMAND_SIZE 350
+#define SMALL_STRING_LEN 1024
+#define HUGE_STRING_LEN 8196
+
typedef enum {
MEM_NO_BLOCK= (1 << 0),
typedef enum {
MEM_NO_BLOCK= (1 << 0),
@@
-60,6
+64,7
@@
typedef enum {
MEM_USE_CRC= (1 << 5),
MEM_USE_CACHE_LOOKUPS= (1 << 6),
MEM_SUPPORT_CAS= (1 << 7),
MEM_USE_CRC= (1 << 5),
MEM_USE_CACHE_LOOKUPS= (1 << 6),
MEM_SUPPORT_CAS= (1 << 7),
+ MEM_BUFFER_REQUESTS= (1 << 8),
} memcached_flags;
/* Hashing algo */
} memcached_flags;
/* Hashing algo */
@@
-105,6
+110,7
@@
memcached_return value_fetch(memcached_st *ptr,
char *buffer,
memcached_result_st *result,
unsigned int server_key);
char *buffer,
memcached_result_st *result,
unsigned int server_key);
+void server_list_free(memcached_st *ptr, memcached_server_st *servers);
#endif /* __COMMON_H__ */
#endif /* __COMMON_H__ */