From: ewt Date: Wed, 10 Jul 1996 16:29:44 +0000 (+0000) Subject: 1) added send to dependency conflict reporting X-Git-Tag: rpm-4.4-release~4961 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11931fd81b0f2f0b0a549b7ec04d26b174dc8e1f;p=platform%2Fupstream%2Frpm.git 1) added send to dependency conflict reporting 2) added rpmdepUpgradePackage() CVS patchset: 774 CVS date: 1996/07/10 16:29:44 --- diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 09a76e5..967d7d8 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -202,10 +202,12 @@ struct rpmDependencyConflict { char * byName, * byVersion, * byRelease; char * needsName, * needsVersion; int needsFlags; + enum { RPMDEP_SENSE_REQUIRES, RPMDEP_SENSE_CONFLICTS } sense; } ; rpmDependencies rpmdepDependencies(rpmdb db); /* db may be NULL */ void rpmdepAddPackage(rpmDependencies rpmdep, Header h); +void rpmdepUpgradePackage(rpmDependencies rpmdep, Header h); void rpmdepRemovePackage(rpmDependencies rpmdep, int dboffset); int rpmdepCheck(rpmDependencies rpmdep, struct rpmDependencyConflict ** conflicts, int * numConflicts);