summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 853771f8..0909ba9b 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -121,6 +121,23 @@ static int _pkg_changelog_close(const alpm_pkg_t UNUSED *pkg,
return EOF;
}
+static struct archive *_pkg_mtree_open(alpm_pkg_t UNUSED *pkg)
+{
+ return NULL;
+}
+
+static int _pkg_mtree_next(const alpm_pkg_t UNUSED *pkg,
+ struct archive UNUSED *archive, struct archive_entry UNUSED **entry)
+{
+ return -1;
+}
+
+static int _pkg_mtree_close(const alpm_pkg_t UNUSED *pkg,
+ struct archive UNUSED *archive)
+{
+ return -1;
+}
+
static int _pkg_force_load(alpm_pkg_t UNUSED *pkg) { return 0; }
/** The standard package operations struct. Get fields directly from the
@@ -152,6 +169,10 @@ struct pkg_operations default_pkg_ops = {
.changelog_read = _pkg_changelog_read,
.changelog_close = _pkg_changelog_close,
+ .mtree_open = _pkg_mtree_open,
+ .mtree_next = _pkg_mtree_next,
+ .mtree_close = _pkg_mtree_close,
+
.force_load = _pkg_force_load,
};