1ARCHIVE_WRITE_FILTER(3) BSD Library Functions Manual ARCHIVE_WRITE_FILTER(3)
2
4 archive_write_add_filter_b64encode, archive_write_add_filter_by_name,
5 archive_write_add_filter_bzip2, archive_write_add_filter_compress,
6 archive_write_add_filter_grzip, archive_write_add_filter_gzip,
7 archive_write_add_filter_lrzip, archive_write_add_filter_lz4,
8 archive_write_add_filter_lzip, archive_write_add_filter_lzma,
9 archive_write_add_filter_lzop, archive_write_add_filter_none,
10 archive_write_add_filter_program, archive_write_add_filter_uuencode,
11 archive_write_add_filter_xz, archive_write_add_filter_zstd — functions
12 enabling output filters
13
15 Streaming Archive Library (libarchive, -larchive)
16
18 #include <archive.h>
19
20 int
21 archive_write_add_filter_b64encode(struct archive *);
22
23 int
24 archive_write_add_filter_bzip2(struct archive *);
25
26 int
27 archive_write_add_filter_compress(struct archive *);
28
29 int
30 archive_write_add_filter_grzip(struct archive *);
31
32 int
33 archive_write_add_filter_gzip(struct archive *);
34
35 int
36 archive_write_add_filter_lrzip(struct archive *);
37
38 int
39 archive_write_add_filter_lz4(struct archive *);
40
41 int
42 archive_write_add_filter_lzip(struct archive *);
43
44 int
45 archive_write_add_filter_lzma(struct archive *);
46
47 int
48 archive_write_add_filter_lzop(struct archive *);
49
50 int
51 archive_write_add_filter_none(struct archive *);
52
53 int
54 archive_write_add_filter_program(struct archive *, const char * cmd);
55
56 int
57 archive_write_add_filter_uuencode(struct archive *);
58
59 int
60 archive_write_add_filter_xz(struct archive *);
61
62 int
63 archive_write_add_filter_zstd(struct archive *);
64
66 archive_write_add_filter_bzip2(), archive_write_add_filter_compress(),
67 archive_write_add_filter_grzip(),
68 archive_write_add_filter_gzip(),
69 archive_write_add_filter_lrzip(), archive_write_add_filter_lz4(),
70 archive_write_add_filter_lzip(), archive_write_add_filter_lzma(),
71 archive_write_add_filter_lzop(), archive_write_add_filter_xz(),
72 archive_write_add_filter_zstd(),
73 The resulting archive will be compressed as specified. Note that
74 the compressed output is always properly blocked.
75
76 archive_write_add_filter_b64encode(),
77 archive_write_add_filter_uuencode(),
78 The output will be encoded as specified. The encoded output is
79 always properly blocked.
80
81 archive_write_add_filter_none()
82 This is never necessary. It is provided only for backwards com‐
83 patibility.
84
85 archive_write_add_filter_program()
86 The archive will be fed into the specified compression program.
87 The output of that program is blocked and written to the client
88 write callbacks.
89
91 These functions return ARCHIVE_OK on success, or ARCHIVE_FATAL.
92
94 Detailed error codes and textual descriptions are available from the
95 archive_errno() and archive_error_string() functions.
96
98 tar(1), archive_write(3), archive_write_format(3),
99 archive_write_set_options(3), libarchive(3), cpio(5), mtree(5), tar(5)
100
101BSD August 14, 2014 BSD