diff options
author | Max Kellermann <max@duempel.org> | 2012-08-15 23:28:19 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-16 00:04:14 +0200 |
commit | 3b8532f3fb379c7ecc6b64eecbbf9c824d18e875 (patch) | |
tree | 3313a43df3f120b74166749fdd75b07fa89846ba /src/database.h | |
parent | f45616e5f6f7d6aa0fb5ca90a0599eacddf1166b (diff) | |
download | mpd-3b8532f3fb379c7ecc6b64eecbbf9c824d18e875.tar.gz mpd-3b8532f3fb379c7ecc6b64eecbbf9c824d18e875.tar.xz mpd-3b8532f3fb379c7ecc6b64eecbbf9c824d18e875.zip |
DatabasePlugin: add method ReturnSong()
Allow the plugin to allocate the GetSong() return value.
Diffstat (limited to '')
-rw-r--r-- | src/database.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/database.h b/src/database.h index d8d86fa5d..e18663525 100644 --- a/src/database.h +++ b/src/database.h @@ -74,6 +74,10 @@ gcc_pure struct song * db_get_song(const char *file); +gcc_nonnull(1) +void +db_return_song(struct song *song); + /** * May only be used if db_is_simple() returns true. */ |