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/or/config.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/or/config.h')
-rw-r--r-- | src/or/config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h index 208659acb7..f5a19602f2 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -128,7 +128,11 @@ int addressmap_register_auto(const char *from, const char *to, time_t expires, addressmap_entry_source_t addrmap_source, const char **msg); -int config_parse_unix_port(const char *addrport, char **path_out); + +int port_cfg_line_extract_addrport(const char *line, + char **addrport_out, + int *is_unix_out, + const char **rest_out); /** Represents the information stored in a torrc Bridge line. */ typedef struct bridge_line_t { |