diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-09-22 21:59:17 +0200 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-09-22 21:59:17 +0200 |
commit | f5f3d7cc98f24799f562e8d3126ea1c2786a6547 (patch) | |
tree | c229a706535599a59c4f29ea14db769859686465 /src/core/network.h | |
parent | 2d69deb0a36516bac9514c6d53a1389b0a4b031a (diff) | |
download | irssi-f5f3d7cc98f24799f562e8d3126ea1c2786a6547.zip |
Revert "Network and IPv{4,6} related changes"
Diffstat (limited to 'src/core/network.h')
-rw-r--r-- | src/core/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.h b/src/core/network.h index ea8b3055..fa7e9675 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -71,7 +71,7 @@ int net_transmit(GIOChannel *handle, const char *data, int len); /* Get IP addresses for host, both IPv4 and IPv6 if possible. If ip->family is 0, the address wasn't found. Returns 0 = ok, others = error code for net_gethosterror() */ -int net_gethostbyname(const char *addr, IPADDR *ip); +int net_gethostbyname(const char *addr, IPADDR *ip4, IPADDR *ip6); /* Get name for host, *name should be g_free()'d unless it's NULL. Return values are the same as with net_gethostbyname() */ int net_gethostbyaddr(IPADDR *ip, char **name); |