aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker/SongSticker.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sticker/SongSticker.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sticker/SongSticker.hxx b/src/sticker/SongSticker.hxx
index 918046d0e..ec4f1b344 100644
--- a/src/sticker/SongSticker.hxx
+++ b/src/sticker/SongSticker.hxx
@@ -20,6 +20,7 @@
#ifndef MPD_SONG_STICKER_HXX
#define MPD_SONG_STICKER_HXX
+#include "Match.hxx"
#include "Compiler.h"
#include <string>
@@ -30,7 +31,8 @@ class Database;
class Error;
/**
- * Returns one value from a song's sticker record.
+ * Returns one value from a song's sticker record. The caller must
+ * free the return value with g_free().
*/
gcc_pure
std::string
@@ -81,6 +83,7 @@ sticker_song_get(const LightSong &song, Error &error);
*/
bool
sticker_song_find(const Database &db, const char *base_uri, const char *name,
+ StickerOperator op, const char *value,
void (*func)(const LightSong &song, const char *value,
void *user_data),
void *user_data,