diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-31 16:22:31 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-31 16:22:31 +0200 |
commit | 9b3d958fb7c37855a63ed75707281c61dc1d44c4 (patch) | |
tree | 053c117a09a7eb83b2d17dc582668979cf344102 /lib/sqfs/comp/internal.h | |
parent | f7801346c0913032e99105088b962a986edb24f4 (diff) |
Merge libcompress.a into libsquashfs.a
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp/internal.h')
-rw-r--r-- | lib/sqfs/comp/internal.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/sqfs/comp/internal.h b/lib/sqfs/comp/internal.h new file mode 100644 index 0000000..986266d --- /dev/null +++ b/lib/sqfs/comp/internal.h @@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * internal.h + * + * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at> + */ +#ifndef INTERNAL_H +#define INTERNAL_H + +#include "config.h" + +#include "compress.h" +#include "util.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, + char *options); + +compressor_t *create_gzip_compressor(bool compress, size_t block_size, + char *options); + +compressor_t *create_lzo_compressor(bool compress, size_t block_size, + char *options); + +compressor_t *create_lz4_compressor(bool compress, size_t block_size, + char *options); + +compressor_t *create_zstd_compressor(bool compress, size_t block_size, + char *options); + +void compressor_xz_print_help(void); + +void compressor_gzip_print_help(void); + +void compressor_lzo_print_help(void); + +void compressor_lz4_print_help(void); + +void compressor_zstd_print_help(void); + +#endif /* INTERNAL_H */ |