diff options
author | ewt <devnull@localhost> | 1996-07-18 02:24:55 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-07-18 02:24:55 +0000 |
commit | 56d7914e38ad31ecbfbb56cde1267b1e83a62f45 (patch) | |
tree | 637ffc5f6b48f005979440ec0935a303cc58bcbd /lib | |
parent | 763b11d392f3983b25925ca98438f57726def275 (diff) | |
download | rpm-56d7914e38ad31ecbfbb56cde1267b1e83a62f45.tar.gz rpm-56d7914e38ad31ecbfbb56cde1267b1e83a62f45.tar.bz2 rpm-56d7914e38ad31ecbfbb56cde1267b1e83a62f45.zip |
1) added suggestedPackage to dependency conflict structure
2) added rpmdepAvailablePackage()
CVS patchset: 884
CVS date: 1996/07/18 02:24:55
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 3cf42101f..0eeb17146 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -216,11 +216,13 @@ struct rpmDependencyConflict { char * byName, * byVersion, * byRelease; char * needsName, * needsVersion; int needsFlags; + void * suggestedPackage; enum { RPMDEP_SENSE_REQUIRES, RPMDEP_SENSE_CONFLICTS } sense; } ; rpmDependencies rpmdepDependencies(rpmdb db); /* db may be NULL */ void rpmdepAddPackage(rpmDependencies rpmdep, Header h); +void rpmdepAvailablePackage(rpmDependencies rpmdep, Header h, void * key); void rpmdepUpgradePackage(rpmDependencies rpmdep, Header h); void rpmdepRemovePackage(rpmDependencies rpmdep, int dboffset); int rpmdepCheck(rpmDependencies rpmdep, |