diff options
author | David Goulet <dgoulet@ev0ke.net> | 2015-01-28 17:55:38 -0500 |
---|---|---|
committer | David Goulet <dgoulet@ev0ke.net> | 2015-01-28 17:55:38 -0500 |
commit | bf3fb55c4721cf9228c24060a15397d2b8a62ee7 (patch) | |
tree | 04b6c4732e18af35a184b5620c8c05ae7b92a29c /src/or/config.h | |
parent | a3de2dfde6a92c0fe7ca755aa7bc1aa046c463a8 (diff) | |
download | tor-bf3fb55c4721cf9228c24060a15397d2b8a62ee7.tar.gz tor-bf3fb55c4721cf9228c24060a15397d2b8a62ee7.zip |
Support unix: prefix in port configuration
It's now possible to use SocksPort or any other kind of port that can use a
Unix socket like so:
SocksPort unix:/foo/bar/unix.sock
Fixes #14451
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index 6bd3eb5734..b064f05321 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -113,6 +113,7 @@ 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); /** Represents the information stored in a torrc Bridge line. */ typedef struct bridge_line_t { |