index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-10-16 12:23:11 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-31 16:20:02 +1000 |
commit | 23923200c3e34563c8124a1b098bc0866f4e92e5 (patch) | |
tree | ef9d697b9e0cd1e0d2bd1365cb5f844a8eea02d1 /lib/libalpm/alpm.h | |
parent | d4ba5bdda6595db83babbac1c59fac129fcaff24 (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 9 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 29b9f378..2c8c1e61 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -793,6 +793,15 @@ alpm_list_t *alpm_pkg_compute_requiredby(alpm_pkg_t *pkg); */ alpm_list_t *alpm_pkg_compute_optionalfor(alpm_pkg_t *pkg); +/** Test if a package should be ignored. + * Checks if the package is ignored via IgnorePkg, or if the package is + * in a group ignored via IgnoreGroup. + * @param handle the context handle + * @param pkg the package to test + * @return 1 if the package should be ignored, 0 otherwise + */ +int alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg); + /** @name Package Property Accessors * Any pointer returned by these functions points to internal structures * allocated by libalpm. They should not be freed nor modified in any |