diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-02-22 07:53:10 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-02-22 07:53:10 +0000 |
commit | ed1760b6b3194d68cdf6edbae01079e9efbc2e09 (patch) | |
tree | 9a0596fed56b4985e15b7d677c43c0bda80fbabb /cfg.h | |
parent | d302e66cd7b633e557bcb1504149ff3a7b39198c (diff) | |
download | lcd4linux-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.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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); |