Archive-Libarchive-FFI

 view release on metacpan or  search on metacpan

lib/Archive/Libarchive/FFI/Function.pod  view on Meta::CPAN

return the next entry of the ACL list.  This functions may only be called after L<archive_entry_acl_reset|Archive::Libarchive::FFI::Function#archive_entry_acl_reset>
has indicated the presence of extended ACL entries.

=head2 archive_entry_acl_reset

 my $status = archive_entry_acl_reset($entry, $want_type);

prepare reading the list of ACL entries with
L<archive_entry_acl_next|Archive::Libarchive::FFI::Function#archive_entry_acl_next> or L<archive_entry_acl_next_w|Archive::Libarchive::FFI::Function#archive_entry_acl_next_w>.  The function returns
either 0, if no non-extended ACLs are found.  In this case, the access permissions
should be obtained by L<archive_entry_mode|Archive::Libarchive::FFI::Function#archive_entry_mode> or set using L<chmod|perlfunc#chmod>.
Otherwise, the function returns the same value as L<archive_entry_acl_count|Archive::Libarchive::FFI::Function#archive_entry_acl_count>.

=head2 archive_entry_acl_text

 my $string = archive_entry_acl_text($entry, $flags);

converts the ACL entries for the given type mask into a string.  In addition to the normal type flags,
C<ARCHIVE_ENTRY_ACL_STYLE_EXTRA_ID> and C<ARCHIVE_ENTRY_ACL_STYLE_MARK_DEFAULT> can be specified
to further customize the result.  The returned long string is valid until the next call to 
L<archive_entry_acl_clear|Archive::Libarchive::FFI::Function#archive_entry_acl_clear>, L<archive_entry_acl_add_entry|Archive::Libarchive::FFI::Function#archive_entry_acl_add_entry>, L<archive_entry_acl_text|Archive::Libarchive::FFI::Function#archive_...



( run in 0.561 second using v1.01-cache-2.11-cpan-496ff517765 )