aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 19:45:51 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 19:45:51 +0100
commit65f2386b39e88fd1ee5af65336e41ba184d31cf2 (patch)
tree695c14ea66774fda67000c3babeea770cf8d96bf /src/conf.h
parenta531a1e65075d27574bc31d4bac7ab20cb750efd (diff)
downloadmpd-65f2386b39e88fd1ee5af65336e41ba184d31cf2.tar.gz
mpd-65f2386b39e88fd1ee5af65336e41ba184d31cf2.tar.xz
mpd-65f2386b39e88fd1ee5af65336e41ba184d31cf2.zip
conf: added config_get_block_unsigned()
Eliminate some more getBlockParam() invocations.
Diffstat (limited to '')
-rw-r--r--src/conf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 3026c9579..2aed9af9a 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -125,6 +125,10 @@ config_dup_block_string(struct config_param *param, const char *name,
return g_strdup(config_get_block_string(param, name, default_value));
}
+unsigned
+config_get_block_unsigned(struct config_param *param, const char *name,
+ unsigned default_value);
+
bool
config_get_block_bool(struct config_param *param, const char *name,
bool default_value);