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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user