diff options
author | Linus Nordberg <linus@torproject.org> | 2012-08-31 23:02:19 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-04 12:03:42 -0400 |
commit | 585ef0697811e7d62ab17142c8eed2f9372cd074 (patch) | |
tree | 7440ac60a7cf721561c4387951ee18b71f1a1239 /src/common/address.h | |
parent | 68901da5a1dcfb210f7e8210af0b63c6161f9b63 (diff) | |
download | tor-585ef0697811e7d62ab17142c8eed2f9372cd074.tar.gz tor-585ef0697811e7d62ab17142c8eed2f9372cd074.zip |
Add tor_addr_port_new().
Diffstat (limited to 'src/common/address.h')
-rw-r--r-- | src/common/address.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/address.h b/src/common/address.h index c6c126862a..27dff66204 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -221,5 +221,7 @@ int tor_inet_ntoa(const struct in_addr *in, char *buf, size_t buf_len); char *tor_dup_ip(uint32_t addr) ATTR_MALLOC; int get_interface_address(int severity, uint32_t *addr); +tor_addr_port_t *tor_addr_port_new(const tor_addr_t *addr, uint16_t port); + #endif |