summaryrefslogtreecommitdiffstats
path: root/common/textfile.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-30 00:35:39 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-30 00:35:39 +0000
commit44385c0baa98b0e27dad39cb8bd0e33ce5a027f6 (patch)
treee216d9746db798291f00dade69b46f33fdf2ff45 /common/textfile.h
parent3882b4e761ed1411406e375ec1b4b0790509939e (diff)
Move create_dirs() and create_file() into the textfile library
Diffstat (limited to 'common/textfile.h')
-rw-r--r--common/textfile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/textfile.h b/common/textfile.h
index 4f3cf3d4..bd7c7470 100644
--- a/common/textfile.h
+++ b/common/textfile.h
@@ -26,5 +26,8 @@
* $Id$
*/
+int create_dirs(char *filename, mode_t mode);
+int create_file(char *filename, mode_t mode);
+
int textfile_put(char *pathname, char *key, char *value);
char *textfile_get(char *pathname, char *key);