summaryrefslogtreecommitdiff
path: root/lib/comp/compressor.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-06 11:00:49 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-06 11:00:49 +0200
commitcbcf86dde27767682483985e42f7ca49e1d3a208 (patch)
tree6abb8eabcda6e6aa64184aa24fb8c501f7c841b9 /lib/comp/compressor.c
parenta5f604469d5cde8cb654e209f1ec30bf8e44b51e (diff)
Add LZO compressor implementation
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/comp/compressor.c')
-rw-r--r--lib/comp/compressor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/comp/compressor.c b/lib/comp/compressor.c
index 1ede111..42ebd8b 100644
--- a/lib/comp/compressor.c
+++ b/lib/comp/compressor.c
@@ -12,6 +12,9 @@ static compressor_fun_t compressors[SQFS_COMP_MAX + 1] = {
#ifdef WITH_XZ
[SQFS_COMP_XZ] = create_xz_compressor,
#endif
+#ifdef WITH_LZO
+ [SQFS_COMP_LZO] = create_lzo_compressor,
+#endif
};
bool compressor_exists(E_SQFS_COMPRESSOR id)