Archive-Libarchive

 view release on metacpan or  search on metacpan

lib/Archive/Libarchive/Lib/Match.pm  view on Meta::CPAN

package Archive::Libarchive::Lib::Match;

use strict;
use warnings;
use 5.020;

# ABSTRACT: Private class for Arcive::Libarchive
our $VERSION = '0.09'; # VERSION

# NOTE: This document is autogenerated from the template
# maint/tt/Code.pm.tt
# Please see maint/README.md for details on updating.


package
  Archive::Libarchive::Match;

use Archive::Libarchive::Lib;

my $ffi = Archive::Libarchive::Lib->ffi;

$ffi->attach( exclude_entry => ['archive_match', 'int', 'archive_entry'] => 'int' );
$ffi->attach( exclude_pattern => ['archive_match', 'string'] => 'int' );
$ffi->attach( exclude_pattern_from_file => ['archive_match', 'string', 'int'] => 'int' );
$ffi->attach( exclude_pattern_from_file_w => ['archive_match', 'wstring', 'int'] => 'int' );
$ffi->attach( exclude_pattern_w => ['archive_match', 'wstring'] => 'int' );
$ffi->attach( excluded => ['archive_match', 'archive_entry'] => 'int' );
$ffi->attach( include_date => ['archive_match', 'int', 'string'] => 'int' );
$ffi->attach( include_date_w => ['archive_match', 'int', 'wstring'] => 'int' );
$ffi->attach( include_file_time => ['archive_match', 'int', 'string'] => 'int' );
$ffi->attach( include_file_time_w => ['archive_match', 'int', 'wstring'] => 'int' );
$ffi->attach( include_gid => ['archive_match', 'sint64'] => 'int' );
$ffi->attach( include_gname => ['archive_match', 'string'] => 'int' );
$ffi->attach( include_gname_w => ['archive_match', 'wstring'] => 'int' );
$ffi->attach( include_pattern => ['archive_match', 'string'] => 'int' );
$ffi->attach( include_pattern_from_file => ['archive_match', 'string', 'int'] => 'int' );
$ffi->attach( include_pattern_from_file_w => ['archive_match', 'wstring', 'int'] => 'int' );
$ffi->attach( include_pattern_w => ['archive_match', 'wstring'] => 'int' );
$ffi->attach( include_time => ['archive_match', 'int', 'time_t', 'long'] => 'int' );
$ffi->attach( include_uid => ['archive_match', 'sint64'] => 'int' );
$ffi->attach( include_uname => ['archive_match', 'string'] => 'int' );
$ffi->attach( include_uname_w => ['archive_match', 'wstring'] => 'int' );
$ffi->attach( owner_excluded => ['archive_match', 'archive_entry'] => 'int' );
$ffi->attach( path_excluded => ['archive_match', 'archive_entry'] => 'int' );
$ffi->attach( path_unmatched_inclusions => ['archive_match'] => 'int' );
$ffi->attach( path_unmatched_inclusions_next => ['archive_match', 'string*'] => 'int' );
#$ffi->attach( path_unmatched_inclusions_next_w => ['archive_match', undef] => 'int' );
$ffi->attach( time_excluded => ['archive_match', 'archive_entry'] => 'int' );

$ffi->ignore_not_found(1);

$ffi->attach( set_inclusion_recursion => ['archive_match', 'int'] => 'int' );

$ffi->ignore_not_found(0);

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Archive::Libarchive::Lib::Match - Private class for Arcive::Libarchive

=head1 VERSION

version 0.09

=head1 SYNOPSIS

 % perldoc Archive::Libarchive

=head1 DESCRIPTION

This is a private class for L<Archive::Libarchive> see the main documentation for the public interface.

=head1 SEE ALSO

=over 4

=item L<Archive::Libarchive::Peek>

Provides an interface for listing and retrieving entries from an archive without extracting them to the local filesystem.

=item L<Archive::Libarchive::Extract>

Provides an interface for extracting arbitrary archives of any format/filter supported by C<libarchive>.

=item L<Archive::Libarchive::Unwrap>

Decompresses / unwraps files that have been compressed or wrapped in any of the filter formats supported by C<libarchive>

=item L<Archive::Libarchive>

This is the main top-level module for using C<libarchive> from
Perl.  It is the best place to start reading the documentation.
It pulls in the other classes and C<libarchive> constants so
that you only need one C<use> statement to effectively use
C<libarchive>.

=item L<Archive::Libarchive::API>

This contains the full and complete API for all of the L<Archive::Libarchive>
classes.  Because C<libarchive> has hundreds of methods, the main documentation
pages elsewhere only contain enough to be useful, and not to overwhelm.

=item L<Archive::Libarchive::Archive>

The base class of all archive classes.  This includes some common error
reporting functionality among other things.



( run in 2.102 seconds using v1.01-cache-2.11-cpan-5735350b133 )