diff options
author | dormando <dormando@rydia.net> | 2011-09-27 00:57:06 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2011-09-27 00:57:06 -0700 |
commit | d87f568a95ed1abe468188476fa5ed9288799223 (patch) | |
tree | ae6717e84ccc88d5869bf9c95b225c3f3eb80543 /items.h | |
parent | 51c8f31fc709d06c479de88bdc5e14e757faabc5 (diff) | |
download | memcached-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |