diff options
author | Max Kellermann <max@duempel.org> | 2009-01-15 00:21:08 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-15 00:21:08 +0100 |
commit | 2fad5783762c2f2868c8b5239835d54de23912d3 (patch) | |
tree | 898dee0f0e59bf42d9050c68aa1883272ff58644 /src/tag.h | |
parent | 4847bbaad372c7c51811bafe2fdf3ffbf28d9a69 (diff) | |
download | mpd-2fad5783762c2f2868c8b5239835d54de23912d3.tar.gz mpd-2fad5783762c2f2868c8b5239835d54de23912d3.tar.xz mpd-2fad5783762c2f2868c8b5239835d54de23912d3.zip |
tag: added tag_get_value()
Diffstat (limited to 'src/tag.h')
-rw-r--r-- | src/tag.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. */ |