summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-08-29 23:15:23 -0700
committerdormando <dormando@rydia.net>2020-10-30 15:50:12 -0700
commit416a7a10014299fd08bf4b35e4ffa0870cd330b0 (patch)
tree6c767d9538b00bae8a393e609a73790e015d6610 /items.h
parentdf49d38930a32d342e1a3ab980c1ec432d138c2c (diff)
downloadmemcached-416a7a10014299fd08bf4b35e4ffa0870cd330b0.tar.gz
core: move more storage functions to storage.c
extstore.h is now only used from storage.c. starting a path towards getting the storage interface to be more generalized. should be no functional changes.
Diffstat (limited to 'items.h')
-rw-r--r--items.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/items.h b/items.h
index 8758197..cb25cfa 100644
--- a/items.h
+++ b/items.h
@@ -84,16 +84,3 @@ void lru_maintainer_pause(void);
void lru_maintainer_resume(void);
void *lru_bump_buf_create(void);
-
-#ifdef EXTSTORE
-#define STORAGE_delete(e, it) \
- do { \
- if (it->it_flags & ITEM_HDR) { \
- item_hdr *hdr = (item_hdr *)ITEM_data(it); \
- extstore_delete(e, hdr->page_id, hdr->page_version, \
- 1, ITEM_ntotal(it)); \
- } \
- } while (0)
-#else
-#define STORAGE_delete(...)
-#endif