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/inputStream.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/inputStream.h')
-rw-r--r-- | src/inputStream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputStream.h b/src/inputStream.h index 5add3f486..6e54315fe 100644 --- a/src/inputStream.h +++ b/src/inputStream.h @@ -48,6 +48,8 @@ struct _InputStream { char * metaTitle; }; +int isUrlSaneForInputStream(char * url); + /* if an error occurs for these 3 functions, then -1 is returned and errno for the input stream is set */ int openInputStream(InputStream * inStream, char * url); |