1 =======================================================
2 Getting version information about the client and server
3 =======================================================
14 C Client Library for memcached (libmemcached, -lmemcached)
25 #include <libmemcached/memcached.h>
28 memcached_lib_version (void)
32 memcached_version (memcached_st *ptr)
41 memcached_lib_version() is used to return a simple version string representing
42 the libmemcached version (version of the client library, not server)
44 memcached_version() is used to set the major, minor, and micro versions of each
45 memcached server being used by the memcached_st connection structure. It returns the
46 memcached server return code.
54 A string with the version of libmemcached driver is returned from
55 memcached_lib_version()
57 A value of type \ ``memcached_return_t``\ is returned from memcached_version()
58 On success that value will be \ ``MEMCACHED_SUCCESS``\ . If called with the
59 \ ``MEMCACHED_BEHAVIOR_USE_UDP``\ behavior set, the value \ ``MEMCACHED_NOT_SUPPORTED``\
60 will be returned. Use memcached_strerror() to translate this value to
69 To find out more information please check:
70 `http://libmemcached.org/ <http://libmemcached.org/>`_
78 Brian Aker, <brian@tangent.org>
86 memcached(1) libmemcached(3) memcached_strerror(3)