index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2007-11-18 18:45:46 +0100 |
---|---|---|
committer | Chantry Xavier <shiningxc@gmail.com> | 2008-02-06 08:46:15 +0100 |
commit | e63366ae5e701d8e9ae33144f68e8786b092a468 (patch) | |
tree | 4b258502587555e3973486140a7a441ea54065fc /lib/libalpm/deps.h | |
parent | e81dec9b8c65f7c882f5f447cdc117783259f4a4 (diff) |
-rw-r--r-- | lib/libalpm/deps.h | 4 |
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index fdbfebed..439a92a2 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -37,6 +37,7 @@ struct __pmdepend_t { struct __pmdepmissing_t { char *target; pmdepend_t *depend; + char *causingpkg; /* this is used in case of remove dependency error only */ }; /* Graphs */ @@ -51,7 +52,8 @@ struct __pmgraph_t { void _alpm_dep_free(pmdepend_t *dep); pmdepend_t *_alpm_dep_dup(const pmdepend_t *dep); -pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdepend_t *dep); +pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdepend_t *dep, + const char *causinpkg); void _alpm_depmiss_free(pmdepmissing_t *miss); alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode); void _alpm_recursedeps(pmdb_t *db, alpm_list_t *targs, int include_explicit); |