1MEMCACHED_DUMP(3) libmemcached MEMCACHED_DUMP(3)
2
3
4
6 memcached_dump - libmemcached Documentation
7
8 Get a list of keys found on memcached servers
9
11 #include <libmemcached/memcached.h>
12
13 memcached_return_t memcached_dump(memcached_st *ptr,
14 memcached_dump_fn *function, void *context, uint32_t number_of_call‐
15 backs)
16
17 memcached_return_t (*memcached_dump_fn)(memcached_st *ptr, const
18 char *key, size_t key_length, void *context)
19
20 Compile and link with -lmemcached
21
23 memcached_dump() is used to get a list of keys found in memcached(1)
24 servers. Because memcached(1) does not guarentee to dump all keys you
25 can not assume you have fetched all keys from the server. The function
26 takes an array of callbacks that it will use to execute on keys as they
27 are found.
28
29 Currently the binary protocol is not testsed.
30
32 A value of type memcached_return_t is returned On success that value
33 will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this
34 value to a printable string.
35
37 To find out more information please check: http://libmemcached.org/
38
40 Brian Aker, <brian@tangent.org>
41
43 memcached(1) libmemcached(3) memcached_strerror(3)
44
46 Brian Aker
47
49 2011-2013, Brian Aker DataDifferential, http://datadifferential.com/
50
51
52
53
541.0.18 February 09, 2014 MEMCACHED_DUMP(3)