diff options
author | Toru Maesaka <dev@torum.net> | 2008-10-19 21:33:25 +0900 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-01-03 00:09:12 -0800 |
commit | 3bdfd4637c6347d617a1e4f14d161a431edfe929 (patch) | |
tree | 9b215f3f9e55428d489049ec206b497ce48f99f5 /items.h | |
parent | b2b4942917cb1d8a62016f3478eb4f8e605194a4 (diff) | |
download | memcached-3bdfd4637c6347d617a1e4f14d161a431edfe929.tar.gz |
Fix for stats opaque issue pointed out at the hackathon and removed some wasteful function calls (more to come).
Diffstat (limited to 'items.h')
-rw-r--r-- | items.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,11 +15,11 @@ int do_item_replace(item *it, item *new_it); char *do_item_cachedump(const unsigned int slabs_clsid, const unsigned int limit, unsigned int *bytes); char *do_item_stats(uint32_t (*add_stats)(char *buf, const char *key, const uint16_t klen, const char *val, - const uint32_t vlen), int *bytes); + const uint32_t vlen, void *cookie), void *c, int *bytes); /*@null@*/ -char *do_item_stats_sizes(uint32_t (*add_stats)(char *buf, const char *key, - const uint16_t klen, const char *val, - const uint32_t vlen), int *bytes); +char *do_item_stats_sizes(uint32_t (*add_stats)(char *buf, + const char *key, const uint16_t klen, const char *val, + const uint32_t vlen, void *cookie), void *c, int *bytes); void do_item_flush_expired(void); |