From 0b2fcba5a82a6d8041d597c22f7b8a095fd4de4e Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 30 Jun 2022 02:16:51 -0700 Subject: Use cacherequest::* for zenserver tests (#135) * use cacherequests in zcache.rpc * use cacherequests for zcache.rpc.allpolicies --- zenutil/include/zenutil/cache/cacherequests.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zenutil/include') diff --git a/zenutil/include/zenutil/cache/cacherequests.h b/zenutil/include/zenutil/cache/cacherequests.h index fff16d2d5..facfa9f9a 100644 --- a/zenutil/include/zenutil/cache/cacherequests.h +++ b/zenutil/include/zenutil/cache/cacherequests.h @@ -93,6 +93,10 @@ namespace cacherequests { ////////////////////////////////////////////////////////////////////////// // Get 1..n structured cache records with optional attachments + // We can get requests for a cache record where we want care about a particular + // value id which we now of, but we don't know the ids of the other values and + // we still want them. + // Not sure if in that case we want different policies for the different attachemnts? struct GetCacheRecordRequest { @@ -198,6 +202,8 @@ namespace cacherequests { bool Format(CbPackage& OutPackage) const; }; + typedef CacheValuesResult GetCacheValuesResult; + ////////////////////////////////////////////////////////////////////////// // Get 1..n cache record values (attachments) for 1..n records -- cgit v1.2.3