summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-05 21:12:52 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-05 21:12:52 +0000
commit9f2f1dc70a7ed6495cf511249f3b9095fb40c38a (patch)
treeb54494da367fdeb1c4f3e90b559da6615b58e370 /src/irc/dcc/dcc.h
parent346808789cfd3556b8caf263bdd81982d6081296 (diff)
downloadirssi-9f2f1dc70a7ed6495cf511249f3b9095fb40c38a.zip
Server events: switched order of data and server parameters. it's now
SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc.h')
-rw-r--r--src/irc/dcc/dcc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc.h b/src/irc/dcc/dcc.h
index b97e4a21..5f67991b 100644
--- a/src/irc/dcc/dcc.h
+++ b/src/irc/dcc/dcc.h
@@ -80,12 +80,14 @@ const char *dcc_type2str(int type);
int dcc_str2type(const char *type);
void dcc_make_address(IPADDR *ip, char *host);
-DCC_REC *dcc_create(int type, GIOChannel *handle, const char *nick, const char *arg, IRC_SERVER_REC *server, DCC_REC *chat);
+DCC_REC *dcc_create(int type, GIOChannel *handle, const char *nick,
+ const char *arg, IRC_SERVER_REC *server, DCC_REC *chat);
void dcc_destroy(DCC_REC *dcc);
/* Send a CTCP message/notify to target. Send the CTCP via DCC chat if
`chat' is specified. */
-void dcc_ctcp_message(const char *target, IRC_SERVER_REC *server, DCC_REC *chat, int notice, const char *msg);
+void dcc_ctcp_message(IRC_SERVER_REC *server, const char *target,
+ DCC_REC *chat, int notice, const char *msg);
/* Send `data' to dcc chat. */
void dcc_chat_send(DCC_REC *dcc, const char *data);