aboutsummaryrefslogtreecommitdiff
path: root/include/sqfs/compressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqfs/compressor.h')
-rw-r--r--include/sqfs/compressor.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/sqfs/compressor.h b/include/sqfs/compressor.h
index 5e0be5d..c0fafda 100644
--- a/include/sqfs/compressor.h
+++ b/include/sqfs/compressor.h
@@ -32,16 +32,13 @@
/**
* @interface sqfs_compressor_t
*
+ * @extends sqfs_object_t
+ *
* @brief Encapsultes a compressor with a simple interface to compress or
* extract chunks of data.
*/
struct sqfs_compressor_t {
- /**
- * @brief Destroy a compressor and free all memory used by it.
- *
- * @param cmp A pointer to a compressor object.
- */
- void (*destroy)(sqfs_compressor_t *cmp);
+ sqfs_object_t base;
/**
* @brief Write compressor options to disk if non-default settings