projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Patches from Piotr Sikora < piotr.sikora@frickle.com > for OpenBSD.
[m6w6/libmemcached]
/
libmemcached
/
hash.c
diff --git
a/libmemcached/hash.c
b/libmemcached/hash.c
index 392155c02bc3b22213256e393b4cf7333ece9f18..dbdcc7ded0f13f122ac42c96ec095092e7ce5b49 100644
(file)
--- a/
libmemcached/hash.c
+++ b/
libmemcached/hash.c
@@
-1,3
+1,14
@@
+/* LibMemcached
+ * Copyright (C) 2006-2010 Brian Aker
+ * All rights reserved.
+ *
+ * Use and distribution licensed under the BSD license. See
+ * the COPYING file in the parent directory for full text.
+ *
+ * Summary:
+ *
+ */
+
#include "common.h"
#include "common.h"
@@
-107,3
+118,8
@@
uint32_t memcached_generate_hash(memcached_st *ptr, const char *key, size_t key_
return dispatch_host(ptr, hash);
}
return dispatch_host(ptr, hash);
}
+
+hashkit_st *memcached_get_hashkit(memcached_st *ptr)
+{
+ return &ptr->hashkit;
+}