diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-03 16:32:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-04 15:43:20 -0400 |
commit | 05aed5b635fa7148fe2a4ea87e7296fa6bec3087 (patch) | |
tree | f45449d1ee6666ed094cd0afed4f158099f2e31d /src/common/util.h | |
parent | 684500519d5060fcbcc410a0e71d8d9a32fa8220 (diff) | |
download | tor-05aed5b635fa7148fe2a4ea87e7296fa6bec3087.tar.gz tor-05aed5b635fa7148fe2a4ea87e7296fa6bec3087.zip |
Allow a unix: address to contain a C-style quoted string.
Feature 18753 -- all this to allow spaces.
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 57605ccfd1..479fc8d610 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -385,6 +385,7 @@ MOCK_DECL_ATTR(char *, read_file_to_str, 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); const char *parse_config_line_from_str_verbose(const char *line, char **key_out, char **value_out, const char **err_out); |