diff options
Diffstat (limited to 'parseconfig.h')
-rw-r--r-- | parseconfig.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/parseconfig.h b/parseconfig.h index 90abbfe..2908d9a 100644 --- a/parseconfig.h +++ b/parseconfig.h @@ -9,6 +9,7 @@ struct cfg_option { char *entry; }; struct cfg_cmdline { + char letter; char *cmdline; struct cfg_option option; char *value; @@ -56,7 +57,8 @@ int cfg_get_int(char *dname, char *sname, char *ename, int def); int cfg_get_signed_int(char *dname, char *sname, char *ename, unsigned int def); -float cfg_get_float(char *dname, char *sname, char *ename); +float cfg_get_float(char *dname, char *sname, char *ename, + float def); int cfg_get_bool(char *dname, char *sname, char *ename, int def); |