aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2012-08-31 23:02:19 +0200
committerNick Mathewson <nickm@torproject.org>2012-09-04 12:03:42 -0400
commit585ef0697811e7d62ab17142c8eed2f9372cd074 (patch)
tree7440ac60a7cf721561c4387951ee18b71f1a1239 /src/common/address.h
parent68901da5a1dcfb210f7e8210af0b63c6161f9b63 (diff)
downloadtor-585ef0697811e7d62ab17142c8eed2f9372cd074.tar
tor-585ef0697811e7d62ab17142c8eed2f9372cd074.tar.gz
Add tor_addr_port_new().
Diffstat (limited to 'src/common/address.h')
-rw-r--r--src/common/address.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/address.h b/src/common/address.h
index c6c126862..27dff6620 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