summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-28 06:47:29 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-28 06:47:29 +0000
commit677707433e562eec675d5e6e487a008364ebea5b (patch)
tree4792768667e8ffd1d735e9604405645c1a19ac0d /src/common/util.h
parent0e0169d6fa280f94f5e3f38a8d67b1cdb6452517 (diff)
downloadtor-677707433e562eec675d5e6e487a008364ebea5b.tar.gz
tor-677707433e562eec675d5e6e487a008364ebea5b.zip
shift read_file_to_str() into util.c
svn:r504
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index c90175669f..65f2760c83 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -67,6 +67,7 @@ file_status_t file_status(const char *filename);
*/
int check_private_dir(const char *dirname, int create);
int write_str_to_file(const char *fname, const char *str);
+char *read_file_to_str(const char *filename);
/* Minimalist interface to run a void function in the background. On
unix calls fork, on win32 calls beginthread. Returns -1 on failure.