summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-07-18 02:24:55 +0000
committerewt <devnull@localhost>1996-07-18 02:24:55 +0000
commit56d7914e38ad31ecbfbb56cde1267b1e83a62f45 (patch)
tree637ffc5f6b48f005979440ec0935a303cc58bcbd /lib
parent763b11d392f3983b25925ca98438f57726def275 (diff)
downloadrpm-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.h2
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,