aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2017-05-18 23:44:16 +0100
committerDaniel Pinto <danielpinto52@gmail.com>2017-05-18 23:44:16 +0100
commitba3a5f82f11388237a3ba4995ddf0b6ffaaf492a (patch)
treec0cf4342524cd040e24fe9cc420bb70e21c0a9d5 /src/common/util.h
parentec6b2bbf9bb561e34f9fbe6663d1eb691604348d (diff)
downloadtor-ba3a5f82f11388237a3ba4995ddf0b6ffaaf492a.tar.gz
tor-ba3a5f82f11388237a3ba4995ddf0b6ffaaf492a.zip
Add support for %include funcionality on torrc #1922
config_get_lines is now split into two functions: - config_get_lines which is the same as before we had %include - config_get_lines_include which actually processes %include
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 18eb57f1bc..d56abcee2e 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -389,6 +389,7 @@ char *read_file_to_str_until_eof(int fd, size_t max_bytes_to_read,
size_t *sz_out)
ATTR_MALLOC;
const char *unescape_string(const char *s, char **result, size_t *size_out);
+char *get_unquoted_path(const char *path);
char *expand_filename(const char *filename);
MOCK_DECL(struct smartlist_t *, tor_listdir, (const char *dirname));
int path_is_relative(const char *filename);