summaryrefslogtreecommitdiffstats
path: root/common/textfile.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-03-09 19:08:49 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-03-09 19:08:49 +0000
commit7297697c324a6113371fd60b3668320e5a4817a7 (patch)
tree94860b95ad4b13ee0c26ccf5b189e4a8d322e552 /common/textfile.h
parent9ebce18255f79c4aea900840a28ff6393ccea8d8 (diff)
Small cleanup to the common functions
Diffstat (limited to 'common/textfile.h')
-rw-r--r--common/textfile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/textfile.h b/common/textfile.h
index 2e6d57b2..b9c01ad3 100644
--- a/common/textfile.h
+++ b/common/textfile.h
@@ -21,6 +21,9 @@
*
*/
+#ifndef __TEXTFILE_H
+#define __TEXTFILE_H
+
int create_dirs(const char *filename, const mode_t mode);
int create_file(const char *filename, const mode_t mode);
@@ -30,3 +33,5 @@ char *textfile_get(const char *pathname, const char *key);
int textfile_foreach(const char *pathname,
void (*func)(char *key, char *value, void *data), void *data);
+
+#endif /* __TEXTFILE_H */