aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);