summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authorsergiocarlos <carloschilazo@gmail.com>2015-12-08 18:32:49 -0600
committerdormando <dormando@rydia.net>2016-05-28 23:40:07 -0700
commit6895d23e48c6359402066a74c812b3f14be05100 (patch)
tree4eecbe1d9fd15fac04239464f46d2363a72bb427 /items.h
parent1b13a586624e8e315f23a482691c9bfb3ab36d9b (diff)
downloadmemcached-6895d23e48c6359402066a74c812b3f14be05100.tar.gz
Implement get_expired stats
Diffstat (limited to 'items.h')
-rw-r--r--items.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/items.h b/items.h
index 4e492b4..8add1ef 100644
--- a/items.h
+++ b/items.h
@@ -23,8 +23,8 @@ void item_stats_totals(ADD_STAT add_stats, void *c);
/*@null@*/
void item_stats_sizes(ADD_STAT add_stats, void *c);
-item *do_item_get(const char *key, const size_t nkey, const uint32_t hv);
-item *do_item_touch(const char *key, const size_t nkey, uint32_t exptime, const uint32_t hv);
+item *do_item_get(const char *key, const size_t nkey, const uint32_t hv, conn *c);
+item *do_item_touch(const char *key, const size_t nkey, uint32_t exptime, const uint32_t hv, conn *c);
void item_stats_reset(void);
extern pthread_mutex_t lru_locks[POWER_LARGEST];