aboutsummaryrefslogtreecommitdiff
path: root/zenutil/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-06-30 02:16:51 -0700
committerGitHub <[email protected]>2022-06-30 02:16:51 -0700
commit0b2fcba5a82a6d8041d597c22f7b8a095fd4de4e (patch)
tree105622a078d60fd6e1dcf7c400fe385561cb0460 /zenutil/include
parentAdd ability to control where in the result array results go in GetCacheRecord... (diff)
downloadzen-0b2fcba5a82a6d8041d597c22f7b8a095fd4de4e.tar.xz
zen-0b2fcba5a82a6d8041d597c22f7b8a095fd4de4e.zip
Use cacherequest::* for zenserver tests (#135)
* use cacherequests in zcache.rpc * use cacherequests for zcache.rpc.allpolicies
Diffstat (limited to 'zenutil/include')
-rw-r--r--zenutil/include/zenutil/cache/cacherequests.h6
1 files changed, 6 insertions, 0 deletions
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