diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 17:46:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 17:46:42 +0100 |
commit | 45597cc57171484bd59a4ad8f64434090835f93b (patch) | |
tree | c2893a1aa9e714f2e71de919bf8ad9572ec4c252 /src/ls.h | |
parent | 6a008b52d1004f56182911f2a635136d0d097918 (diff) | |
download | mpd-45597cc57171484bd59a4ad8f64434090835f93b.tar.gz mpd-45597cc57171484bd59a4ad8f64434090835f93b.tar.xz mpd-45597cc57171484bd59a4ad8f64434090835f93b.zip |
ls: renamed functions, no CamelCase
Diffstat (limited to 'src/ls.h')
-rw-r--r-- | src/ls.h | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -21,19 +21,27 @@ #include <stdbool.h> -struct stat; struct client; -const char *getSuffix(const char *utf8file); - /** * Checks whether the specified URI has a schema in the form * "scheme://". */ bool uri_has_scheme(const char *uri); -bool isRemoteUrl(const char *url); +/** + * Checks whether the scheme of the specified URI is supported by MPD. + * It is not allowed to pass an URI without a scheme, check with + * uri_has_scheme() first. + */ +bool uri_supported_scheme(const char *url); + +/** + * Send a list of supported URI schemes to the client. This is the + * response to the "urlhandlers" command. + */ +void print_supported_uri_schemes(struct client *client); -void printRemoteUrlHandlers(struct client *client); +const char *uri_get_suffix(const char *utf8file); #endif |