summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2011-09-27 00:57:06 -0700
committerdormando <dormando@rydia.net>2011-09-27 00:57:06 -0700
commitd87f568a95ed1abe468188476fa5ed9288799223 (patch)
treeae6717e84ccc88d5869bf9c95b225c3f3eb80543 /items.h
parent51c8f31fc709d06c479de88bdc5e14e757faabc5 (diff)
downloadmemcached-d87f568a95ed1abe468188476fa5ed9288799223.tar.gz
Backport binary TOUCH/GAT/GATQ commands
Taken from the 1.6 branch, partly written by Trond. I hope the CAS handling is correct.
Diffstat (limited to 'items.h')
-rw-r--r--items.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/items.h b/items.h
index fee5f79..447aeed 100644
--- a/items.h
+++ b/items.h
@@ -21,5 +21,6 @@ void do_item_flush_expired(void);
item *do_item_get(const char *key, const size_t nkey);
item *do_item_get_nocheck(const char *key, const size_t nkey);
+item *do_item_touch(const char *key, const size_t nkey, uint32_t exptime);
void item_stats_reset(void);
extern pthread_mutex_t cache_lock;