diff options
author | Max Kellermann <max@duempel.org> | 2010-04-13 21:19:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-04-13 21:19:07 +0200 |
commit | 4d1eedbaa2be7e9e59f2332d9bf8886b9b634070 (patch) | |
tree | 4ae5dfad1be10baefe0534732667952ebf5d5260 /src/conf.h | |
parent | 6a958980388727048effaea081b68c8debfaa6df (diff) | |
download | mpd-4d1eedbaa2be7e9e59f2332d9bf8886b9b634070.tar.gz mpd-4d1eedbaa2be7e9e59f2332d9bf8886b9b634070.tar.xz mpd-4d1eedbaa2be7e9e59f2332d9bf8886b9b634070.zip |
conf: added function config_get_unsigned()
Diffstat (limited to 'src/conf.h')
-rw-r--r-- | src/conf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h index 7ffa6e44a..16360feee 100644 --- a/src/conf.h +++ b/src/conf.h @@ -164,6 +164,10 @@ config_get_path(const char *name); G_GNUC_PURE unsigned +config_get_unsigned(const char *name, unsigned default_value); + +G_GNUC_PURE +unsigned config_get_positive(const char *name, unsigned default_value); G_GNUC_PURE |