path: add function to split URL into prefix and path

Used in the following commit.
This commit is contained in:
wm4 committed 2013-12-22 23:25:10 +01:00
1 parent 8c0675b7d0
commit 2de2b60222
2 files changed
+13

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ bool mp_path_isdir(const char *path);
bool mp_is_url(bstr path);
bstr mp_split_proto(bstr path, bstr *out_url);
void mp_mk_config_dir(struct mpv_global *global, char *subdir);
#endif /* MPLAYER_PATH_H */