aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-09 06:54:43 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-09 06:54:43 +0000
commitdd4d20ad1a3970752a4fe81c95c164bf751c0f16 (patch)
treec78e80eb3a22e818c6039ca5aa68c7f46000fd94 /cfg.h
parentca55019e85e081afe878a93ba0dc83a44d862de9 (diff)
downloadlcd4linux-dd4d20ad1a3970752a4fe81c95c164bf751c0f16.tar.gz
[lcd4linux @ 2003-09-09 06:54:43 by reinelt]
new function 'cfg_number()' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@233 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'cfg.h')
-rw-r--r--cfg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cfg.h b/cfg.h
index cb4b86a..fc35a4d 100644
--- a/cfg.h
+++ b/cfg.h
@@ -1,4 +1,4 @@
-/* $Id: cfg.h,v 1.4 2003/08/24 05:17:58 reinelt Exp $
+/* $Id: cfg.h,v 1.5 2003/09/09 06:54:43 reinelt Exp $
*
* config file stuff
*
@@ -20,6 +20,9 @@
*
*
* $Log: cfg.h,v $
+ * Revision 1.5 2003/09/09 06:54:43 reinelt
+ * new function 'cfg_number()'
+ *
* Revision 1.4 2003/08/24 05:17:58 reinelt
* liblcd4linux patch from Patrick Schemitz
*
@@ -47,10 +50,14 @@ 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);
+extern int (*cfg_number) (char *key, int defval,
+ int min, int max, int *value);
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);
+int l4l_cfg_number (char *key, int defval,
+ int min, int max, int *value);
#endif