summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorMark Weiman <mark.weiman@markzz.com>2017-01-03 23:32:27 +0100
committerAllan McRae <allan@archlinux.org>2017-01-04 04:59:15 +0100
commit0994893b0e6b627d45a63884ac01af7d0967eff2 (patch)
treea8bba222e088abd8bc53f332c05d804b0ae3934b /lib/libalpm/package.h
parentaa44824788582cd3278ff74a60dfb276cf1aebfc (diff)
downloadpacman-0994893b0e6b627d45a63884ac01af7d0967eff2.tar.gz
pacman-0994893b0e6b627d45a63884ac01af7d0967eff2.tar.xz
Add alpm_pkg_get_makedepends and alpm_pkg_get_checkdepends
makepkg adds makedepends and checkdepends to a package's .PKGINFO file. Add functions that allow use of these from libalpm. Signed-off-by: Mark Weiman <mark.weiman@markzz.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 2db3740c..8531b212 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -59,6 +59,8 @@ struct pkg_operations {
alpm_list_t *(*get_groups) (alpm_pkg_t *);
alpm_list_t *(*get_depends) (alpm_pkg_t *);
alpm_list_t *(*get_optdepends) (alpm_pkg_t *);
+ alpm_list_t *(*get_checkdepends) (alpm_pkg_t *);
+ alpm_list_t *(*get_makedepends) (alpm_pkg_t *);
alpm_list_t *(*get_conflicts) (alpm_pkg_t *);
alpm_list_t *(*get_provides) (alpm_pkg_t *);
alpm_list_t *(*get_replaces) (alpm_pkg_t *);
@@ -112,6 +114,8 @@ struct __alpm_pkg_t {
alpm_list_t *backup;
alpm_list_t *depends;
alpm_list_t *optdepends;
+ alpm_list_t *checkdepends;
+ alpm_list_t *makedepends;
alpm_list_t *conflicts;
alpm_list_t *provides;
alpm_list_t *deltas;