diff options
Diffstat (limited to '')
-rw-r--r-- | src/ls.h | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -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); |