Generate hash value
===================
-.. index:: object: hashkit_st
-
-Generate a value for the given key
-
SYNOPSIS
--------
.. function:: uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length)
+ :param hash: pointer to an initialized `hashkit_st` struct
+ :param key: the key to genereate a hash of
+ :param key_length: the length of the `key` without any terminating zero byte
+
DESCRIPTION
-----------
-The :func:`hashkit_value` function generates a 32-bit hash value from the
-given key and key_length. The hash argument is an initialized hashkit
-object, and distribution type and hash function is used from this
-object while generating the value.
+The `hashkit_value` function generates a 32-bit hash value from the given key
+and key_length. The hash argument is an initialized hashkit object, and
+distribution type and hash function is used from this object while generating
+the value.
RETURN VALUE
------------
.. only:: html
- * :doc:`../libhashkit`
+ * :doc:`index`
* :doc:`hashkit_create`
* :doc:`hashkit_function`
* :doc:`hashkit_functions`