diff options
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 2f139515af..fde2557f58 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -126,6 +126,8 @@ int parse_addr_port(const char *addrport, char **address, uint32_t *addr, int parse_addr_and_port_range(const char *s, uint32_t *addr_out, uint32_t *mask_out, uint16_t *port_min_out, uint16_t *port_max_out); +#define INET_NTOA_BUF_LEN 16 +int tor_inet_ntoa(struct in_addr *in, char *buf, size_t buf_len); /* Process helpers */ void start_daemon(const char *desired_cwd); |