|
Packit Service |
1d0348 |
ARCHIVE_READ_FILTER(3) manual page
|
|
Packit Service |
1d0348 |
== NAME ==
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_all''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_bzip2''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_compress''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_gzip''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lz4''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lzma''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_none''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_rpm''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_uu''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_xz''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_zstd''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_program''',
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_program_signature'''
|
|
Packit Service |
1d0348 |
- functions for reading streaming archives
|
|
Packit Service |
1d0348 |
== LIBRARY ==
|
|
Packit Service |
1d0348 |
Streaming Archive Library (libarchive, -larchive)
|
|
Packit Service |
1d0348 |
== SYNOPSIS ==
|
|
Packit Service |
1d0348 |
'''<nowiki>#include <archive.h></nowiki>'''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_all'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_bzip2'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_compress'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_grzip'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_gzip'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lrzip'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lz4'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lzma'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lzop'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_none'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_rpm'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_uu'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_xz'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_zstd'''(''struct archive *'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_program'''(''struct archive *'', ''const char *cmd'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_program_signature'''(''struct archive *'', ''const char *cmd'', ''const void *signature'', ''size_t signature_length'');
|
|
Packit Service |
1d0348 |
== DESCRIPTION ==
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_bzip2'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_compress'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_grzip'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_gzip'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lrzip'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lz4'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lzma'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_lzop'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_none'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_rpm'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_uu'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_xz'''(),
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_zstd'''(),
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
Enables auto-detection code and decompression support for the
|
|
Packit Service |
1d0348 |
specified compression.
|
|
Packit Service |
1d0348 |
These functions may fall back on external programs if an appropriate
|
|
Packit Service |
1d0348 |
library was not available at build time.
|
|
Packit Service |
1d0348 |
Decompression using an external program is usually slower than
|
|
Packit Service |
1d0348 |
decompression through built-in libraries.
|
|
Packit Service |
1d0348 |
Note that
|
|
Packit Service |
1d0348 |
"none"
|
|
Packit Service |
1d0348 |
is always enabled by default.
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_all'''()
|
|
Packit Service |
1d0348 |
Enables all available decompression filters.
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_program'''()
|
|
Packit Service |
1d0348 |
Data is fed through the specified external program before being dearchived.
|
|
Packit Service |
1d0348 |
Note that this disables automatic detection of the compression format,
|
|
Packit Service |
1d0348 |
so it makes no sense to specify this in conjunction with any other
|
|
Packit Service |
1d0348 |
decompression option.
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_program_signature'''()
|
|
Packit Service |
1d0348 |
This feeds data through the specified external program
|
|
Packit Service |
1d0348 |
but only if the initial bytes of the data match the specified
|
|
Packit Service |
1d0348 |
signature value.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
== RETURN VALUES ==
|
|
Packit Service |
1d0348 |
These functions return
|
|
Packit Service |
1d0348 |
'''ARCHIVE_OK'''
|
|
Packit Service |
1d0348 |
if the compression is fully supported,
|
|
Packit Service |
1d0348 |
'''ARCHIVE_WARN'''
|
|
Packit Service |
1d0348 |
if the compression is supported only through an external program.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_read_support_filter_none'''()
|
|
Packit Service |
1d0348 |
always succeeds.
|
|
Packit Service |
1d0348 |
== ERRORS ==
|
|
Packit Service |
1d0348 |
Detailed error codes and textual descriptions are available from the
|
|
Packit Service |
1d0348 |
'''archive_errno'''()
|
|
Packit Service |
1d0348 |
and
|
|
Packit Service |
1d0348 |
'''archive_error_string'''()
|
|
Packit Service |
1d0348 |
functions.
|
|
Packit Service |
1d0348 |
== SEE ALSO ==
|
|
Packit Service |
1d0348 |
[[ManPageibarchive3]],
|
|
Packit Service |
1d0348 |
[[ManPagerchiveead3]],
|
|
Packit Service |
1d0348 |
[[ManPagerchiveeadata3]],
|
|
Packit Service |
1d0348 |
[[ManPagerchiveeadormat3]],
|
|
Packit Service |
1d0348 |
[[ManPagerchiveeadormat3]]
|