diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-20 17:12:06 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-20 17:17:22 +0100 |
commit | 17e743557815dd696d883a32c4e3791e7e4c5a90 (patch) | |
tree | f9a7eb49d2d990c0323af5eb8416afc6a2ad7b4e /lib/libalpm/package.h | |
parent | 8d4984cc648f72aad78833216400a23e9a25d708 (diff) | |
download | pacman-pkgbase.tar.xz |
libalpm: Add accessors for the base fieldpkgbase
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 <johannes@kyriasis.com>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 *); |