aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigData.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-10 11:10:30 +0200
committerMax Kellermann <max@duempel.org>2013-08-10 11:52:31 +0200
commit1c823e9d1f52ae54677bae884b1f5995292869f3 (patch)
tree8feab2a54efe07f3425c5684ca21699a9c7742c6 /src/ConfigData.hxx
parent25e338a098c66f08a1b6bb166cf06c0f6a2f21a8 (diff)
downloadmpd-1c823e9d1f52ae54677bae884b1f5995292869f3.tar.gz
mpd-1c823e9d1f52ae54677bae884b1f5995292869f3.tar.xz
mpd-1c823e9d1f52ae54677bae884b1f5995292869f3.zip
ConfigData: overload GetBlockPath() with default value
Diffstat (limited to '')
-rw-r--r--src/ConfigData.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ConfigData.hxx b/src/ConfigData.hxx
index 4d9c0af79..a7a733e4d 100644
--- a/src/ConfigData.hxx
+++ b/src/ConfigData.hxx
@@ -112,6 +112,9 @@ struct config_param {
* Same as config_dup_path(), but looks up the setting in the
* specified block.
*/
+ Path GetBlockPath(const char *name, const char *default_value,
+ GError **error_r) const;
+
Path GetBlockPath(const char *name, GError **error_r) const;
gcc_pure