aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/conf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index e5875d9b7..14cc883b9 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -19,6 +19,8 @@
#ifndef MPD_CONF_H
#define MPD_CONF_H
+#include <stdbool.h>
+
#define CONF_MUSIC_DIR "music_directory"
#define CONF_PLAYLIST_DIR "playlist_directory"
#define CONF_DB_FILE "db_file"
@@ -97,6 +99,8 @@ ConfigParam *parseConfigFilePath(const char *name, int force);
int getBoolConfigParam(const char *name, int force);
+bool config_get_bool(const char *name, bool default_value);
+
int getBoolBlockParam(ConfigParam *param, const char *name, int force);
#endif