aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.h')
-rw-r--r--src/ls.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/ls.h b/src/ls.h
index cb99df299..ef19676b1 100644
--- a/src/ls.h
+++ b/src/ls.h
@@ -21,11 +21,15 @@
#include "../config.h"
+#include "inputPlugin.h"
+
#include <stdio.h>
#include <time.h>
int lsPlaylists(FILE * fp, char * utf8path);
+char * getSuffix(char * utf8file);
+
int isRemoteUrl(char * url);
int isFile(char * utf8file, time_t * mtime);
@@ -34,19 +38,7 @@ int isDir(char * utf8name);
int isPlaylist(char * utf8file);
-int isMusic(char * utf8file, time_t * mtime);
-
-int hasWaveSuffix(char * utf8file);
-
-int hasMp3Suffix(char * utf8file);
-
-int hasAacSuffix(char * utf8file);
-
-int hasMp4Suffix(char * utf8file);
-
-int hasOggSuffix(char * utf8file);
-
-int hasFlacSuffix(char * utf8file);
+InputPlugin * isMusic(char * utf8file, time_t * mtime);
char * dupAndStripPlaylistSuffix(char * file);