aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 16:56:07 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 16:56:07 +0100
commit1f0dfb4407344996bbe874525413275b79da12b3 (patch)
tree6da8c04bf1e3c6143927d3a69eecb3532f88939f /src/database.h
parent9933144de7389b12b2a75cfb4320baecefa952af (diff)
downloadmpd-1f0dfb4407344996bbe874525413275b79da12b3.tar.gz
mpd-1f0dfb4407344996bbe874525413275b79da12b3.tar.xz
mpd-1f0dfb4407344996bbe874525413275b79da12b3.zip
mapper: make the music_directory optional
Without a music_directory, MPD is an excellent streaming client.
Diffstat (limited to 'src/database.h')
-rw-r--r--src/database.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/database.h b/src/database.h
index bb2ccce70..211cdc619 100644
--- a/src/database.h
+++ b/src/database.h
@@ -42,6 +42,10 @@ db_finish(void);
void
db_clear(void);
+/**
+ * Returns the root directory object. Returns NULL if there is no
+ * configured music directory.
+ */
struct directory *
db_get_root(void);