aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-02 01:26:15 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-02 01:26:15 +0000
commitefe8a04c70f1dde3c62e88f514433515631db858 (patch)
treed6ba8eb0acd4a299149596718cd4bfb6224f20f1 /src/inputStream.h
parentbef55ff3de4a16100b8115950c10f3cede755d3c (diff)
downloadmpd-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 '')
-rw-r--r--src/inputStream.h2
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);