summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-09-25 16:38:28 -0700
committerdormando <dormando@rydia.net>2017-09-26 00:05:25 -0700
commita3a955fffcf544072bb49ac81b3bf6a48a0b4a22 (patch)
tree47609d9ec0f9ffc7ab034a94727d2643bfae52c0 /items.h
parentd9f2b2ecd3c0335c8391a083fa05bf776ac0715d (diff)
downloadmemcached-a3a955fffcf544072bb49ac81b3bf6a48a0b4a22.tar.gz
allow pulling a tail item directly
plumbing for doing inline reclaim, or similar.
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 54760fa..6e9d38f 100644
--- a/items.h
+++ b/items.h
@@ -12,6 +12,7 @@ uint64_t get_cas_id(void);
/*@null@*/
item *do_item_alloc(char *key, const size_t nkey, const unsigned int flags, const rel_time_t exptime, const int nbytes);
item_chunk *do_item_alloc_chunk(item_chunk *ch, const size_t bytes_remain);
+item *do_item_alloc_pull(const size_t ntotal, const unsigned int id);
void item_free(item *it);
bool item_size_ok(const size_t nkey, const int flags, const int nbytes);