summaryrefslogtreecommitdiff
path: root/lib/rpmds.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-26 14:56:14 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-26 14:56:14 +0200
commiteaff094c5756a15c5e4c70fcfacf63251b9f7691 (patch)
treefe6790bcf9aa5b89e3cf5c9020d5e03d7f0b681e /lib/rpmds.h
parent07e7c67fd0070255f8387e8e4e098cf1ba83a539 (diff)
downloadlibrpm-tizen-eaff094c5756a15c5e4c70fcfacf63251b9f7691.tar.gz
librpm-tizen-eaff094c5756a15c5e4c70fcfacf63251b9f7691.tar.bz2
librpm-tizen-eaff094c5756a15c5e4c70fcfacf63251b9f7691.zip
Record header instance in dependency sets + add API for retrieving
Diffstat (limited to 'lib/rpmds.h')
-rw-r--r--lib/rpmds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rpmds.h b/lib/rpmds.h
index 72c09d71d..714d26643 100644
--- a/lib/rpmds.h
+++ b/lib/rpmds.h
@@ -201,6 +201,14 @@ rpmsenseFlags rpmdsFlags(const rpmds ds);
rpmTag rpmdsTagN(const rpmds ds);
/** \ingroup rpmds
+ * Return dependency header instance, ie whether the dependency comes from
+ * an installed header or not.
+ * @param ds dependency set
+ * @return header instance of dependency (0 for not installed)
+ */
+unsigned int rpmdsInstance(rpmds ds);
+
+/** \ingroup rpmds
* Return dependency build time.
* @param ds dependency set
* @return dependency build time, 0 on invalid