diff options
author | wm4 <wm4@nowhere> | 2013-12-22 23:05:37 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-22 23:25:10 +0100 |
commit | 2de2b602227153cdff241bb237bc3370982dcf28 (patch) | |
tree | 0668dba2d0265e448006fea70a57c60beaa094f3 /options/path.h | |
parent | 8c0675b7d051393680d974a5bcf189e25a911ad1 (diff) | |
download | mpv-2de2b602227153cdff241bb237bc3370982dcf28.tar.bz2 mpv-2de2b602227153cdff241bb237bc3370982dcf28.tar.xz |
path: add function to split URL into prefix and path
Used in the following commit.
Diffstat (limited to 'options/path.h')
-rw-r--r-- | options/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/path.h b/options/path.h index 4756379fa2..0d23dcbe9b 100644 --- a/options/path.h +++ b/options/path.h @@ -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 */ |