|
MPD
0.17~git
|
#include <stdbool.h>Go to the source code of this file.
Functions | |
| struct song * | playlist_check_translate_song (struct song *song, const char *base_uri, bool secure) |
| Verifies the song, returns NULL if it is unsafe. | |
| struct song* playlist_check_translate_song | ( | struct song * | song, |
| const char * | base_uri, | ||
| bool | secure | ||
| ) | [read] |
Verifies the song, returns NULL if it is unsafe.
Translate the song to a new song object within the database, if it is a local file. The old song object is freed.
| secure | if true, then local files are only allowed if they are relative to base_uri |
1.7.5.1