aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-02-22 07:53:10 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-02-22 07:53:10 +0000
commited1760b6b3194d68cdf6edbae01079e9efbc2e09 (patch)
tree9a0596fed56b4985e15b7d677c43c0bda80fbabb /cfg.h
parentd302e66cd7b633e557bcb1504149ff3a7b39198c (diff)
downloadlcd4linux-ed1760b6b3194d68cdf6edbae01079e9efbc2e09.tar.gz
[lcd4linux @ 2003-02-22 07:53:09 by reinelt]
cfg_get(key,defval) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@183 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'cfg.h')
-rw-r--r--cfg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cfg.h b/cfg.h
index 0f7d778..612528e 100644
--- a/cfg.h
+++ b/cfg.h
@@ -1,4 +1,4 @@
-/* $Id: cfg.h,v 1.2 2000/04/03 04:46:38 reinelt Exp $
+/* $Id: cfg.h,v 1.3 2003/02/22 07:53:10 reinelt Exp $
*
* config file stuff
*
@@ -20,6 +20,9 @@
*
*
* $Log: cfg.h,v $
+ * Revision 1.3 2003/02/22 07:53:10 reinelt
+ * cfg_get(key,defval)
+ *
* Revision 1.2 2000/04/03 04:46:38 reinelt
*
* added '-c key=val' option
@@ -39,7 +42,7 @@
int cfg_cmd (char *arg);
void cfg_set (char *key, char *value);
-char *cfg_get (char *key);
+char *cfg_get (char *key, char *defval);
int cfg_read (char *file);
char *cfg_file (void);