summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sqfs/compressor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sqfs/compressor.h b/include/sqfs/compressor.h
index c0fafda..4292712 100644
--- a/include/sqfs/compressor.h
+++ b/include/sqfs/compressor.h
@@ -41,6 +41,15 @@ struct sqfs_compressor_t {
sqfs_object_t base;
/**
+ * @brief Get the current compressor configuration.
+ *
+ * @param cmp A pointer to the compressor object.
+ * @param cfg A pointer to the object to write the configuration to.
+ */
+ void (*get_configuration)(const sqfs_compressor_t *cmp,
+ sqfs_compressor_config_t *cfg);
+
+ /**
* @brief Write compressor options to disk if non-default settings
* have been used.
*