summaryrefslogtreecommitdiff
path: root/lib/comp/internal.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-06 12:02:47 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-06 12:57:05 +0200
commit1cdea92b11ae260a8223f08e1e71e7487906f2f2 (patch)
tree4cb3fa8d16b79a2fa14b293e85030dc9e691ffef /lib/comp/internal.h
parentd5068781ec2528f88aaa92fbc9a5b9c256d53499 (diff)
Add lz4 compressor implementation
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/comp/internal.h')
-rw-r--r--lib/comp/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/comp/internal.h b/lib/comp/internal.h
index 3b24af0..863f82b 100644
--- a/lib/comp/internal.h
+++ b/lib/comp/internal.h
@@ -4,10 +4,16 @@
#include "compress.h"
+int generic_write_options(int fd, const void *data, size_t size);
+
+int generic_read_options(int fd, void *data, size_t size);
+
compressor_t *create_xz_compressor(bool compress, size_t block_size);
compressor_t *create_gzip_compressor(bool compress, size_t block_size);
compressor_t *create_lzo_compressor(bool compress, size_t block_size);
+compressor_t *create_lz4_compressor(bool compress, size_t block_size);
+
#endif /* INTERNAL_H */