aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-05-24 17:06:59 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-05-24 17:06:59 +0000
commitc408bd5e903da0441f461aa564095ec581cb3cfd (patch)
tree40e464e712dbed7b55f45bc9f62b3b11388e31fe /src/directory.h
parent93b96edacc4a3a3e0ca32bec6cdbf96a1c068850 (diff)
downloadmpd-c408bd5e903da0441f461aa564095ec581cb3cfd.tar.gz
mpd-c408bd5e903da0441f461aa564095ec581cb3cfd.tar.xz
mpd-c408bd5e903da0441f461aa564095ec581cb3cfd.zip
Don't list playlists in lsinfo if the path isn't the root directory (they
can't be loaded anyway). git-svn-id: https://svn.musicpd.org/mpd/trunk@6244 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/directory.h')
-rw-r--r--src/directory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.h b/src/directory.h
index df682c3db..b1482988f 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -51,6 +51,8 @@ void initMp3Directory(void);
void closeMp3Directory(void);
+int isRootDirectory(char *name);
+
int printDirectoryInfo(int fd, char *dirname);
int checkDirectoryDB(void);