aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.h')
-rw-r--r--src/ls.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ls.h b/src/ls.h
index 92839e018..713b6ac20 100644
--- a/src/ls.h
+++ b/src/ls.h
@@ -22,16 +22,20 @@
#include "decoder_list.h"
#include "archive_list.h"
-#include <sys/time.h>
+#include <stdbool.h>
struct stat;
struct client;
const char *getSuffix(const char *utf8file);
-int isValidRemoteUtf8Url(const char *utf8url);
+/**
+ * Checks whether the specified URI has a schema in the form
+ * "scheme://".
+ */
+bool uri_has_scheme(const char *uri);
-int isRemoteUrl(const char *url);
+bool isRemoteUrl(const char *url);
const struct decoder_plugin *
hasMusicSuffix(const char *utf8file, unsigned int next);
@@ -39,6 +43,6 @@ hasMusicSuffix(const char *utf8file, unsigned int next);
const struct archive_plugin *
get_archive_by_suffix(const char *utf8file);
-int printRemoteUrlHandlers(struct client *client);
+void printRemoteUrlHandlers(struct client *client);
#endif