aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/block_processor/internal.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-06-05 17:51:38 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-06-07 02:44:10 +0200
commit9c61e28d9b9faf6bd8b4e9b8d28ed79b441fbeb6 (patch)
treefe04b883ca1343e8d088ffa802b488d435bf086e /lib/sqfs/block_processor/internal.h
parent09727f7523761cf57d8b90042af78088f0d4ef7f (diff)
block processor: add an internal common cleanup function
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_processor/internal.h')
-rw-r--r--lib/sqfs/block_processor/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqfs/block_processor/internal.h b/lib/sqfs/block_processor/internal.h
index 496d415..d50a452 100644
--- a/lib/sqfs/block_processor/internal.h
+++ b/lib/sqfs/block_processor/internal.h
@@ -91,6 +91,8 @@ struct sqfs_block_processor_t {
int (*sync)(sqfs_block_processor_t *proc);
};
+SQFS_INTERNAL void block_processor_cleanup(sqfs_block_processor_t *base);
+
SQFS_INTERNAL int block_processor_init(sqfs_block_processor_t *base,
size_t max_block_size,
sqfs_compressor_t *cmp,