1ARCHIVE_READ_FILTER(3)   BSD Library Functions Manual   ARCHIVE_READ_FILTER(3)
2

NAME

4     archive_read_support_filter_all, archive_read_support_filter_bzip2,
5     archive_read_support_filter_compress, archive_read_support_filter_gzip,
6     archive_read_support_filter_lz4, archive_read_support_filter_lzma,
7     archive_read_support_filter_none, archive_read_support_filter_rpm,
8     archive_read_support_filter_uu, archive_read_support_filter_xz,
9     archive_read_support_filter_zstd, archive_read_support_filter_program,
10     archive_read_support_filter_program_signature — functions for reading
11     streaming archives
12

LIBRARY

14     Streaming Archive Library (libarchive, -larchive)
15

SYNOPSIS

17     #include <archive.h>
18
19     int
20     archive_read_support_filter_all(struct archive *);
21
22     int
23     archive_read_support_filter_bzip2(struct archive *);
24
25     int
26     archive_read_support_filter_compress(struct archive *);
27
28     int
29     archive_read_support_filter_grzip(struct archive *);
30
31     int
32     archive_read_support_filter_gzip(struct archive *);
33
34     int
35     archive_read_support_filter_lrzip(struct archive *);
36
37     int
38     archive_read_support_filter_lz4(struct archive *);
39
40     int
41     archive_read_support_filter_lzma(struct archive *);
42
43     int
44     archive_read_support_filter_lzop(struct archive *);
45
46     int
47     archive_read_support_filter_none(struct archive *);
48
49     int
50     archive_read_support_filter_rpm(struct archive *);
51
52     int
53     archive_read_support_filter_uu(struct archive *);
54
55     int
56     archive_read_support_filter_xz(struct archive *);
57
58     int
59     archive_read_support_filter_zstd(struct archive *);
60
61     int
62     archive_read_support_filter_program(struct archive *, const char *cmd);
63
64     int
65     archive_read_support_filter_program_signature(struct archive *,
66         const char *cmd, const void *signature, size_t signature_length);
67

DESCRIPTION

69     archive_read_support_filter_bzip2(),
70             archive_read_support_filter_compress(),
71             archive_read_support_filter_grzip(),
72             archive_read_support_filter_gzip(),
73             archive_read_support_filter_lrzip(),
74             archive_read_support_filter_lz4(),
75             archive_read_support_filter_lzma(),
76             archive_read_support_filter_lzop(),
77             archive_read_support_filter_none(),
78             archive_read_support_filter_rpm(),
79             archive_read_support_filter_uu(),
80             archive_read_support_filter_xz(),
81             archive_read_support_filter_zstd(),
82             Enables auto-detection code and decompression support for the
83             specified compression.  These functions may fall back on external
84             programs if an appropriate library was not available at build
85             time.  Decompression using an external program is usually slower
86             than decompression through built-in libraries.  Note that “none”
87             is always enabled by default.
88     archive_read_support_filter_all()
89             Enables all available decompression filters.
90     archive_read_support_filter_program()
91             Data is fed through the specified external program before being
92             dearchived.  Note that this disables automatic detection of the
93             compression format, so it makes no sense to specify this in con‐
94             junction with any other decompression option.
95     archive_read_support_filter_program_signature()
96             This feeds data through the specified external program but only
97             if the initial bytes of the data match the specified signature
98             value.
99

RETURN VALUES

101     These functions return ARCHIVE_OK if the compression is fully supported,
102     ARCHIVE_WARN if the compression is supported only through an external
103     program.
104
105     archive_read_support_filter_none() always succeeds.
106

ERRORS

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

SEE ALSO

112     libarchive(3), archive_read(3), archive_read_data(3),
113     archive_read_format(3), archive_read_format(3)
114
115BSD                             August 14, 2014                            BSD
Impressum