aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist_list.h')
-rw-r--r--src/playlist_list.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/playlist_list.h b/src/playlist_list.h
index 11a2356da..3710589a2 100644
--- a/src/playlist_list.h
+++ b/src/playlist_list.h
@@ -20,6 +20,8 @@
#ifndef MPD_PLAYLIST_LIST_H
#define MPD_PLAYLIST_LIST_H
+#include <stdbool.h>
+
struct playlist_provider;
struct input_stream;
@@ -52,6 +54,13 @@ struct playlist_provider *
playlist_list_open_stream(struct input_stream *is, const char *uri);
/**
+ * Determines if there is a playlist plugin which can handle the
+ * specified file name suffix.
+ */
+bool
+playlist_suffix_supported(const char *suffix);
+
+/**
* Opens a playlist from a local file.
*
* @param path_fs the path of the playlist file