diff options
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 |