aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_mapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist_mapper.h')
-rw-r--r--src/playlist_mapper.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/playlist_mapper.h b/src/playlist_mapper.h
index 045c4b0d7..b98af1b13 100644
--- a/src/playlist_mapper.h
+++ b/src/playlist_mapper.h
@@ -20,11 +20,17 @@
#ifndef MPD_PLAYLIST_MAPPER_H
#define MPD_PLAYLIST_MAPPER_H
+struct input_stream;
+
/**
* Opens a playlist from an URI relative to the playlist or music
* directory.
+ *
+ * @param is_r on success, an input_stream object may be returned
+ * here, which must be closed after the playlist_provider object is
+ * freed
*/
struct playlist_provider *
-playlist_mapper_open(const char *uri);
+playlist_mapper_open(const char *uri, struct input_stream **is_r);
#endif