summaryrefslogtreecommitdiff
path: root/lib/rpmtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmtd.c')
-rw-r--r--lib/rpmtd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rpmtd.c b/lib/rpmtd.c
index 95e953d1d..a42d39ffd 100644
--- a/lib/rpmtd.c
+++ b/lib/rpmtd.c
@@ -74,6 +74,11 @@ rpmTagClass rpmtdClass(rpmtd td)
return rpmTagTypeGetClass(td->type);
}
+rpmtdFlags rpmtdGetFlags(rpmtd td)
+{
+ return (td != NULL) ? td->flags : 0;
+}
+
int rpmtdGetIndex(rpmtd td)
{
assert(td != NULL);