From c184195177c8219d46f687e42234edbc33c0eeb6 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 15 Jan 2009 15:15:24 +0000 Subject: new function cfg_rename() git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@967 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- cfg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cfg.h') 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 - * Copyright (C) 2004 The LCD4Linux Team + * Copyright (C) 2004, 2009 The LCD4Linux Team * * 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); -- cgit v1.2.3