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


Manual Reference Pages  -  ARCHIVE_READ_SUPPORT_FILTER_PROGRAM_SIGNATURE (3)

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_lzma, archive_read_support_filter_none, archive_read_support_filter_xz, archive_read_support_filter_program, archive_read_support_filter_program_signature - functions for reading streaming archives

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also

LIBRARY

Streaming Archive Library (libarchive, -larchive)

SYNOPSIS


.In 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_gzip struct archive * int archive_read_support_filter_lzma struct archive * int archive_read_support_filter_none struct archive * int archive_read_support_filter_xz struct archive * int
.Fo archive_read_support_filter_program struct archive * const char *cmd
.Fc int
.Fo archive_read_support_filter_program_signature struct archive * const char *cmd const void *signature size_t signature_length
.Fc

DESCRIPTION

archive_read_support_filter_bzip2, archive_read_support_filter_compress, archive_read_support_filter_gzip, archive_read_support_filter_lzma, archive_read_support_filter_none, 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.

SEE ALSO

libarchive(3), archive_read(3), archive_read_data(3), archive_read_format(3), archive_read_format(3)
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 manServer 1.07.