diff options
author | Max Kellermann <max@duempel.org> | 2014-12-12 13:47:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-12 22:10:24 +0100 |
commit | fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55 (patch) | |
tree | a5c6ba9076df11690dfc45c311bb57ef2fdaf7fd /src/sticker/SongSticker.cxx | |
parent | 71ece564702a5d91d72f5d35fe34fe5cf9f18556 (diff) | |
download | mpd-fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55.tar.gz mpd-fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55.tar.xz mpd-fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55.zip |
sticker/Song: add enum StickerOperator to sticker_song_find()
Diffstat (limited to 'src/sticker/SongSticker.cxx')
-rw-r--r-- | src/sticker/SongSticker.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sticker/SongSticker.cxx b/src/sticker/SongSticker.cxx index 0b317bf9e..5e5793b70 100644 --- a/src/sticker/SongSticker.cxx +++ b/src/sticker/SongSticker.cxx @@ -97,6 +97,7 @@ sticker_song_find_cb(const char *uri, const char *value, void *user_data) 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, @@ -119,7 +120,7 @@ sticker_song_find(const Database &db, const char *base_uri, const char *name, data.base_uri_length = strlen(data.base_uri); - bool success = sticker_find("song", data.base_uri, name, + bool success = sticker_find("song", data.base_uri, name, op, value, sticker_song_find_cb, &data, error); free(allocated); |