X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_version.rst;h=ae983f4c49d81adbb2abeec9dbbf0ef9506bbf09;hb=5ba03c8cc82605f0eb171d547876fb6cbed70a76;hp=01403a16480141e17a352ef322e41dd8e09c7c6e;hpb=41543e45ff7aca5456c9279bc0403ecdc35f7b6e;p=m6w6%2Flibmemcached diff --git a/docs/memcached_version.rst b/docs/memcached_version.rst index 01403a16..ae983f4c 100644 --- a/docs/memcached_version.rst +++ b/docs/memcached_version.rst @@ -2,34 +2,19 @@ Getting version information about the client and server ======================================================= - -Get library version - - -******* -LIBRARY -******* - - -C Client Library for memcached (libmemcached, -lmemcached) - - + -------- SYNOPSIS -------- +#include +.. c:function:: const char * memcached_lib_version (void) -.. code-block:: perl +.. c:function:: memcached_return_t memcached_version (memcached_st *ptr) - #include - - const char * - memcached_lib_version (void) - - - memcached_return_t - memcached_version (memcached_st *ptr) + +Compile and link with -lmemcached @@ -39,16 +24,16 @@ DESCRIPTION memcached_lib_version() is used to return a simple version string representing -the libmemcached version (version of the client library, not server) +the libmemcached version (client library version, not server version) memcached_version() is used to set the major, minor, and micro versions of each memcached server being used by the memcached_st connection structure. It returns the memcached server return code. -****** +------ RETURN -****** +------ A string with the version of libmemcached driver is returned from @@ -61,23 +46,15 @@ will be returned. Use memcached_strerror() to translate this value to a printable string. -**** +---- HOME -**** +---- To find out more information please check: `http://libmemcached.org/ `_ -****** -AUTHOR -****** - - -Brian Aker, - - -------- SEE ALSO --------