diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-25 13:21:07 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-25 13:32:42 +0200 |
commit | e0e98b7b747f63c1b8fccd035592e3684fdb2691 (patch) | |
tree | 31e75a68d40f6947cf09e06928df8f4f013d5a89 /lib/sqfs/data_writer/internal.h | |
parent | f64986ac1d95ffb2604cfef0efa8e7d2e0b7f8ce (diff) |
Add the ability to hook into the data writer block writing
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/data_writer/internal.h')
-rw-r--r-- | lib/sqfs/data_writer/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqfs/data_writer/internal.h b/lib/sqfs/data_writer/internal.h index 69de9ac..53ddc5f 100644 --- a/lib/sqfs/data_writer/internal.h +++ b/lib/sqfs/data_writer/internal.h @@ -98,6 +98,9 @@ struct sqfs_data_writer_t { size_t frag_list_num; size_t frag_list_max; + const sqfs_block_hooks_t *hooks; + void *user_ptr; + /* used only by workers */ size_t max_block_size; |