1 ==========================
2 Dumping data from a server
3 ==========================
6 Get a list of keys found on memcached servers
14 C Client Library for memcached (libmemcached, -lmemcached)
25 #include <libmemcached/memcached.h>
28 memcached_dump (memcached_st *ptr,
29 memcached_dump_fn *function,
31 uint32_t number_of_callbacks);
33 typedef memcached_return_t (*memcached_dump_fn)(memcached_st *ptr,
45 memcached_dump() is used to get a list of keys found memcached(1) servers.
46 Because memcached(1) does not guarentee to dump all keys you can not assume
47 you have fetched all keys from the server. The function takes an array
48 of callbacks that it will use to execute on keys as they are found.
50 Currently the binar protocol is not testsed.
58 A value of type \ ``memcached_return_t``\ is returned
59 On success that value will be \ ``MEMCACHED_SUCCESS``\ .
60 Use memcached_strerror() to translate this value to a printable string.
68 To find out more information please check:
69 `http://libmemcached.org/ <http://libmemcached.org/>`_
77 Brian Aker, <brian@tangent.org>
85 :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`