From dff80a94cc80be4aa9e6a71ca271c8640fcea323 Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 28 Mar 2004 14:57:53 +0000 Subject: - use package build time as EVR comparison tie breaker. CVS patchset: 7201 CVS date: 2004/03/28 14:57:53 --- lib/rpmds.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'lib/rpmds.h') diff --git a/lib/rpmds.h b/lib/rpmds.h index 9a027f0cd..eddcd3202 100644 --- a/lib/rpmds.h +++ b/lib/rpmds.h @@ -43,6 +43,7 @@ struct rpmds_s { uint_32 * Color; /*!< Bit(s) calculated from file color(s). */ /*@only@*/ /*@null@*/ int_32 * Refs; /*!< No. of file refs. */ + int_32 BT; /*!< Package build time tie breaker. */ rpmTag tagN; /*!< Header tag. */ rpmTagType Nt, EVRt, Ft; /*!< Tag data types. */ int_32 Count; /*!< No. of elements */ @@ -216,6 +217,22 @@ int_32 rpmdsFlags(/*@null@*/ const rpmds ds) rpmTag rpmdsTagN(/*@null@*/ const rpmds ds) /*@*/; +/** + * Return dependency build time. + * @param ds dependency set + * @return dependency build time, 0 on invalid + */ +time_t rpmdsBT(/*@null@*/ const rpmds ds) + /*@*/; + +/** + * Set dependency build time. + * @param ds dependency set + * @return dependency build time, 0 on invalid + */ +time_t rpmdsSetBuildtime(/*@null@*/ const rpmds ds, time_t BT) + /*@modifies ds @*/; + /** * Return current "Don't promote Epoch:" flag. * -- cgit v1.2.3