aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.h
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-15 15:15:24 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-15 15:15:24 +0000
commitc184195177c8219d46f687e42234edbc33c0eeb6 (patch)
tree3e68cb6f08041c57f4ae0e7a8431b9b4d160afdc /cfg.h
parent4a4c667eb7caa8e78e5175e80b503975a0ceb61c (diff)
downloadlcd4linux-c184195177c8219d46f687e42234edbc33c0eeb6.tar.gz
new function cfg_rename()
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@967 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'cfg.h')
-rw-r--r--cfg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfg.h b/cfg.h
index 2337439..2c672ed 100644
--- a/cfg.h
+++ b/cfg.h
@@ -4,7 +4,7 @@
* config file stuff
*
* Copyright (C) 1999, 2000 Michael Reinelt <michael@reinelt.co.at>
- * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
+ * Copyright (C) 2004, 2009 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* This file is part of LCD4Linux.
*
@@ -31,6 +31,7 @@ int cfg_init(const char *file);
char *cfg_source(void);
int cfg_cmd(const char *arg);
char *cfg_list(const char *section);
+int cfg_rename(const char *section, const char *old, const char *new);
char *cfg_get_raw(const char *section, const char *key, const char *defval);
char *cfg_get(const char *section, const char *key, const char *defval);
int cfg_number(const char *section, const char *key, const int defval, const int min, const int max, int *value);