ARCHIVE_READ_FILTER(3) | Library Functions Manual | ARCHIVE_READ_FILTER(3) |
archive_read_support_filter_all
,
archive_read_support_filter_bzip2
,
archive_read_support_filter_compress
,
archive_read_support_filter_gzip
,
archive_read_support_filter_lz4
,
archive_read_support_filter_lzma
,
archive_read_support_filter_none
,
archive_read_support_filter_rpm
,
archive_read_support_filter_uu
,
archive_read_support_filter_xz
,
archive_read_support_filter_zstd
,
archive_read_support_filter_program
,
archive_read_support_filter_program_signature
— functions for reading streaming
archives
Streaming Archive Library (libarchive, -larchive)
#include
<archive.h>
int
archive_read_support_filter_all
(struct
archive *);
int
archive_read_support_filter_by_code
(struct
archive *,
int);
int
archive_read_support_filter_bzip2
(struct
archive *);
int
archive_read_support_filter_compress
(struct
archive *);
int
archive_read_support_filter_grzip
(struct
archive *);
int
archive_read_support_filter_gzip
(struct
archive *);
int
archive_read_support_filter_lrzip
(struct
archive *);
int
archive_read_support_filter_lz4
(struct
archive *);
int
archive_read_support_filter_lzma
(struct
archive *);
int
archive_read_support_filter_lzop
(struct
archive *);
int
archive_read_support_filter_none
(struct
archive *);
int
archive_read_support_filter_rpm
(struct
archive *);
int
archive_read_support_filter_uu
(struct
archive *);
int
archive_read_support_filter_xz
(struct
archive *);
int
archive_read_support_filter_zstd
(struct
archive *);
int
archive_read_support_filter_program
(struct
archive *, const char *cmd);
int
archive_read_support_filter_program_signature
(struct
archive *, const char *cmd,
const void *signature, size_t
signature_length);
archive_read_support_filter_bzip2
(),
archive_read_support_filter_compress
(),
archive_read_support_filter_grzip
(),
archive_read_support_filter_gzip
(),
archive_read_support_filter_lrzip
(),
archive_read_support_filter_lz4
(),
archive_read_support_filter_lzma
(),
archive_read_support_filter_lzop
(),
archive_read_support_filter_none
(),
archive_read_support_filter_rpm
(),
archive_read_support_filter_uu
(),
archive_read_support_filter_xz
(),
archive_read_support_filter_zstd
(),archive_read_support_filter_all
()archive_read_support_filter_by_code
()ARCHIVE_FILTER_PROGRAM
. Note: In
statically-linked executables, this will cause your program to include
support for every filter. If executable size is a concern, you may wish to
avoid using this function.archive_read_support_filter_program
()archive_read_support_filter_program_signature
()These functions return ARCHIVE_OK
if the
compression is fully supported, ARCHIVE_WARN
if the
compression is supported only through an external program.
archive_read_support_filter_none
() always
succeeds.
Detailed error codes and textual descriptions are available from
the archive_errno
() and
archive_error_string
() functions.
archive_read(3), archive_read_data(3), archive_read_format(3), archive_read_format(3), libarchive(3)
June 9, 2020 | macOS 14.6 |