diff options
Diffstat (limited to 'src/common/address.h')
-rw-r--r-- | src/common/address.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/address.h b/src/common/address.h index 067b7a0ca6..61c6eb80ee 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -206,6 +206,9 @@ int tor_addr_is_loopback(const tor_addr_t *addr); int tor_addr_port_split(int severity, const char *addrport, char **address_out, uint16_t *port_out); +int tor_addr_port_parse(int severity, const char *addrport, + tor_addr_t *address_out, uint16_t *port_out); + int tor_addr_hostname_is_local(const char *name); /* IPv4 helpers */ |