aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-23 23:31:31 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-23 23:31:31 -0500
commit5bfa373eeeb2d76879fe8b0ea130724176f54e81 (patch)
treef3485ceec073bb6ed01a5a167c48096116115d08 /src/common/address.h
parent365e302f6153a99fc79b7bad8fafa1d61e839e55 (diff)
downloadtor-5bfa373eeeb2d76879fe8b0ea130724176f54e81.tar
tor-5bfa373eeeb2d76879fe8b0ea130724176f54e81.tar.gz
Remove some totally unused functions
Diffstat (limited to 'src/common/address.h')
-rw-r--r--src/common/address.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/address.h b/src/common/address.h
index 9cbc32ce9..77e585534 100644
--- a/src/common/address.h
+++ b/src/common/address.h
@@ -219,11 +219,7 @@ int addr_port_lookup(int severity, const char *addrport, char **address,
uint32_t *addr, uint16_t *port_out);
int parse_port_range(const char *port, uint16_t *port_min_out,
uint16_t *port_max_out);
-int parse_addr_and_port_range(const char *s, uint32_t *addr_out,
- maskbits_t *maskbits_out, uint16_t *port_min_out,
- uint16_t *port_max_out);
int addr_mask_get_bits(uint32_t mask);
-int addr_mask_cmp_bits(uint32_t a1, uint32_t a2, maskbits_t bits);
/** Length of a buffer to allocate to hold the results of tor_inet_ntoa.*/
#define INET_NTOA_BUF_LEN 16
int tor_inet_ntoa(const struct in_addr *in, char *buf, size_t buf_len);