6 .. index:: object: hashkit_st
8 Generate a value for the given key
15 #include <libhashkit/hashkit.h>
17 .. c:function:: uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length)
19 Compile and link with -lhashkit
26 The :c:func:`hashkit_value` function generates a 32-bit hash value from the
27 given key and key_length. The hash argument is an initialized hashkit
28 object, and distribution type and hash function is used from this
29 object while generating the value.
45 :manpage:`hashkit_create(3)` :manpage:`hashkit_set_distribution(3)` :manpage:`hashkit_set_hash_fn(3)`