summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-07-10 16:29:44 +0000
committerewt <devnull@localhost>1996-07-10 16:29:44 +0000
commit11931fd81b0f2f0b0a549b7ec04d26b174dc8e1f (patch)
treeb204794cbb736bd8a5d43b55d1589ae614366c5f /lib
parent1178a102cc99479c2c16510bb6cc7c77f9095eb3 (diff)
downloadrpm-11931fd81b0f2f0b0a549b7ec04d26b174dc8e1f.tar.gz
rpm-11931fd81b0f2f0b0a549b7ec04d26b174dc8e1f.tar.bz2
rpm-11931fd81b0f2f0b0a549b7ec04d26b174dc8e1f.zip
1) added send to dependency conflict reporting
2) added rpmdepUpgradePackage() CVS patchset: 774 CVS date: 1996/07/10 16:29:44
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 09a76e56e..967d7d811 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);