diff options
author | Max Kellermann <max@duempel.org> | 2010-12-22 19:46:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-12-23 16:24:00 +0100 |
commit | 5274fee8a71cc5901649b984bc4488c9677feadf (patch) | |
tree | e15bcc3fe1df966fc855ec1dbd22087b7a856a2b /src/playlist_queue.h | |
parent | 5462f34ed037111d2d57638352b2f1a65a322579 (diff) | |
download | mpd-5274fee8a71cc5901649b984bc4488c9677feadf.tar.gz mpd-5274fee8a71cc5901649b984bc4488c9677feadf.tar.xz mpd-5274fee8a71cc5901649b984bc4488c9677feadf.zip |
playlist_song: add flag "secure"
Optionally allow all local files.
"Insecure" mode is used for printing playlists.
Diffstat (limited to 'src/playlist_queue.h')
-rw-r--r-- | src/playlist_queue.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playlist_queue.h b/src/playlist_queue.h index 530d4b4be..9ffa51198 100644 --- a/src/playlist_queue.h +++ b/src/playlist_queue.h @@ -26,6 +26,8 @@ #include "playlist.h" +#include <stdbool.h> + struct playlist_provider; struct playlist; @@ -38,14 +40,14 @@ struct playlist; */ enum playlist_result playlist_load_into_queue(const char *uri, struct playlist_provider *source, - struct playlist *dest); + struct playlist *dest, bool secure); /** * Opens a playlist with a playlist plugin and append to the specified * play queue. */ enum playlist_result -playlist_open_into_queue(const char *uri, struct playlist *dest); +playlist_open_into_queue(const char *uri, struct playlist *dest, bool secure); #endif |