From dfab234dfae735103d2e5206b0f335c8449ee3d5 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 5 Mar 2020 22:55:09 +0100 Subject: Get rid of sqfs_compressor_exists Signed-off-by: David Oberhollenzer --- include/sqfs/compressor.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'include') diff --git a/include/sqfs/compressor.h b/include/sqfs/compressor.h index 1a36c82..4190c67 100644 --- a/include/sqfs/compressor.h +++ b/include/sqfs/compressor.h @@ -338,16 +338,6 @@ SQFS_API int sqfs_compressor_config_init(sqfs_compressor_config_t *cfg, SQFS_COMPRESSOR id, size_t block_size, sqfs_u16 flags); -/** - * @brief Check if a specified compressor implementation is available. - * - * @param id An @ref SQFS_COMPRESSOR identifier. - * - * @return true if the implementation is available and can be instantiated - * through @ref sqfs_compressor_create. - */ -SQFS_API bool sqfs_compressor_exists(SQFS_COMPRESSOR id); - /** * @brief Create an instance of a compressor implementation. * @@ -368,10 +358,6 @@ SQFS_API int sqfs_compressor_create(const sqfs_compressor_config_t *cfg, /** * @brief Get the name of a compressor backend from its ID. * - * This function will even resolve compressor names that are not built in, so - * use @ref sqfs_compressor_exists to check if a compressor is actually - * available. - * * @param id An @ref SQFS_COMPRESSOR identifier. * * @return A string holding the name of the compressor, NULL if the compressor @@ -382,10 +368,6 @@ SQFS_API const char *sqfs_compressor_name_from_id(SQFS_COMPRESSOR id); /** * @brief Get the compressor ID using just the name of the backend. * - * This function will even resolve compressor names that are not built in, so - * use @ref sqfs_compressor_exists to check if a compressor is actually - * available. - * * @param name The name of the compressor backend. * * @return A positive, @ref SQFS_COMPRESSOR identifier on success -- cgit v1.2.3