summaryrefslogtreecommitdiff
path: root/lib/rpmds.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-03-28 14:57:53 +0000
committerjbj <devnull@localhost>2004-03-28 14:57:53 +0000
commitdff80a94cc80be4aa9e6a71ca271c8640fcea323 (patch)
tree1a530c9af70495b78f24b83dd9b82d14713f8678 /lib/rpmds.h
parent94c663d938df4c866bcb70ba5266d55d68a9bdc6 (diff)
downloadlibrpm-tizen-dff80a94cc80be4aa9e6a71ca271c8640fcea323.tar.gz
librpm-tizen-dff80a94cc80be4aa9e6a71ca271c8640fcea323.tar.bz2
librpm-tizen-dff80a94cc80be4aa9e6a71ca271c8640fcea323.zip
- use package build time as EVR comparison tie breaker.
CVS patchset: 7201 CVS date: 2004/03/28 14:57:53
Diffstat (limited to 'lib/rpmds.h')
-rw-r--r--lib/rpmds.h17
1 files changed, 17 insertions, 0 deletions
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 */
@@ -217,6 +218,22 @@ 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.
*
* This flag controls for Epoch: promotion when a dependency set is