MPD
0.20.15
|
#include "Compiler.h"
Go to the source code of this file.
Functions | |
DetachedSong | DatabaseDetachSong (const Storage &storage, const LightSong &song) |
"Detach" the Song object, i.e. More... | |
gcc_malloc gcc_nonnull_all DetachedSong * | DatabaseDetachSong (const Database &db, const Storage &storage, const char *uri) |
Look up a song in the database and convert it to a DetachedSong instance. More... | |
DetachedSong DatabaseDetachSong | ( | const Storage & | storage, |
const LightSong & | song | ||
) |
"Detach" the Song object, i.e.
convert it to a DetachedSong instance.
gcc_malloc gcc_nonnull_all DetachedSong* DatabaseDetachSong | ( | const Database & | db, |
const Storage & | storage, | ||
const char * | uri | ||
) |
Look up a song in the database and convert it to a DetachedSong instance.
The caller is responsible for freeing it.