summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-08-26 01:14:34 +0200
committerDan McGee <dan@archlinux.org>2007-09-12 03:42:03 +0200
commitf21c45c0ddf195a4dcfca08c19bfa23d1c7fb326 (patch)
tree5d523f565aaacec7894e87ed5e2c2f749a184be5 /lib/libalpm/deps.c
parentbe32aa3004fc04dd0602b657d847fe671fb4372f (diff)
downloadpacman-f21c45c0ddf195a4dcfca08c19bfa23d1c7fb326.tar.gz
pacman-f21c45c0ddf195a4dcfca08c19bfa23d1c7fb326.tar.xz
libalpm/deps.c : export _alpm_checkdeps (-> alpm_checkdeps).
Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 2440beca..946a42ff 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -228,12 +228,19 @@ alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode)
return(newtargs);
}
-/** Checks dependencies and returns missing ones in a list. Dependencies can include versions with depmod operators.
+/** Checks dependencies and returns missing ones in a list.
+ * Dependencies can include versions with depmod operators.
* @param db pointer to the local package database
* @param op transaction type
* @param packages an alpm_list_t* of packages to be checked
* @return an alpm_list_t* of pmpkg_t* of missing_t pointers.
*/
+alpm_list_t SYMEXPORT *alpm_checkdeps(pmdb_t *db, pmtranstype_t op,
+ alpm_list_t *packages)
+{
+ return(_alpm_checkdeps(db, op, packages));
+}
+
alpm_list_t *_alpm_checkdeps(pmdb_t *db, pmtranstype_t op,
alpm_list_t *packages)
{