diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-02 23:22:37 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-02 23:22:37 +0000 |
commit | b48ac2dfa355206d0a49169451f86c964a4c3e30 (patch) | |
tree | 3d847ca97088aea59f0bd7e5d668944000834f43 /src/ls.c | |
parent | 8fca32b12d00db3ebfbbceb8a51880e505b5a780 (diff) | |
download | mpd-b48ac2dfa355206d0a49169451f86c964a4c3e30.tar.gz mpd-b48ac2dfa355206d0a49169451f86c964a4c3e30.tar.xz mpd-b48ac2dfa355206d0a49169451f86c964a4c3e30.zip |
add urlhandlers command, but prolly not needed
git-svn-id: https://svn.musicpd.org/mpd/trunk@1307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/ls.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -48,6 +48,17 @@ static char * remoteUrlPrefixes[] = NULL }; +int printRemoteUrlHandlers(FILE * fp) { + char ** prefixes = remoteUrlPrefixes; + + while (*prefixes) { + myfprintf(fp,"handler: %s\n", *prefixes); + prefixes++; + } + + return 0; +} + int isValidRemoteUtf8Url(char * utf8url) { int ret = 0; char * lat1 = utf8StrToLatin1Dup(utf8url); |