From 15e8f808216f202fba690e2d83c22d171ef2b40a Mon Sep 17 00:00:00 2001 From: ewt Date: Sun, 20 Oct 1996 19:31:12 +0000 Subject: [PATCH] added some comments, rpmdbFindByConflicts() CVS patchset: 1115 CVS date: 1996/10/20 19:31:12 --- lib/rpmlib.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/rpmlib.h b/lib/rpmlib.h index a67f211..3730b0d 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -204,6 +204,7 @@ int rpmdbFindByGroup(rpmdb db, char * group, dbIndexSet * matches); int rpmdbFindPackage(rpmdb db, char * name, dbIndexSet * matches); int rpmdbFindByProvides(rpmdb db, char * filespec, dbIndexSet * matches); int rpmdbFindByRequiredBy(rpmdb db, char * filespec, dbIndexSet * matches); +int rpmdbFindByConflicts(rpmdb db, char * filespec, dbIndexSet * matches); int rpmArchScore(char * arch); int rpmOsScore(char * arch); @@ -221,9 +222,11 @@ typedef struct rpmDependencyCheck * rpmDependencies; struct rpmDependencyConflict { char * byName, * byVersion, * byRelease; + /* these needs fields are misnamed -- they are used for the package + which isn't needed as well */ char * needsName, * needsVersion; int needsFlags; - void * suggestedPackage; + void * suggestedPackage; /* NULL if none */ enum { RPMDEP_SENSE_REQUIRES, RPMDEP_SENSE_CONFLICTS } sense; } ; -- 2.7.4