projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Pulling in Mark's fixes for memory leaks in memslap
[m6w6/libmemcached]
/
libmemcached
/
common.h
diff --git
a/libmemcached/common.h
b/libmemcached/common.h
index 44c50606bc6a81701cf4dfa80ef97d897d36edde..50ee60bf6606be239a375214946114bc4c42cb45 100644
(file)
--- a/
libmemcached/common.h
+++ b/
libmemcached/common.h
@@
-16,7
+16,6
@@
#include <netdb.h>
#include <unistd.h>
#include <limits.h>
#include <netdb.h>
#include <unistd.h>
#include <limits.h>
-#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/un.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/un.h>
@@
-109,7
+108,7
@@
void server_list_free(memcached_st *ptr, memcached_server_st *servers);
memcached_return memcachd_key_test(char **keys, size_t *key_length,
unsigned int number_of_keys);
memcached_return memcachd_key_test(char **keys, size_t *key_length,
unsigned int number_of_keys);
-
void sort_hosts
(memcached_st *ptr);
+
memcached_return run_distribution
(memcached_st *ptr);
uint32_t generate_hash(memcached_st *ptr, char *key, size_t key_length);
#endif /* __COMMON_H__ */
uint32_t generate_hash(memcached_st *ptr, char *key, size_t key_length);
#endif /* __COMMON_H__ */