From 1c823e9d1f52ae54677bae884b1f5995292869f3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Aug 2013 11:10:30 +0200 Subject: ConfigData: overload GetBlockPath() with default value --- src/ConfigData.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ConfigData.hxx') 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 -- cgit v1.2.3