aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.h
diff options
context:
space:
mode:
authorreinelt <>2003-08-24 05:17:58 +0000
committerreinelt <>2003-08-24 05:17:58 +0000
commite349ac4e73b4916c766721f22b1fbb667d25d0be (patch)
tree072381f83d0966b48fb518505e693e326d9b72ce /cfg.h
parentd36f45332730bf7055a51d940a6db816b29489ba (diff)
downloadlcd4linux-e349ac4e73b4916c766721f22b1fbb667d25d0be.tar.gz
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz
Diffstat (limited to 'cfg.h')
-rw-r--r--cfg.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/cfg.h b/cfg.h
index 612528e..cb4b86a 100644
--- a/cfg.h
+++ b/cfg.h
@@ -1,4 +1,4 @@
-/* $Id: cfg.h,v 1.3 2003/02/22 07:53:10 reinelt Exp $
+/* $Id: cfg.h,v 1.4 2003/08/24 05:17:58 reinelt Exp $
*
* config file stuff
*
@@ -20,6 +20,9 @@
*
*
* $Log: cfg.h,v $
+ * Revision 1.4 2003/08/24 05:17:58 reinelt
+ * liblcd4linux patch from Patrick Schemitz
+ *
* Revision 1.3 2003/02/22 07:53:10 reinelt
* cfg_get(key,defval)
*
@@ -40,10 +43,14 @@
#ifndef _CFG_H_
#define _CFG_H_
-int cfg_cmd (char *arg);
-void cfg_set (char *key, char *value);
-char *cfg_get (char *key, char *defval);
-int cfg_read (char *file);
-char *cfg_file (void);
+extern int (*cfg_init) (char *source);
+extern char *(*cfg_source) (void);
+extern int (*cfg_cmd) (char *arg);
+extern char *(*cfg_get) (char *key, char *defval);
+
+int l4l_cfg_init (char *file);
+char *l4l_cfg_source (void);
+int l4l_cfg_cmd (char *arg);
+char *l4l_cfg_get (char *key, char *defval);
#endif