X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_version.rst;h=ae983f4c49d81adbb2abeec9dbbf0ef9506bbf09;hb=5ba03c8cc82605f0eb171d547876fb6cbed70a76;hp=00573d6628b60d30d0e223525fb6ae149843c3ca;hpb=1eae35aca01e152e10113cd97b7571ebd6eb5bd9;p=m6w6%2Flibmemcached diff --git a/docs/memcached_version.rst b/docs/memcached_version.rst index 00573d66..ae983f4c 100644 --- a/docs/memcached_version.rst +++ b/docs/memcached_version.rst @@ -1,57 +1,39 @@ -.. highlight:: perl +======================================================= +Getting version information about the client and server +======================================================= - -**** -NAME -**** - - -memcached_lib_version, memcached_version - 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 -*********** +----------- 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 @@ -64,26 +46,18 @@ will be returned. Use memcached_strerror() to translate this value to a printable string. -**** +---- HOME -**** +---- To find out more information please check: -`https://launchpad.net/libmemcached `_ - - -****** -AUTHOR -****** - - -Brian Aker, +`http://libmemcached.org/ `_ -******** +-------- SEE ALSO -******** +-------- memcached(1) libmemcached(3) memcached_strerror(3)