projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* HashLittle() function
[citadel.git]
/
libcitadel
/
lib
/
hash.c
diff --git
a/libcitadel/lib/hash.c
b/libcitadel/lib/hash.c
index defe781232667cd92ef012cc03de37963f74eaa1..67ea9332d2ad8de73d406eb810092aadf0c281e2 100644
(file)
--- a/
libcitadel/lib/hash.c
+++ b/
libcitadel/lib/hash.c
@@
-798,4
+798,10
@@
void reference_free_handler(void *ptr)
}
+/*
+ * This exposes the hashlittle() function to consumers.
+ */
+int HashLittle(const void *key, size_t length) {
+ return (int)hashlittle(key, length, 1);
+}