From 52c9b6954bad7b3693bf23eeb8a4eb9293c190db Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 10 Feb 2020 21:53:11 +0100 Subject: Cleanup: remove block hooks entirely from block processor Signed-off-by: David Oberhollenzer --- include/sqfs/block_processor.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include/sqfs') diff --git a/include/sqfs/block_processor.h b/include/sqfs/block_processor.h index fb62678..41cb3d3 100644 --- a/include/sqfs/block_processor.h +++ b/include/sqfs/block_processor.h @@ -218,22 +218,6 @@ SQFS_API int sqfs_block_processor_end_file(sqfs_block_processor_t *proc); */ SQFS_API int sqfs_block_processor_finish(sqfs_block_processor_t *proc); -/** - * @brief Register a set of hooks to be invoked when writing blocks to disk. - * - * @memberof sqfs_block_processor_t - * - * @param proc A pointer to a data writer object. - * @param user_ptr A user pointer to pass to the callbacks. - * @param hooks A structure containing the hooks. - * - * @return Zero on success, @ref SQFS_ERROR_UNSUPPORTED if the size field of - * the hooks doesn't match any size knwon to the library. - */ -SQFS_API -int sqfs_block_processor_set_hooks(sqfs_block_processor_t *proc, void *user_ptr, - const sqfs_block_hooks_t *hooks); - /** * @brief Get accumulated runtime statistics from a block processor * -- cgit v1.2.3