X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_version.rst;h=ae983f4c49d81adbb2abeec9dbbf0ef9506bbf09;hb=5ba03c8cc82605f0eb171d547876fb6cbed70a76;hp=f00bef4ec68da23c4db027b04b922ad37cbb39b8;hpb=bf12e933c3c73aa04d8de2221144cc73cc9ef3b8;p=m6w6%2Flibmemcached diff --git a/docs/memcached_version.rst b/docs/memcached_version.rst index f00bef4e..ae983f4c 100644 --- a/docs/memcached_version.rst +++ b/docs/memcached_version.rst @@ -2,53 +2,38 @@ 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 -*********** +----------- 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,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)