aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tag.h b/src/tag.h
index a37408819..2347801e3 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -110,6 +110,13 @@ tag_is_empty(const struct tag *tag)
}
/**
+ * Returns the first value of the specified tag type, or NULL if none
+ * is present in this tag object.
+ */
+const char *
+tag_get_value(const struct tag *tag, enum tag_type type);
+
+/**
* Checks whether the tag contains one or more items with
* the specified type.
*/