From a59e6d0bdc38728c96254f589fa2e64f0542a8a8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 7 Nov 2006 20:34:46 +0000 Subject: Add textfile_casedel() function --- common/textfile.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/textfile.c') diff --git a/common/textfile.c b/common/textfile.c index 8c46563c..795c99a3 100644 --- a/common/textfile.c +++ b/common/textfile.c @@ -320,6 +320,11 @@ int textfile_del(const char *pathname, const char *key) return write_key(pathname, key, NULL, 0); } +int textfile_casedel(const char *pathname, const char *key) +{ + return write_key(pathname, key, NULL, 1); +} + char *textfile_get(const char *pathname, const char *key) { return read_key(pathname, key, 0); -- cgit