X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_stat.3;h=1ca317fdf173bc0dfa920b653b146cce63b9dc3b;hb=995b0b293b47e2a45de776202938d365d3775319;hp=7d5b82c7febf4a11517209b643101275a8d5b574;hpb=f285e1b3821f56a8983b5ce9fb1a0070e7bb0a1c;p=m6w6%2Flibmemcached diff --git a/docs/man/memcached_stat.3 b/docs/man/memcached_stat.3 index 7d5b82c7..1ca317fd 100644 --- a/docs/man/memcached_stat.3 +++ b/docs/man/memcached_stat.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_STAT" "3" "April 07, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_STAT" "3" "September 26, 2011" "0.53" "libmemcached" .SH NAME memcached_stat \- libmemcached Documentation . @@ -32,73 +32,49 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] . .sp Get memcached statistics -.SH LIBRARY -.sp -C Client Library for memcached (libmemcached, \-lmemcached) .SH SYNOPSIS .sp -.nf -.ft C #include - -memcached_stat_st *memcached_stat (memcached_st *ptr, - char *args, - memcached_return_t *error); - -memcached_return_t memcached_stat_servername (memcached_stat_st *stat, - char *args, - const char *hostname, - unsigned int port); - -char * - memcached_stat_get_value (memcached_st *ptr, - memcached_stat_st *stat, - const char *key, - memcached_return_t *error); - -char ** - memcached_stat_get_keys (memcached_st *ptr, - memcached_stat_st *stat, - memcached_return_t *error); - -memcached_return_t - memcached_stat_execute (memcached_st *memc, - const char *args, - memcached_stat_fn func, - void *context); -.ft P -.fi +.INDENT 0.0 +.TP +.B memcached_stat_st *memcached_stat (memcached_st *ptr, char *args, memcached_return_t *error); +.UNINDENT +.INDENT 0.0 +.TP +.B memcached_return_t memcached_stat_servername (memcached_stat_st *stat, char *args, const char *hostname, unsigned int port); +.UNINDENT +.INDENT 0.0 +.TP +.B char * memcached_stat_get_value (memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error); +.UNINDENT +.INDENT 0.0 +.TP +.B char ** memcached_stat_get_keys (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error); +.UNINDENT +.INDENT 0.0 +.TP +.B memcached_return_t memcached_stat_execute (memcached_st *memc, const char *args, memcached_stat_fn func, void *context); +.UNINDENT +.sp +Compile and link with \-lmemcached .SH DESCRIPTION .sp libmemcached(3) has the ability to query a memcached server (or collection of servers) for their current state. Queries to find state return a -\fBmemcached_stat_st\fP structure. You are responsible for freeing this structure. -While it is possible to access the structure directly it is not advisable. - .SH SEE ALSO .sp -memcached(1) libmemcached(3) memcached_strerror(3) +\fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP .SH AUTHOR Brian Aker .SH COPYRIGHT -2011, Brian Aker +2011, Brian Aker DataDifferential, http://datadifferential.com/ .\" Generated by docutils manpage writer. .\" .