3 memcached_dump - get a list of keys found on memcached servers
7 C Client Library for memcached (libmemcached, -lmemcached)
11 #include <memcached.h>
14 memcached_dump (memcached_st *ptr,
15 memcached_dump_fn *function,
17 uint32_t number_of_callbacks);
19 typedef memcached_return_t (*memcached_dump_fn)(memcached_st *ptr,
26 memcached_dump() is used to get a list of keys found memcached(1) servers.
27 Because memcached(1) does not guarentee to dump all keys you can not assume
28 you have fetched all keys from the server. The function takes an array
29 of callbacks that it will use to execute on keys as they are found.
31 Currently the binar protocol is not supported.
35 A value of type C<memcached_return_t> is returned
36 On success that value will be C<MEMCACHED_SUCCESS>.
37 Use memcached_strerror() to translate this value to a printable string.
41 To find out more information please check:
42 L<https://launchpad.net/libmemcached>
46 Brian Aker, E<lt>brian@tangent.orgE<gt>
50 memcached(1) libmemcached(3) memcached_strerror(3)