summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-07-18 06:50:45 +0000
committermidipix <writeonce@midipix.org>2024-07-18 06:50:45 +0000
commit57abba86083cd65d73e0df3bc12bd9560c178f21 (patch)
tree6f3b8be7b71e80bcc355bddcf39f65a364a2cace /src/internal
parent6a7e25a01553a02630daac61f06c4bdbbdc4180b (diff)
downloadtpax-57abba86083cd65d73e0df3bc12bd9560c178f21.tar.bz2
tpax-57abba86083cd65d73e0df3bc12bd9560c178f21.tar.xz
driver: allocate source data cache buffer as needed.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/tpax_driver_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h
index bc3ffc2..02e0d84 100644
--- a/src/internal/tpax_driver_impl.h
+++ b/src/internal/tpax_driver_impl.h
@@ -120,6 +120,9 @@ struct tpax_driver_ctx_impl {
size_t bufsize;
void * mapaddr;
size_t mapsize;
+ char * cacheaddr;
+ char * cachemark;
+ char * cachecap;
size_t nqueued;
off_t cpos;
};