diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 17:26:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 17:26:22 +0100 |
commit | ff72fff68da8edc9d28e0022425893d1641f21e5 (patch) | |
tree | 2ef8847032fddb93823e0b30c872c51a25c9ab75 /src/ls.h | |
parent | d6b229e35c87cb246fcb77b2b04ac65adccc2b31 (diff) | |
download | mpd-ff72fff68da8edc9d28e0022425893d1641f21e5.tar.gz mpd-ff72fff68da8edc9d28e0022425893d1641f21e5.tar.xz mpd-ff72fff68da8edc9d28e0022425893d1641f21e5.zip |
ls: removed hasMusicSuffix() and get_archive_by_suffix()
Determine the suffix manually, and use decoder_plugin_from_suffix()
and archive_plugin_from_suffix() instead.
This way, song_file_update_inarchive() can be optimized: it does not
have to translate its path.
Diffstat (limited to 'src/ls.h')
-rw-r--r-- | src/ls.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -34,12 +34,6 @@ bool uri_has_scheme(const char *uri); bool isRemoteUrl(const char *url); -const struct decoder_plugin * -hasMusicSuffix(const char *utf8file, unsigned int next); - -const struct archive_plugin * -get_archive_by_suffix(const char *utf8file); - void printRemoteUrlHandlers(struct client *client); #endif |