From eaff094c5756a15c5e4c70fcfacf63251b9f7691 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 26 Mar 2010 14:56:14 +0200 Subject: Record header instance in dependency sets + add API for retrieving --- lib/rpmds.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/rpmds.h') diff --git a/lib/rpmds.h b/lib/rpmds.h index 72c09d71d..714d26643 100644 --- a/lib/rpmds.h +++ b/lib/rpmds.h @@ -200,6 +200,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 -- cgit v1.2.3