diff options
author | jbj <devnull@localhost> | 2001-10-31 04:00:58 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-31 04:00:58 +0000 |
commit | a15e74ecd67b7df026ce9bdb1204ef19ce5d4fde (patch) | |
tree | 2801e48b1b3d704933a8ad39ec5a9c4b55f283fe /lib/rpmlib.h | |
parent | 93ab09b3d9cc6187466456457e8c102c1e6bec0e (diff) | |
download | librpm-tizen-a15e74ecd67b7df026ce9bdb1204ef19ce5d4fde.tar.gz librpm-tizen-a15e74ecd67b7df026ce9bdb1204ef19ce5d4fde.tar.bz2 librpm-tizen-a15e74ecd67b7df026ce9bdb1204ef19ce5d4fde.zip |
More unraveling of availablePackage from depends.c.
CVS patchset: 5144
CVS date: 2001/10/31 04:00:58
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r-- | lib/rpmlib.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 5b9d2b31e..451b7223a 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -64,6 +64,8 @@ struct rpmTransactionSet_s * rpmTransactionSet; */ typedef /*@abstract@*/ struct availablePackage_s * availablePackage; +typedef /*@abstract@*/ struct rpmDepSet_s * rpmDepSet; + /** \ingroup header * Return name, version, release strings from header. * @param h header @@ -1588,27 +1590,20 @@ int rpmvercmp(const char * a, const char * b) /** \ingroup rpmtrans * Compare two versioned dependency ranges, looking for overlap. - * @param AName 1st dependncy name string - * @param AEVR 1st dependency [epoch:]version[-release] string - * @param AFlags 1st dependency logical range qualifiers - * @param BName 2nd dependncy name string - * @param BEVR 2nd dependency [epoch:]version[-release] string - * @param BFlags 2nd dependency logical range qualifiers + * @param A 1st dependency + * @param B 2nd dependency * @return 1 if dependencies overlap, 0 otherwise */ -int rpmRangesOverlap(const char * AName, const char * AEVR, int AFlags, - const char * BName, const char * BEVR, int BFlags) +int rpmRangesOverlap(const rpmDepSet A, const rpmDepSet B) /*@*/; /** \ingroup rpmtrans * Check dependency against internal rpmlib feature provides. - * @param keyName dependency name string - * @param keyEVR dependency [epoch:]version[-release] string - * @param keyFlags dependency logical range qualifiers + * @param key dependency * @return 1 if dependency overlaps, 0 otherwise */ -int rpmCheckRpmlibProvides(const char * keyName, const char * keyEVR, - int keyFlags) /*@*/; +int rpmCheckRpmlibProvides(const rpmDepSet key) + /*@*/; /** \ingroup rpmcli * Display current rpmlib feature provides. |