8 Disconnect from all servers
16 C Client Library for memcached (libmemcached, -lmemcached)
27 #include <libmemcached/memcached.h>
29 void memcached_quit (memcached_st *ptr);
38 memcached_quit() will disconnect you from all currently connected servers.
39 It will also reset the state of the connection (ie, any memcached_fetch() you
40 are in the middle of will be terminated). This function is called
41 automatically when you call memcached_free() on the \ ``memcached_st``\ structure.
43 You do not need to call this on your own. All operations to change server
44 hashes and parameters will handle connections to the server for you. This
45 function is provided mainly so that you can timeout your connections or
46 reset connections during the middle of a memcached_fetch().
54 A value of type \ ``memcached_return``\ is returned
55 On success that value will be \ ``MEMCACHED_SUCCESS``\ .
56 Use memcached_strerror() to translate this value to a printable string.
64 To find out more information please check:
65 `https://launchpad.net/libmemcached <https://launchpad.net/libmemcached>`_
73 Brian Aker, <brian@tangent.org>
81 memcached(1) libmemcached(3) memcached_strerror(3)