X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fhashkit_value.rst;h=f768f887c4cb1e121d0ebc4cc82d72d52fa9036a;hb=50dc8599f105fe915607e6f2d57851fd9acad839;hp=ec5d71b6d0b0ea780745567e5280bd07e4821601;hpb=f0a568f40ab283bb0be08bd0d930c70386418b97;p=m6w6%2Flibmemcached diff --git a/docs/hashkit_value.rst b/docs/hashkit_value.rst index ec5d71b6..f768f887 100644 --- a/docs/hashkit_value.rst +++ b/docs/hashkit_value.rst @@ -1,40 +1,29 @@ -.. highlight:: perl - - +============= hashkit_value -************* - - -Generate a value for the given key - - -******* -LIBRARY -******* +============= -C Library for hashing algorithms (libhashkit, -lhashkit) +.. index:: object: hashkit_st +Generate a value for the given key -******** +-------- SYNOPSIS -******** - +-------- -.. code-block:: perl +#include - #include +.. c:function:: uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length); - uint32_t hashkit_value(hashkit_st *hash, - const char *key, - size_t key_length); +Compile and link with -lhashkit -*********** + +----------- DESCRIPTION -*********** +----------- The hashkit_value() function generates a 32-bit hash value from the @@ -43,34 +32,26 @@ object, and distribution type and hash function is used from this object while generating the value. -************ +------------ RETURN VALUE -************ +------------ A 32-bit hash value. -**** +---- HOME -**** +---- To find out more information please check: -`https://launchpad.net/libmemcached `_ - - -****** -AUTHOR -****** - - -Brian Aker, +`http://libmemcached.org/ `_ -******** +-------- SEE ALSO -******** +-------- hashkit_create(3) hashkit_set_distribution(3) hashkit_set_hash_fn(3)