summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-03 04:40:05 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-03 04:40:05 +0000
commitb6a13b6cdf02bd017c887eb8b7224b5e967e1bb6 (patch)
treede977b88166502458286b9529b8e3124dbcfd2a7 /src/common/util.h
parent33b2abbc9005ef993bec3fc411bade881b125c11 (diff)
downloadtor-b6a13b6cdf02bd017c887eb8b7224b5e967e1bb6.tar.gz
tor-b6a13b6cdf02bd017c887eb8b7224b5e967e1bb6.zip
Add directory listing functions to util.[ch]. Watch the features creep!
svn:r4906
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 7dfce88992..eb39fd008a 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -123,6 +123,7 @@ int write_bytes_to_file(const char *fname, const char *str, size_t len,
char *read_file_to_str(const char *filename, int bin);
char *parse_line_from_str(char *line, char **key_out, char **value_out);
char *expand_filename(const char *filename);
+struct smartlist_t *tor_listdir(const char *dirname);
/* Net helpers */
int is_internal_IP(uint32_t ip);