aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_sticker.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-28 20:23:27 +0200
committerMax Kellermann <max@duempel.org>2009-04-28 20:23:27 +0200
commit610940a06dc09fc14581cffc2829358e926ec9c3 (patch)
treed625b3f12f3cdc7221dd63876a783cbae20ecae2 /src/song_sticker.h
parent7d9316a52d935ce6c9f4ae3030c975d660a02db6 (diff)
downloadmpd-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 'src/song_sticker.h')
-rw-r--r--src/song_sticker.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/song_sticker.h b/src/song_sticker.h
index 435e4c935..9652052e0 100644
--- a/src/song_sticker.h
+++ b/src/song_sticker.h
@@ -49,6 +49,13 @@ bool
sticker_song_delete(const struct song *song);
/**
+ * Deletes a sticker value. Does nothing if the sticker did not
+ * exist.
+ */
+bool
+sticker_song_delete_value(const struct song *song, const char *name);
+
+/**
* Loads the sticker for the specified song.
*
* @param song the song object