diff options
author | Will Storey <will@summercat.com> | 2017-10-13 18:28:26 -0700 |
---|---|---|
committer | Will Storey <will@summercat.com> | 2017-10-13 18:28:26 -0700 |
commit | da59fd7c2dd0641f623db2c67a244ddca3013d65 (patch) | |
tree | 842b9781dca8c74727a8132ef4a6f2dd7dad1b82 /src/core/network.h | |
parent | b8b90c76d4ea87d7e50c2a34fbc36ab732e3e89e (diff) | |
download | irssi-da59fd7c2dd0641f623db2c67a244ddca3013d65.zip |
Revert "Delete unused function net_ip_compare()"
This reverts commit cb5f3cba1f2b5dbad67bcc107f3fe4a1875cc52d.
Diffstat (limited to 'src/core/network.h')
-rw-r--r-- | src/core/network.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/network.h b/src/core/network.h index a02f0db9..84f3a56c 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -33,6 +33,9 @@ extern IPADDR ip4_any; GIOChannel *g_io_channel_new(int handle); +/* returns 1 if IPADDRs are the same */ +int net_ip_compare(IPADDR *ip1, IPADDR *ip2); + int net_connect_ip_handle(const IPADDR *ip, int port, const IPADDR *my_ip); /* Connect to socket with ip address and SSL*/ |