summaryrefslogtreecommitdiff
path: root/src/rmd_parseargs.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-08 16:15:52 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-08 19:50:50 -0800
commitf2f4c34760de661f1dfe33c06760053692fece90 (patch)
tree97a56e0bf2b5a73825422a5f057ed44e7d189865 /src/rmd_parseargs.h
parent937f09dd3532a2033e9bf159bed842bfd1f3ad2a (diff)
cache: introduce rudimentary CacheFile API
Throughout the existing cache-related code there's constant checking if compression is active or not. This commit introduces a CacheFile ADT with the intention of replacing all the open coded stuff with simple calls into rmdCacheFile* functions operating on CacheFile instances. The management of split up cache files has also been implemented behind this API, so the reads and writes will transparently handle the split files. These have been named "chapters" in new code. No callers have been changed, this only adds the new facility. A subsequent commit will migrate things over.
Diffstat (limited to 'src/rmd_parseargs.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved