GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ARCHIVE_WRITE_FILTER(3) FreeBSD Library Functions Manual ARCHIVE_WRITE_FILTER(3)

archive_write_add_filter_b64encode, archive_write_add_filter_by_name, archive_write_add_filter_bzip2, archive_write_add_filter_compress, archive_write_add_filter_grzip, archive_write_add_filter_gzip, archive_write_add_filter_lrzip, archive_write_add_filter_lz4, archive_write_add_filter_lzip, archive_write_add_filter_lzma, archive_write_add_filter_lzop, archive_write_add_filter_none, archive_write_add_filter_program, archive_write_add_filter_uuencode, archive_write_add_filter_xz, archive_write_add_filter_zstd
functions enabling output filters

Streaming Archive Library (libarchive, -larchive)

#include <archive.h>

int
archive_write_add_filter_b64encode(struct archive *);

int
archive_write_add_filter_bzip2(struct archive *);

int
archive_write_add_filter_compress(struct archive *);

int
archive_write_add_filter_grzip(struct archive *);

int
archive_write_add_filter_gzip(struct archive *);

int
archive_write_add_filter_lrzip(struct archive *);

int
archive_write_add_filter_lz4(struct archive *);

int
archive_write_add_filter_lzip(struct archive *);

int
archive_write_add_filter_lzma(struct archive *);

int
archive_write_add_filter_lzop(struct archive *);

int
archive_write_add_filter_none(struct archive *);

int
archive_write_add_filter_program(struct archive *, const char * cmd);

int
archive_write_add_filter_uuencode(struct archive *);

int
archive_write_add_filter_xz(struct archive *);

int
archive_write_add_filter_zstd(struct archive *);

archive_write_add_filter_bzip2(), archive_write_add_filter_compress(), archive_write_add_filter_grzip(), archive_write_add_filter_gzip(), archive_write_add_filter_lrzip(), archive_write_add_filter_lz4(), archive_write_add_filter_lzip(), archive_write_add_filter_lzma(), archive_write_add_filter_lzop(), archive_write_add_filter_xz(), archive_write_add_filter_zstd(),
The resulting archive will be compressed as specified. Note that the compressed output is always properly blocked.
archive_write_add_filter_b64encode(), archive_write_add_filter_uuencode(),
The output will be encoded as specified. The encoded output is always properly blocked.
archive_write_add_filter_none()
This is never necessary. It is provided only for backwards compatibility.
archive_write_add_filter_program()
The archive will be fed into the specified compression program. The output of that program is blocked and written to the client write callbacks.

These functions return ARCHIVE_OK on success, or ARCHIVE_FATAL.

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

tar(1), archive_write(3), archive_write_format(3), archive_write_set_options(3), libarchive(3), cpio(5), mtree(5), tar(5)
August 14, 2014 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.