aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-10 20:22:33 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-10 20:22:33 +0000
commita390d8386961109a8e182897753080538dce8625 (patch)
treecc950b0ce0cb241f374de0671aa2bc2cacae8140 /cfg.h
parent76ffcfa4c6fb4cf45126bfd97c3ab0affe1e8e0d (diff)
downloadlcd4linux-a390d8386961109a8e182897753080538dce8625.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 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@304 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'cfg.h')
-rw-r--r--cfg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/cfg.h b/cfg.h
index b1fa8d6..49895be 100644
--- a/cfg.h
+++ b/cfg.h
@@ -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);