diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-05 22:55:09 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-05 22:55:09 +0100 |
commit | dfab234dfae735103d2e5206b0f335c8449ee3d5 (patch) | |
tree | 1b5d79f6a5f5a01896562233ee40973085755c21 /include/sqfs | |
parent | 85e36aab1258d8d9ec7b61ce013f167ef8e03ae0 (diff) |
Get rid of sqfs_compressor_exists
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs')
-rw-r--r-- | include/sqfs/compressor.h | 18 |
1 files changed, 0 insertions, 18 deletions
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 @@ -339,16 +339,6 @@ SQFS_API int sqfs_compressor_config_init(sqfs_compressor_config_t *cfg, 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. * * If this function returns @ref SQFS_ERROR_UNSUPPORTED, it can mean that @@ -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 |