aboutsummaryrefslogtreecommitdiff
path: root/zenutil/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-03-14 14:36:18 +0100
committerGitHub <[email protected]>2023-03-14 06:36:18 -0700
commitfea4fa0095668e392aa3333450e93afc1784762b (patch)
treec80ffdf3824ba75ee9b7c312010cdb84c48aae46 /zenutil/include
parentremoved catch2 (#241) (diff)
downloadzen-fea4fa0095668e392aa3333450e93afc1784762b.tar.xz
zen-fea4fa0095668e392aa3333450e93afc1784762b.zip
send payloads as duplicated handles (#240)
* send payloads as duplicated handles if requestor provides process id and allows local file references. * linux/macos fixes * tests * fix access rights when duplicating handle * fix closing of duplicated handles on error * cleanup * changelog
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 4eebd3121..f1999ebfe 100644
--- a/zenutil/include/zenutil/cache/cacherequests.h
+++ b/zenutil/include/zenutil/cache/cacherequests.h
@@ -107,6 +107,8 @@ namespace cacherequests {
struct GetCacheRecordsRequest
{
uint32_t AcceptMagic = 0;
+ uint16_t AcceptOptions = 0;
+ int32_t ProcessPid = 0;
CachePolicy DefaultPolicy = CachePolicy::Default;
std::string Namespace;
std::vector<GetCacheRecordRequest> Requests;
@@ -181,6 +183,8 @@ namespace cacherequests {
struct GetCacheValuesRequest
{
uint32_t AcceptMagic = 0;
+ uint16_t AcceptOptions = 0;
+ int32_t ProcessPid = 0;
CachePolicy DefaultPolicy = CachePolicy::Default;
std::string Namespace;
std::vector<GetCacheValueRequest> Requests;
@@ -222,6 +226,8 @@ namespace cacherequests {
struct GetCacheChunksRequest
{
uint32_t AcceptMagic = 0;
+ uint16_t AcceptOptions = 0;
+ int32_t ProcessPid = 0;
CachePolicy DefaultPolicy = CachePolicy::Default;
std::string Namespace;
std::vector<GetCacheChunkRequest> Requests;