validate url's before adding to playlist

git-svn-id: https://svn.musicpd.org/mpd/trunk@1289 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-06-02 01:26:15 +00:00
parent bef55ff3de
commit efe8a04c70
6 changed files with 88 additions and 24 deletions

View File

@@ -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);