summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-06-05 22:47:04 +0200
committerLemonBoy <thatlemon@gmail.com>2016-06-05 22:47:04 +0200
commit98fce5f8074abcf5d35a1834952e42cd79384db2 (patch)
tree833497071d46fe7d3dcd18e2cd5cd6d438f70c50 /src/core
parent0060f682c213dc25901f4c0ab01a01176e14da9e (diff)
downloadirssi-98fce5f8074abcf5d35a1834952e42cd79384db2.zip
Deprecate net_connect()
Diffstat (limited to 'src/core')
-rw-r--r--src/core/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.h b/src/core/network.h
index fb627b4d..03f3b813 100644
--- a/src/core/network.h
+++ b/src/core/network.h
@@ -37,7 +37,7 @@ GIOChannel *g_io_channel_new(int handle);
int net_ip_compare(IPADDR *ip1, IPADDR *ip2);
/* Connect to socket */
-GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip);
+GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip) G_GNUC_DEPRECATED;
/* Connect to socket with ip address and SSL*/
GIOChannel *net_connect_ip_ssl(IPADDR *ip, int port, IPADDR *my_ip, SERVER_REC *server);
int irssi_ssl_handshake(GIOChannel *handle);