diff options
| author | Dan Engelbrecht <[email protected]> | 2022-09-22 00:51:23 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-09-22 10:52:15 +0200 |
| commit | 75d1e777af58922bbba00ebbdc05bdc0fd768b9f (patch) | |
| tree | ecbdc366194193e19caf8387b54dcdeaa8ce0e57 /zenutil/include | |
| parent | Add elapsed seconds per individual request from upstream (#167) (diff) | |
| download | zen-de/auto-batch-upstream.tar.xz zen-de/auto-batch-upstream.zip | |
Diffstat (limited to 'zenutil/include')
| -rw-r--r-- | zenutil/include/zenutil/cache/cacherequests.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/zenutil/include/zenutil/cache/cacherequests.h b/zenutil/include/zenutil/cache/cacherequests.h index ffb0f8d5f..4566eba38 100644 --- a/zenutil/include/zenutil/cache/cacherequests.h +++ b/zenutil/include/zenutil/cache/cacherequests.h @@ -245,21 +245,21 @@ namespace cacherequests { ////////////////////////////////////////////////////////////////////////// - // struct CacheRecordValue - // { - // Oid Id = Oid::Zero; - // IoHash RawHash = IoHash::Zero; - // uint64_t RawSize = 0; - // }; - // - // struct CacheRecord - // { - // CacheKey Key = CacheKey::Empty; - // std::vector<CacheRecordValue> Values; - // - // bool Parse(CbObjectView& Reader); - // bool Format(CbObjectWriter& Writer) const; - // }; + struct CacheRecordValue + { + Oid Id = Oid::Zero; + IoHash RawHash = IoHash::Zero; + uint64_t RawSize = 0; + }; + + struct CacheRecord + { + CacheKey Key = CacheKey::Empty; + std::vector<CacheRecordValue> Values; + + bool Parse(const CbObjectView& Reader); + bool Format(CbObjectWriter& Writer) const; + }; } // namespace cacherequests |