summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-01-07 20:44:09 +0100
committerDaniel Carl <danielcarl@gmx.de>2013-01-07 20:44:09 +0100
commit3b7fb4f22912df6dd6179b55596ac488065a4d1b (patch)
treea88999e0af35c725930300c8413b37df90cfb278 /src/util.h
parentec4140096c39ec47fb97df32698b9d71ee15f8d0 (diff)
Added new function to read file contents.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 12e6e8f..85e1db7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -27,5 +27,6 @@ gchar* util_get_cache_dir(void);
const gchar* util_get_home_dir(void);
void util_create_dir_if_not_exists(const gchar* dirpath);
void util_create_file_if_not_exists(const gchar* filename);
+gchar* util_get_file_contents(const gchar* filename, gsize* length);
#endif /* end of include guard: UTIL_H */