diff options
author | Max Kellermann <max@duempel.org> | 2009-04-28 20:23:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-04-28 20:23:27 +0200 |
commit | 610940a06dc09fc14581cffc2829358e926ec9c3 (patch) | |
tree | d625b3f12f3cdc7221dd63876a783cbae20ecae2 /src/sticker.h | |
parent | 7d9316a52d935ce6c9f4ae3030c975d660a02db6 (diff) | |
download | mpd-610940a06dc09fc14581cffc2829358e926ec9c3.tar.gz mpd-610940a06dc09fc14581cffc2829358e926ec9c3.tar.xz mpd-610940a06dc09fc14581cffc2829358e926ec9c3.zip |
sticker: added sticker_delete_value()
sticker_delete_value() deletes only one value in a sticker, while
the old function sticker_delete() deletes all values.
Diffstat (limited to '')
-rw-r--r-- | src/sticker.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sticker.h b/src/sticker.h index 5daba3def..8e6410914 100644 --- a/src/sticker.h +++ b/src/sticker.h @@ -89,6 +89,13 @@ bool sticker_delete(const char *type, const char *uri); /** + * Deletes a sticker value. Fails if no sticker with this name + * exists. + */ +bool +sticker_delete_value(const char *type, const char *uri, const char *name); + +/** * Frees resources held by the sticker object. * * @param sticker the sticker object to be freed |