summaryrefslogtreecommitdiff
path: root/src/core/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/network.h')
-rw-r--r--src/core/network.h3
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*/