aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-21 04:11:23 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-21 04:11:23 +0000
commit598162e395ca82db078ff306ba4f7adae3c8bf4b (patch)
treeffcb3698ec2f182bd50852276e241ee5b8fab1bb /src/ls.h
parent49455434f4f04784c02d4d23cfaa7688a3d4edbf (diff)
downloadmpd-598162e395ca82db078ff306ba4f7adae3c8bf4b.tar.gz
mpd-598162e395ca82db078ff306ba4f7adae3c8bf4b.tar.xz
mpd-598162e395ca82db078ff306ba4f7adae3c8bf4b.zip
todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1597 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/ls.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ls.h b/src/ls.h
index ba0cfcaa6..dd8dddd9c 100644
--- a/src/ls.h
+++ b/src/ls.h
@@ -24,6 +24,9 @@
#include "inputPlugin.h"
#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
#include <time.h>
int lsPlaylists(FILE * fp, char * utf8path);
@@ -34,12 +37,16 @@ int isValidRemoteUtf8Url(char * utf8url);
int isRemoteUrl(char * url);
+int myStat(char * utf8file, struct stat * st);
+
int isFile(char * utf8file, time_t * mtime);
int isDir(char * utf8name);
int isPlaylist(char * utf8file);
+InputPlugin * hasMusicSuffix(char * utf8file);
+
InputPlugin * isMusic(char * utf8file, time_t * mtime);
char * dupAndStripPlaylistSuffix(char * file);
@@ -47,4 +54,3 @@ char * dupAndStripPlaylistSuffix(char * file);
int printRemoteUrlHandlers(FILE * fp);
#endif
-/* vim:set shiftwidth=4 tabstop=8 expandtab: */