aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 17:46:42 +0100
committerMax Kellermann <max@duempel.org>2009-01-04 17:46:42 +0100
commit45597cc57171484bd59a4ad8f64434090835f93b (patch)
treec2893a1aa9e714f2e71de919bf8ad9572ec4c252 /src/ls.h
parent6a008b52d1004f56182911f2a635136d0d097918 (diff)
downloadmpd-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.h18
1 files changed, 13 insertions, 5 deletions
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 <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