X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fhashkit_create.rst;h=f7aabac5313b42bc9747f195ef7caed90aa7db0d;hb=a6c3e3a3d04f379b1480c8c88a8eae17e54b1449;hp=cf11e83e00d2b21907fdced0894b24339fe41162;hpb=86be0943416087ba738c28ddbde8cdcbd62ad777;p=m6w6%2Flibmemcached diff --git a/docs/hashkit_create.rst b/docs/hashkit_create.rst index cf11e83e..f7aabac5 100644 --- a/docs/hashkit_create.rst +++ b/docs/hashkit_create.rst @@ -2,36 +2,23 @@ Creating a hashkit structure ============================ - -Create and destroy hashkit objects - - -------- -LIBRARY -------- - - -C Library for hashing algorithms (libmemcached, -lhashkit) - +.. index:: object: hashkit_st -------- SYNOPSIS -------- - - -.. code-block:: perl - - #include - - hashkit_st *hashkit_create(hashkit_st *hash); +#include - hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr); +.. c:function:: hashkit_st *hashkit_create(hashkit_st *hash); - void hashkit_free(hashkit_st *hash); - - bool hashkit_is_allocated(const hashkit_st *hash); +.. c:function:: hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr); + +.. c:function:: void hashkit_free(hashkit_st *hash); + +.. c:function:: bool hashkit_is_allocated(const hashkit_st *hash); +Compile and link with -lhashkit -----------