Archive-Raw

 view release on metacpan or  search on metacpan

xs/Entry.xs  view on Meta::CPAN

			archive_entry_set_pathname (self->e, SvPV_nolen (ST (1)));

		RETVAL = archive_entry_pathname (self->e);

	OUTPUT: RETVAL

void
is_data_encrypted (self)
	Entry self

	PPCODE:
#if ARCHIVE_VERSION_NUMBER >= 3002000
		if (archive_entry_is_data_encrypted (self->e))
			XSRETURN_YES;
#else
		croak ("this feature requires libarchive 3.2+");
#endif

		XSRETURN_NO;

void
is_metadata_encrypted (self)
	Entry self

	PPCODE:
#if ARCHIVE_VERSION_NUMBER >= 3002000
		if (archive_entry_is_metadata_encrypted (self->e))
			XSRETURN_YES;
#else
		croak ("this feature requires libarchive 3.2+");
#endif

		XSRETURN_NO;

void
is_encrypted (self)
	Entry self

	PPCODE:
#if ARCHIVE_VERSION_NUMBER >= 3002000
		if (archive_entry_is_encrypted (self->e))
			XSRETURN_YES;
#else
			croak ("this feature requires libarchive 3.2+");
#endif

		XSRETURN_NO;

void
ctime_is_set (self)
	Entry self

	PPCODE:
		if (archive_entry_ctime_is_set (self->e))
			XSRETURN_YES;

		XSRETURN_NO;

void
mtime_is_set (self)
	Entry self

	PPCODE:
		if (archive_entry_mtime_is_set (self->e))
			XSRETURN_YES;

		XSRETURN_NO;

void
size_is_set (self)
	Entry self

	PPCODE:
		if (archive_entry_size_is_set (self->e))
			XSRETURN_YES;

		XSRETURN_NO;

int
size (self, ...)
	Entry self

	CODE:

xs/Match.xs  view on Meta::CPAN


		RETVAL = self;

	OUTPUT: RETVAL

void
excluded (self, entry)
	Match self
	Entry entry

	PPCODE:
		if (archive_match_excluded (self->m, entry->e))
			XSRETURN_YES;

		XSRETURN_NO;

void
path_excluded (self, entry)
	Match self
	Entry entry

	PPCODE:
		if (archive_match_path_excluded (self->m, entry->e))
			XSRETURN_YES;

		XSRETURN_NO;

void
time_excluded (self, entry)
	Match self
	Entry entry

	PPCODE:
		if (archive_match_time_excluded (self->m, entry->e))
			XSRETURN_YES;

		XSRETURN_NO;

void
owner_excluded (self, entry)
	Match self
	Entry entry

	PPCODE:
		if (archive_match_owner_excluded (self->m, entry->e))
			XSRETURN_YES;

		XSRETURN_NO;

void
include_pattern (self, pattern)
	Match self
	const char *pattern

xs/Reader.xs  view on Meta::CPAN


	CODE:
		RETVAL = archive_format_name (self->ar);

	OUTPUT: RETVAL

void
close (self)
	Reader self

	PPCODE:
		if (self->reading)
		{
			archive_read_close (self->ar);
			self->reading = 0;
			XSRETURN_YES;
		}

		XSRETURN_NO;

void



( run in 0.635 second using v1.01-cache-2.11-cpan-71847e10f99 )