1memcached_dump.pop(3) memcached_dump memcached_dump.pop(3)
2
3
4
6 memcached_dump - get a list of keys found on memcached servers
7
9 C Client Library for memcached (libmemcached, -lmemcached)
10
12 #include <memcached.h>
13
14 memcached_return_t
15 memcached_dump (memcached_st *ptr,
16 memcached_dump_fn *function,
17 void *context,
18 uint32_t number_of_callbacks);
19
20 typedef memcached_return_t (*memcached_dump_fn)(memcached_st *ptr,
21 const char *key,
22 size_t key_length,
23 void *context);
24
26 memcached_dump() is used to get a list of keys found memcached(1)
27 servers. Because memcached(1) does not guarentee to dump all keys you
28 can not assume you have fetched all keys from the server. The function
29 takes an array of callbacks that it will use to execute on keys as they
30 are found.
31
32 Currently the binar protocol is not supported.
33
35 A value of type "memcached_return_t" is returned On success that value
36 will be "MEMCACHED_SUCCESS". Use memcached_strerror() to translate
37 this value to a printable string.
38
40 To find out more information please check:
41 <https://launchpad.net/libmemcached>
42
44 Brian Aker, <brian@tangent.org>
45
47 memcached(1) libmemcached(3) memcached_strerror(3)
48
49
50
51 2010-06-28 memcached_dump.pop(3)