diff options
author | midipix <writeonce@midipix.org> | 2024-07-18 05:13:52 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-07-18 05:45:24 +0000 |
commit | 6a7e25a01553a02630daac61f06c4bdbbdc4180b (patch) | |
tree | 8a1029209bfc6f192a1807404187cece59d5198a /src/internal | |
parent | 88391942aae898d9d7b58bb130dccef44d57634c (diff) | |
download | tpax-6a7e25a01553a02630daac61f06c4bdbbdc4180b.tar.bz2 tpax-6a7e25a01553a02630daac61f06c4bdbbdc4180b.tar.xz |
driver: list, read, and copy modes: attempt mapping the source archive.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/tpax_driver_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; }; |