aboutsummaryrefslogtreecommitdiff
path: root/zenutil/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-09-06 16:42:59 +0200
committerGitHub <[email protected]>2022-09-06 07:42:59 -0700
commitf9ddb13500f41549fa472f6aaffa096d64554145 (patch)
tree24de689afc0cdb6cd7dd99ce85d66b7223630c64 /zenutil/include
parentupdated codeowners (#157) (diff)
downloadzen-f9ddb13500f41549fa472f6aaffa096d64554145.tar.xz
zen-f9ddb13500f41549fa472f6aaffa096d64554145.zip
Implement proper GetCacheValues upstream (#155)
* Implement proper GetCacheValues upstream * changelog
Diffstat (limited to 'zenutil/include')
-rw-r--r--zenutil/include/zenutil/cache/cachekey.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zenutil/include/zenutil/cache/cachekey.h b/zenutil/include/zenutil/cache/cachekey.h
index 9adde8fc7..741375946 100644
--- a/zenutil/include/zenutil/cache/cachekey.h
+++ b/zenutil/include/zenutil/cache/cachekey.h
@@ -47,6 +47,12 @@ struct CacheKeyRequest
CacheRecordPolicy Policy;
};
+struct CacheValueRequest
+{
+ CacheKey Key;
+ CachePolicy Policy = CachePolicy::Default;
+};
+
inline bool
operator<(const CacheChunkRequest& A, const CacheChunkRequest& B)
{