diff options
author | Max Kellermann <max@duempel.org> | 2009-06-19 09:02:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-06-25 08:42:25 +0200 |
commit | 637c6a1850963638018e57b70ae3b807c3028a1d (patch) | |
tree | 57186f65dcb8e7f87f8f974efa954fc7d035783e /src/conf.h | |
parent | 0cbc4012e85c275c64ad551ba4484ee5f505fe4c (diff) | |
download | mpd-637c6a1850963638018e57b70ae3b807c3028a1d.tar.gz mpd-637c6a1850963638018e57b70ae3b807c3028a1d.tar.xz mpd-637c6a1850963638018e57b70ae3b807c3028a1d.zip |
conf: log unused/unknown block parameters
Diffstat (limited to 'src/conf.h')
-rw-r--r-- | src/conf.h | 6 |
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 |