summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index f7e139f..66f6f76 100644
--- a/include/common.h
+++ b/include/common.h
@@ -151,4 +151,11 @@ int mkdir_p(const char *path);
/* A common implementation of the '--version' command line flag. */
void print_version(const char *progname);
+/*
+ Create an liblzo2 based LZO compressor.
+
+ XXX: This must be in libcommon instead of libsquashfs for legal reasons.
+ */
+sqfs_compressor_t *lzo_compressor_create(const sqfs_compressor_config_t *cfg);
+
#endif /* COMMON_H */