From 6a7e25a01553a02630daac61f06c4bdbbdc4180b Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 18 Jul 2024 05:13:52 +0000 Subject: driver: list, read, and copy modes: attempt mapping the source archive. --- src/internal/tpax_driver_impl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/internal') diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h index a7350d7..bc3ffc2 100644 --- a/src/internal/tpax_driver_impl.h +++ b/src/internal/tpax_driver_impl.h @@ -99,6 +99,7 @@ struct tpax_driver_ctx_impl { struct tpax_fd_ctx fdctx; const struct tpax_unit_ctx * euctx; const char * eunit; + struct stat srcstat; struct argv_keyval ** keyvalv; struct tpax_replstr * replstrv; char * replstrs; @@ -117,6 +118,8 @@ struct tpax_driver_ctx_impl { void * dirbuff; void * bufaddr; size_t bufsize; + void * mapaddr; + size_t mapsize; size_t nqueued; off_t cpos; }; -- cgit v1.2.3