summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-03 16:32:00 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-04 15:43:20 -0400
commit05aed5b635fa7148fe2a4ea87e7296fa6bec3087 (patch)
treef45449d1ee6666ed094cd0afed4f158099f2e31d /src/or/config.h
parent684500519d5060fcbcc410a0e71d8d9a32fa8220 (diff)
downloadtor-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.h6
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 {