From 45597cc57171484bd59a4ad8f64434090835f93b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Jan 2009 17:46:42 +0100 Subject: ls: renamed functions, no CamelCase --- src/ls.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'src/ls.h') diff --git a/src/ls.h b/src/ls.h index 62777d9e1..82a77ec17 100644 --- a/src/ls.h +++ b/src/ls.h @@ -21,19 +21,27 @@ #include -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 -- cgit v1.2.3