path: add function to split URL into prefix and path
Used in the following commit.
This commit is contained in:
1 parent
8c0675b7d0
commit
2de2b60222
2 files changed
+13
No files matched your search
@@ -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 */
|
||||
Reference in new issue
Block a user