X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_dump.3;h=7363412a74ced0e140b349dae49ee6880ea4bd18;hb=7287f37372f5e4198f7f16f5f6d6dcf9a8d5c1fb;hp=64f170fb17f9f0d4c8ab2b99d46b84ed1de61aab;hpb=bfe006546c0c28497bdf8a490fef56da1cd70eb8;p=m6w6%2Flibmemcached diff --git a/docs/man/memcached_dump.3 b/docs/man/memcached_dump.3 index 64f170fb..7363412a 100644 --- a/docs/man/memcached_dump.3 +++ b/docs/man/memcached_dump.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_DUMP" "3" "October 18, 2011" "1.01" "libmemcached" +.TH "MEMCACHED_DUMP" "3" "April 13, 2012" "1.0.6" "libmemcached" .SH NAME memcached_dump \- libmemcached Documentation . @@ -37,17 +37,17 @@ Get a list of keys found on memcached servers #include .INDENT 0.0 .TP -.B memcached_return_t memcached_dump (memcached_st *ptr, memcached_dump_fn *function, void *context, uint32_t number_of_callbacks); +.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) .UNINDENT .INDENT 0.0 .TP -.B typedef memcached_return_t (*memcached_dump_fn)(memcached_st *ptr, const char *key, size_t key_length, void *context); +.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) .UNINDENT .sp Compile and link with \-lmemcached .SH DESCRIPTION .sp -\fBmemcached_dump()\fP is used to get a list of keys found in memcached(1) +\fI\%memcached_dump()\fP is used to get a list of keys found in memcached(1) servers. Because memcached(1) does not guarentee to dump all keys you can not assume you have fetched all keys from the server. The function takes an array of callbacks that it will use to execute on keys as they are found.