Merge in local trunk
[m6w6/libmemcached] / docs / hashkit_create.rst
index cf11e83e00d2b21907fdced0894b24339fe41162..f7aabac5313b42bc9747f195ef7caed90aa7db0d 100644 (file)
@@ -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 <libmemcached/hashkit.h>
-   hashkit_st *hashkit_create(hashkit_st *hash);
+#include <libhashkit/hashkit.h>
  
-   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
 
 
 -----------