diff options
author | Max Kellermann <max@duempel.org> | 2009-01-17 20:23:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-17 20:23:56 +0100 |
commit | 7acc62366cb59aba414821563cc89e01e96c1987 (patch) | |
tree | 67ad209293ec42de76ad2f12c09527f7d13698f1 /src/conf.h | |
parent | a1a97cc048a443eb71944848592b9827991600fd (diff) | |
download | mpd-7acc62366cb59aba414821563cc89e01e96c1987.tar.gz mpd-7acc62366cb59aba414821563cc89e01e96c1987.tar.xz mpd-7acc62366cb59aba414821563cc89e01e96c1987.zip |
conf: replaced getBoolBlockParam() with config_get_block_bool()
No "force" parameter, pass a default value instead.
Diffstat (limited to 'src/conf.h')
-rw-r--r-- | src/conf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf.h b/src/conf.h index 33782beb5..435adf694 100644 --- a/src/conf.h +++ b/src/conf.h @@ -108,8 +108,9 @@ parseConfigFilePath(const char *name, int force); bool config_get_bool(const char *name, bool default_value); -int -getBoolBlockParam(struct config_param *param, const char *name, int force); +bool +config_get_block_bool(struct config_param *param, const char *name, + bool default_value); struct config_param * newConfigParam(const char *value, int line); |