X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fhashkit_value.rst;h=d27e35281ee74814941bd34f22ed469a5a98b986;hb=e7798c555a23889e14ed27654be97141d6383b9e;hp=f418a394f14d5085819d1f260d0c018612808964;hpb=357e1856bb92abd6bef6423f1d95e8afb17a872d;p=m6w6%2Flibmemcached diff --git a/docs/hashkit_value.rst b/docs/hashkit_value.rst index f418a394..d27e3528 100644 --- a/docs/hashkit_value.rst +++ b/docs/hashkit_value.rst @@ -14,19 +14,16 @@ SYNOPSIS #include -.. c:function:: uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length); +.. 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 +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.