from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

90965

userrating:

average rating: 1.7 (82 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

206842

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

88406

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





ARCHIVE_READ_OPTIONS

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

archive_read_set_filter_option archive_read_set_format_option archive_read_set_option archive_read_set_options - functions controlling options for reading archives  

LIBRARY

Streaming Archive Library (libarchive, -larchive)  

SYNOPSIS

Ft int Fo archive_read_set_filter_option Fa struct archive * Fa const char *module Fa const char *option Fa const char *value Fc Ft int Fo archive_read_set_format_option Fa struct archive * Fa const char *module Fa const char *option Fa const char *value Fc Ft int Fo archive_read_set_option Fa struct archive * Fa const char *module Fa const char *option Fa const char *value Fc Ft int Fo archive_read_set_options Fa struct archive * Fa const char *options Fc  

DESCRIPTION

These functions provide a way for libarchive clients to configure specific read modules.

Fn archive_read_set_filter_option , Fn archive_read_set_format_option
Specifies an option that will be passed to currently-registered filters (including decompression filters) or format readers.

If option and value are both NULL these functions will do nothing and ARCHIVE_OK will be returned. If option is NULL but value is not, these functions will do nothing and ARCHIVE_FAILED will be returned.

If module is not NULL option and value will be provided to the filter or reader named module The return value will be that of the module. If there is no such module, ARCHIVE_FAILED will be returned.

If module is NULL option and value will be provided to every registered module. If any module returns ARCHIVE_FATAL this value will be returned immediately. Otherwise, ARCHIVE_OK will be returned if any module accepts the option, and ARCHIVE_FAILED in all other cases.

Fn archive_read_set_option
Calls Fn archive_read_set_format_option , then Fn archive_read_set_filter_option . If either function returns ARCHIVE_FATAL ARCHIVE_FATAL will be returned immediately. Otherwise, greater of the two values will be returned.
Fn archive_read_set_options
options
is a comma-separated list of options. If options is NULL or empty, ARCHIVE_OK will be returned immediately.

Calls Fn archive_read_set_option with each option in turn. If any Fn archive_read_set_option call returns ARCHIVE_FATAL ARCHIVE_FATAL will be returned immediately.

Individual options have one of the following forms:

option=value
The option/value pair will be provided to every module. Modules that do not accept an option with this name will ignore it.
option
The option will be provided to every module with a value of ``1''
!option
The option will be provided to every module with a NULL value.
module:option=value , module:option , module:!option
As above, but the corresponding option and value will be provided only to modules whose name matches module

 

OPTIONS

Format iso9660

joliet
Support Joliet extensions. Defaults to enabled, use !joliet to disable.
rockridge
Support RockRidge extensions. Defaults to enabled, use !rockridge to disable.

 

ERRORS

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

SEE ALSO

tar(1), libarchive(3), archive_write_set_options3, archive_read3


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
OPTIONS
ERRORS
SEE ALSO


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2013 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 3.1 ms