diff options
author | kraxel <kraxel> | 2004-06-08 08:36:57 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2004-06-08 08:36:57 +0000 |
commit | 3c6816cd0d4eb03edd3b2ee1474ce2fbcbf79c63 (patch) | |
tree | 049c97b8bc4c8cdbb77f0e0ed14860fe831a6b6d /parseconfig.h | |
parent | 41ca47fd936acb3524c69e417c03a979b2c0adb3 (diff) | |
download | fbida-3c6816cd0d4eb03edd3b2ee1474ce2fbcbf79c63.tar.gz |
- fbi: add config file support to fbi
- fbi: misc fixes
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); |