From 1f1e53c208cfa0e284511470acb679fe10c4d80c Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 22 Dec 2014 15:11:39 +0100 Subject: libalpm: Add accessors for the base field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds the necessary accessor functions to get the PKGBASE of a package, forcing the desc file to be parsed. Signed-off-by: Johannes Löthberg Signed-off-by: Allan McRae --- lib/libalpm/package.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/package.h') diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 98c1e6d6..5ab9b207 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -43,6 +43,7 @@ * defined default_pkg_ops struct to work just fine for their needs. */ struct pkg_operations { + const char *(*get_base) (alpm_pkg_t *); const char *(*get_desc) (alpm_pkg_t *); const char *(*get_url) (alpm_pkg_t *); alpm_time_t (*get_builddate) (alpm_pkg_t *); -- cgit v1.2.3-24-g4f1b