diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-25 17:35:47 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-25 17:35:47 +0000 |
commit | e6f006009ffc82f3ba70fac4b166123f07e8a114 (patch) | |
tree | 5424b646c26647b6270d3f42a93bc09f77132194 /src/irc/dcc/dcc.h | |
parent | e8b71dcd9802fe6c6e4e7966dfc35786586ddf50 (diff) | |
download | irssi-e6f006009ffc82f3ba70fac4b166123f07e8a114.zip |
/SET dcc_own_ip now affects also which interface irssi uses to connect to
outgoing DCC connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2150 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc.h')
-rw-r--r-- | src/irc/dcc/dcc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/dcc/dcc.h b/src/irc/dcc/dcc.h index 57a0e2dc..5a4c9e23 100644 --- a/src/irc/dcc/dcc.h +++ b/src/irc/dcc/dcc.h @@ -49,6 +49,8 @@ void dcc_str2ip(const char *str, IPADDR *ip); /* Start listening for incoming connections */ GIOChannel *dcc_listen(GIOChannel *iface, IPADDR *ip, int *port); +/* Connect to specified IP address using the correct own_ip. */ +GIOChannel *dcc_connect_ip(IPADDR *ip, int port); /* Close DCC - sends "dcc closed" signal and calls dcc_destroy() */ void dcc_close(DCC_REC *dcc); |