aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-24 20:40:35 +0100
committerMax Kellermann <max@duempel.org>2015-03-24 22:03:17 +0100
commit98f3135ad347fb39f941d03f5b8cadc6bc23f658 (patch)
tree5ddda29f03b87df0db260a377bbbc0293c2a88ac /src/PlaylistFile.hxx
parent8c9c3a91e6374b133376057e6a7f2d4e5afe6af1 (diff)
downloadmpd-98f3135ad347fb39f941d03f5b8cadc6bc23f658.tar.gz
mpd-98f3135ad347fb39f941d03f5b8cadc6bc23f658.tar.xz
mpd-98f3135ad347fb39f941d03f5b8cadc6bc23f658.zip
PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError()
Diffstat (limited to 'src/PlaylistFile.hxx')
-rw-r--r--src/PlaylistFile.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/PlaylistFile.hxx b/src/PlaylistFile.hxx
index 467307e61..5f905480f 100644
--- a/src/PlaylistFile.hxx
+++ b/src/PlaylistFile.hxx
@@ -27,6 +27,7 @@ class DetachedSong;
class SongLoader;
class PlaylistVector;
class Error;
+class AllocatedPath;
typedef std::vector<std::string> PlaylistFileContents;
@@ -45,6 +46,12 @@ spl_global_init();
bool
spl_valid_name(const char *name_utf8);
+AllocatedPath
+spl_map_to_fs(const char *name_utf8, Error &error);
+
+void
+TranslatePlaylistError(Error &error);
+
/**
* Returns a list of stored_playlist_info struct pointers. Returns
* nullptr if an error occurred.