diff options
author | reinelt <> | 2004-01-10 20:22:33 +0000 |
---|---|---|
committer | reinelt <> | 2004-01-10 20:22:33 +0000 |
commit | 866b24820cd9220f001b5ac18be8e881ec341cee (patch) | |
tree | cc950b0ce0cb241f374de0671aa2bc2cacae8140 /cfg.h | |
parent | a5a10e14a47d027a579058f54ac278029cdb2afc (diff) | |
download | lcd4linux-866b24820cd9220f001b5ac18be8e881ec341cee.tar.gz |
[lcd4linux @ 2004-01-10 20:22:33 by reinelt]
added new function 'cfg_list()' (not finished yet)
added layout.c (will replace processor.c someday)
added widget_text.c (will be the first and most important widget)
modified lcd4linux.c so that old-style configs should work, too
Diffstat (limited to '')
-rw-r--r-- | cfg.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: cfg.h,v 1.7 2004/01/09 04:16:06 reinelt Exp $ +/* $Id: cfg.h,v 1.8 2004/01/10 20:22:33 reinelt Exp $ * * config file stuff * @@ -22,6 +22,12 @@ * * * $Log: cfg.h,v $ + * Revision 1.8 2004/01/10 20:22:33 reinelt + * added new function 'cfg_list()' (not finished yet) + * added layout.c (will replace processor.c someday) + * added widget_text.c (will be the first and most important widget) + * modified lcd4linux.c so that old-style configs should work, too + * * Revision 1.7 2004/01/09 04:16:06 reinelt * added 'section' argument to cfg_get(), but NULLed it on all calls by now. * @@ -57,6 +63,7 @@ extern int (*cfg_init) (char *source); extern char *(*cfg_source) (void); extern int (*cfg_cmd) (char *arg); +extern char *(*cfg_list) (char *section); extern char *(*cfg_get) (char *section, char *key, char *defval); extern int (*cfg_number) (char *section, char *key, int defval, int min, int max, int *value); @@ -64,6 +71,7 @@ extern int (*cfg_number) (char *section, char *key, int defval, int l4l_cfg_init (char *file); char *l4l_cfg_source (void); int l4l_cfg_cmd (char *arg); +char *l4l_cfg_list (char *section); char *l4l_cfg_get (char *section, char *key, char *defval); int l4l_cfg_number (char *section, char *key, int defval, int min, int max, int *value); |