1 .TH "MEMCACHED_DUMP" "3" "March 23, 2012" "1.0.5" "libmemcached"
3 memcached_dump \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
34 Get a list of keys found on memcached servers
37 #include <libmemcached/memcached.h>
40 .B memcached_return_t memcached_dump(memcached_st\fI\ *ptr\fP, \fI\%memcached_dump_fn\fP\fI\ *function\fP, void\fI\ *context\fP, uint32_t\fI\ number_of_callbacks\fP)
44 .B memcached_return_t (*memcached_dump_fn)(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, void\fI\ *context\fP)
47 Compile and link with \-lmemcached
50 \fI\%memcached_dump()\fP is used to get a list of keys found in memcached(1)
51 servers. Because memcached(1) does not guarentee to dump all keys you can not
52 assume you have fetched all keys from the server. The function takes an array
53 of callbacks that it will use to execute on keys as they are found.
55 Currently the binary protocol is not testsed.
58 A value of type \fBmemcached_return_t\fP is returned
59 On success that value will be \fBMEMCACHED_SUCCESS\fP.
60 Use \fBmemcached_strerror()\fP to translate this value to a printable
64 To find out more information please check:
65 \fI\%http://libmemcached.org/\fP
68 Brian Aker, <\fI\%brian@tangent.org\fP>
71 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
75 2011, Brian Aker DataDifferential, http://datadifferential.com/
76 .\" Generated by docutils manpage writer.