summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/deps.h
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-08-06 11:36:51 +0200
committerAllan McRae <allan@archlinux.org>2014-09-30 14:07:11 +0200
commit13c9745302b11dcee7b1b894d95789a2caf11c9d (patch)
tree58ccf0d58fab2305ddab502802accb3021141494 /lib/libalpm/deps.h
parentb275e5184ef1acc3f8dd4a02131149a9b58a5828 (diff)
downloadpacman-13c9745302b11dcee7b1b894d95789a2caf11c9d.tar.gz
pacman-13c9745302b11dcee7b1b894d95789a2caf11c9d.tar.xz
deps.c: split _alpm_depcmp into _alpm_depcmp_provides
This allows to reuse the provision checker for a simple list of provisions without a package. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/libalpm/deps.h')
-rw-r--r--lib/libalpm/deps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h
index e36bbb38..f4eadba1 100644
--- a/lib/libalpm/deps.h
+++ b/lib/libalpm/deps.h
@@ -37,6 +37,7 @@ int _alpm_resolvedeps(alpm_handle_t *handle, alpm_list_t *localpkgs, alpm_pkg_t
alpm_list_t **data);
alpm_depend_t *_alpm_splitdep(const char *depstring);
int _alpm_depcmp_literal(alpm_pkg_t *pkg, alpm_depend_t *dep);
+int _alpm_depcmp_provides(alpm_depend_t *dep, alpm_list_t *provisions);
int _alpm_depcmp(alpm_pkg_t *pkg, alpm_depend_t *dep);
#endif /* _ALPM_DEPS_H */