diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-02 01:26:15 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-02 01:26:15 +0000 |
commit | efe8a04c70f1dde3c62e88f514433515631db858 (patch) | |
tree | d6ba8eb0acd4a299149596718cd4bfb6224f20f1 /src/ls.h | |
parent | bef55ff3de4a16100b8115950c10f3cede755d3c (diff) | |
download | mpd-efe8a04c70f1dde3c62e88f514433515631db858.tar.gz mpd-efe8a04c70f1dde3c62e88f514433515631db858.tar.xz mpd-efe8a04c70f1dde3c62e88f514433515631db858.zip |
validate url's before adding to playlist
git-svn-id: https://svn.musicpd.org/mpd/trunk@1289 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/ls.h')
-rw-r--r-- | src/ls.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ int lsPlaylists(FILE * fp, char * utf8path); char * getSuffix(char * utf8file); +int isValidRemoteUtf8Url(char * utf8url); + int isRemoteUrl(char * url); int isFile(char * utf8file, time_t * mtime); |