aboutsummaryrefslogtreecommitdiff
path: root/libihash/ihash.h
diff options
context:
space:
mode:
Diffstat (limited to 'libihash/ihash.h')
-rw-r--r--libihash/ihash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libihash/ihash.h b/libihash/ihash.h
index 28fefe80..356f6473 100644
--- a/libihash/ihash.h
+++ b/libihash/ihash.h
@@ -349,5 +349,10 @@ int hurd_ihash_remove (hurd_ihash_t ht, hurd_ihash_key_t key);
was provided to hurd_ihash_add(). This call is faster than
hurd_ihash_remove(). */
void hurd_ihash_locp_remove (hurd_ihash_t ht, hurd_ihash_locp_t locp);
+
+/* We provide a general purpose hash function. This function can be
+ used with the generalized key interface to use arbitrary data as
+ keys using this library. */
+uint32_t hurd_ihash_hash32 (const void *buf, size_t len, uint32_t seed);
#endif /* _HURD_IHASH_H */