Make sure we use the correct strerror() in case someone is using threads.
[awesomized/libmemcached] / docs / hashkit_create.rst
index 3d801b1fe2210ed2dc0f402cb4589777f031cfd5..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
 
 
 -----------
@@ -74,4 +61,4 @@ HOME
 
 
 To find out more information please check:
-`https://launchpad.net/libmemcached <https://launchpad.net/libmemcached>`_
+`http://libmemcached.org/ <http://libmemcached.org/>`_