bison: fix warnings
[awesomized/libmemcached] / docs / source / hashkit_value.rst
index cae79ace26a87a464ae2c85ef9bd3cc0166eceb7..a70e89634cf2e0796a2bd50823154367e5fa13ac 100644 (file)
@@ -1,46 +1,45 @@
-=============
-hashkit_value
-=============
-
+Generate hash value
+===================
 
 .. index:: object: hashkit_st
 
 Generate a value for the given key
 
---------
 SYNOPSIS
 --------
 
-
-#include <libhashkit/hashkit.h>
+#include <libhashkit-|libhashkit_version|/hashkit.h>
+  Compile and link with -lhashkit
 
 .. c:function:: uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length)
-Compile and link with -lhashkit
 
------------
 DESCRIPTION
 -----------
 
-
 The :c: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.
 
-
-------------
 RETURN VALUE
 ------------
 
-
 A 32-bit hash value.
 
-
---------
 SEE ALSO
 --------
 
+.. only:: man
+
+    :manpage:`libhashkit(3)`
+    :manpage:`hashkit_create(3)`
+    :manpage:`hashkit_function(3)`
+    :manpage:`hashkit_functions(3)`
+
+.. only:: html
 
-:manpage:`hashkit_create(3)` :manpage:`hashkit_set_distribution(3)` :manpage:`hashkit_set_hash_fn(3)`
+    * :doc:`libhashkit`
+    * :doc:`hashkit_create`
+    * :doc:`hashkit_function`
+    * :doc:`hashkit_functions`