diff options
Diffstat (limited to '')
-rw-r--r-- | src/mapper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mapper.h b/src/mapper.h index d33a21bbf..874add377 100644 --- a/src/mapper.h +++ b/src/mapper.h @@ -23,6 +23,8 @@ #ifndef MPD_MAPPER_H #define MPD_MAPPER_H +#include <stdbool.h> + #define PLAYLIST_FILE_SUFFIX "m3u" struct directory; @@ -33,6 +35,12 @@ void mapper_init(void); void mapper_finish(void); /** + * Returns true if a music directory was configured. + */ +bool +mapper_has_music_directory(void); + +/** * Determines the absolute file system path of a relative URI. This * is basically done by converting the URI to the file system charset * and prepending the music directory. |