X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fhashkit_create.rst;h=e0c9c71c0fd48c06cae541faad9347fad45def16;hb=9cc3e725100e171481d7d694ab07f4e6b4288824;hp=44402b37ef53d22407189a9522f3148140771105;hpb=281c398ba3a10af677494c4453cd09d85ca921e0;p=awesomized%2Flibmemcached diff --git a/docs/hashkit_create.rst b/docs/hashkit_create.rst index 44402b37..e0c9c71c 100644 --- a/docs/hashkit_create.rst +++ b/docs/hashkit_create.rst @@ -3,35 +3,24 @@ Creating a hashkit structure ============================ -Create and destroy hashkit objects - - -------- -LIBRARY -------- - - -C Library for hashing algorithms (libmemcached, -lhashkit) - - -------- SYNOPSIS -------- +C Library for hashing algorithms (libmemcached, -lhashkit) -.. 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 -lmemcached ----------- @@ -74,4 +63,4 @@ HOME To find out more information please check: -`https://launchpad.net/libmemcached `_ +`http://libmemcached.org/ `_