User Tools

Site Tools


solaris:archive_read_filter.3archive

ARCHIVE_READ_FILTER


NAME

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_program, archive_read_support_filter_program_signature - functions for reading streaming archives

LIBRARY

Streaming Archive Library (libarchive, -larchive)

SYNOPSIS

#include <archive.h>
int

archive_read_support_filter_all
(struct archive *);
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_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);

DESCRIPTION

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() Enables auto-detection code and decompression support for the specified compression. These functions may fall back on external programs if an appropriate library was not available at build time. Decompression using an external program is usually slower than decompression through built-in libraries. Note that ’’none’’ is always enabled by default.

archive_read_support_filter_all()

Enables all available decompression filters.

archive_read_support_filter_program()

Data is fed through the specified external program before being dearchived. Note that this disables automatic detection of the compression format, so it makes no sense to specify this in conjunction with any other decompression option.

archive_read_support_filter_program_signature()

This feeds data through the specified external program but only if the initial bytes of the data match the specified signature value.

RETURN VALUES

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.

ERRORS

Detailed error codes and textual descriptions are available from the archive_errno() and archive_error_string() functions.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

NOTES

This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from http://www.libarchive.org/downloads/libarchive-3.3.1.tar.gz

Further information about this software can be found on the open source community website at http://www.libarchive.org/.


solaris/archive_read_filter.3archive.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in