summaryrefslogtreecommitdiff
path: root/src/ls.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-31 01:21:17 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-31 01:21:17 +0000
commitfd6aa253594e18877ca2380961c0425a7de21b2e (patch)
treeb86fc645573adef9c0de9bd5f22eadffe3d16814 /src/ls.h
parentd7893a3e76d261b33b83fd9333d85892b3308594 (diff)
mp3 and ogg plugin stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@1245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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);