From 3c6816cd0d4eb03edd3b2ee1474ce2fbcbf79c63 Mon Sep 17 00:00:00 2001 From: kraxel Date: Tue, 8 Jun 2004 08:36:57 +0000 Subject: - fbi: add config file support to fbi - fbi: misc fixes --- parseconfig.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'parseconfig.h') 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); -- cgit