diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-01-15 15:15:24 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-01-15 15:15:24 +0000 |
commit | c184195177c8219d46f687e42234edbc33c0eeb6 (patch) | |
tree | 3e68cb6f08041c57f4ae0e7a8431b9b4d160afdc /cfg.h | |
parent | 4a4c667eb7caa8e78e5175e80b503975a0ceb61c (diff) | |
download | lcd4linux-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |