diff options
author | Toru Maesaka <dev@torum.net> | 2008-09-09 19:16:36 +0900 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-01-03 00:09:10 -0800 |
commit | a20d4b8b5809f3f20ca806a7d3ad9111c408ffd3 (patch) | |
tree | a07088ad90ae14f0e584f7ea4a5eb7c2ec108d15 /slabs.h | |
parent | df8cf5e79376c28327cb94c63839f9988a7f9f39 (diff) | |
download | memcached-a20d4b8b5809f3f20ca806a7d3ad9111c408ffd3.tar.gz |
Support of slabber stats via the binary protocol.
Diffstat (limited to 'slabs.h')
-rw-r--r-- | slabs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -29,7 +29,9 @@ char *get_stats(const bool bin_prot, const char *stat_type, int *buflen); /** Fill buffer with stats */ /*@null@*/ -char* do_slabs_stats(int *buflen); +char *do_slabs_stats(int *buflen, uint32_t (*add_stats)(char *buf, + const char *key, const char *val, const uint16_t klen, + const uint32_t vlen), bool bin_prot); /* Request some slab be moved between classes 1 = success |