aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-06-19 09:02:14 +0200
committerMax Kellermann <max@duempel.org>2009-06-25 08:42:25 +0200
commit637c6a1850963638018e57b70ae3b807c3028a1d (patch)
tree57186f65dcb8e7f87f8f974efa954fc7d035783e /src/conf.h
parent0cbc4012e85c275c64ad551ba4484ee5f505fe4c (diff)
downloadmpd-637c6a1850963638018e57b70ae3b807c3028a1d.tar.gz
mpd-637c6a1850963638018e57b70ae3b807c3028a1d.tar.xz
mpd-637c6a1850963638018e57b70ae3b807c3028a1d.zip
conf: log unused/unknown block parameters
Diffstat (limited to '')
-rw-r--r--src/conf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 1b3e074e1..8891879e7 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -100,6 +100,12 @@ struct config_param {
void config_global_init(void);
void config_global_finish(void);
+/**
+ * Call this function after all configuration has been evaluated. It
+ * checks for unused parameters, and logs warnings.
+ */
+void config_global_check(void);
+
void config_read_file(const char *file);
/* don't free the returned value