diff options
author | midipix <writeonce@midipix.org> | 2020-02-25 22:49:56 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-23 05:59:02 +0000 |
commit | 76f8c51055cb1b69d087b113453764227160bc05 (patch) | |
tree | 8aa11368b3d06d53642a9ca9fc90fcef64f81d0a /src/internal | |
parent | 8fb8f962f58680a040390d42ab412e27f5e93a3d (diff) | |
download | tpax-76f8c51055cb1b69d087b113453764227160bc05.tar.bz2 tpax-76f8c51055cb1b69d087b113453764227160bc05.tar.xz |
driver: write & copy modes: pre-allocate a robust-file-copy memory region.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/tpax_driver_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h index c99553a..56c40b2 100644 --- a/src/internal/tpax_driver_impl.h +++ b/src/internal/tpax_driver_impl.h @@ -50,6 +50,8 @@ struct tpax_driver_ctx_impl { struct tpax_error_info ** erricap; struct tpax_error_info * erriptr[64]; struct tpax_error_info erribuf[64]; + void * bufaddr; + size_t bufsize; }; struct tpax_unit_ctx_impl { |