summaryrefslogtreecommitdiffstats
path: root/common/textfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/textfile.c')
-rw-r--r--common/textfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/textfile.c b/common/textfile.c
index 895e3f3d..ea7e80bb 100644
--- a/common/textfile.c
+++ b/common/textfile.c
@@ -320,6 +320,11 @@ int textfile_put(const char *pathname, const char *key, const char *value)
return write_key(pathname, key, value, 0);
}
+int textfile_caseput(const char *pathname, const char *key, const char *value)
+{
+ return write_key(pathname, key, value, 1);
+}
+
int textfile_del(const char *pathname, const char *key)
{
return write_key(pathname, key, NULL, 0);