summaryrefslogtreecommitdiff
path: root/lib/rpmds.h
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2014-06-06 12:23:22 +0200
committerFlorian Festi <ffesti@redhat.com>2014-07-08 15:28:05 +0200
commit1ba4a76a54ec762b767dc100b3f1df18adccf5cc (patch)
treefd857f0d32d7eb078963cc6fb8a3d1cfdc972942 /lib/rpmds.h
parent2e9864752daa9811ccce82bbb312b1cfcc481d9a (diff)
downloadrpm-1ba4a76a54ec762b767dc100b3f1df18adccf5cc.tar.gz
Add rpmdsDToTagN() to convert single char endocding used by the dependency generators to tags
Diffstat (limited to 'lib/rpmds.h')
-rw-r--r--lib/rpmds.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rpmds.h b/lib/rpmds.h
index 07c8e88a8..9b7c90824 100644
--- a/lib/rpmds.h
+++ b/lib/rpmds.h
@@ -197,6 +197,13 @@ const char * rpmdsDNEVR(const rpmds ds);
char rpmdsD(const rpmds ds);
/** \ingroup rpmds
+ * Return matching tagN for one char dependency type description.
+ * @param deptype character
+ * @return type of dependency
+ */
+rpmTagVal rpmdsDToTagN(char deptype);
+
+/** \ingroup rpmds
* Return current dependency name.
* @param ds dependency set
* @return current dependency name, NULL on invalid