ConfigData: overload GetBlockPath() with default value

This commit is contained in:
Max Kellermann
2013-08-10 11:10:30 +02:00
parent 25e338a098
commit 1c823e9d1f
2 changed files with 22 additions and 6 deletions

View File

@@ -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