diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-28 16:15:55 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-28 16:15:55 +0000 |
commit | e76aafff31496658c02686f0411d4adc83f70fb4 (patch) | |
tree | cb6a2c4829f0ee0ec1a7d01a280167cbd4a29024 | |
parent | 3927ef9713a5f1cd8adef0336382ff73a3c72df3 (diff) | |
download | irssi-e76aafff31496658c02686f0411d4adc83f70fb4.zip |
DCC updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1163 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/perl/irc/Dcc.xs | 38 | ||||
-rw-r--r-- | src/perl/irc/module.h | 2 |
2 files changed, 37 insertions, 3 deletions
diff --git a/src/perl/irc/Dcc.xs b/src/perl/irc/Dcc.xs index 222c80e4..2d45d506 100644 --- a/src/perl/irc/Dcc.xs +++ b/src/perl/irc/Dcc.xs @@ -12,15 +12,42 @@ PPCODE: } Irssi::Irc::Dcc -dcc_find_item(type, nick, arg) +dcc_find_request_latest(type) + int type + +Irssi::Irc::Dcc +dcc_find_request(type, nick, arg) int type char *nick char *arg +char * +dcc_type2str(type) + int type +CODE: + RETVAL = (char *) dcc_type2str(type); +OUTPUT: + RETVAL + +int +dcc_str2type(type) + char *type + Irssi::Irc::Dcc -dcc_find_by_port(nick, port) +dcc_create(type, nick, arg, server, chat) + int type char *nick - int port + char *arg + Irssi::Irc::Server server + Irssi::Irc::Dcc chat + +Irssi::Irc::Dcc +dcc_chat_find_id(id) + char *id + +char * +dcc_get_download_path(fname) + char *fname #******************************* MODULE = Irssi::Irc PACKAGE = Irssi::Windowitem PREFIX = item_ @@ -64,3 +91,8 @@ void dcc_chat_send(dcc, data) Irssi::Irc::Dcc dcc char *data + +void +dcc_reject(dcc, server) + Irssi::Irc::Dcc dcc + Irssi::Irc::Server server diff --git a/src/perl/irc/module.h b/src/perl/irc/module.h index 6e6e8e27..1c8890ea 100644 --- a/src/perl/irc/module.h +++ b/src/perl/irc/module.h @@ -11,6 +11,8 @@ #include "netsplit.h" #include "dcc/dcc.h" +#include "dcc/dcc-chat.h" +#include "dcc/dcc-get.h" #include "flood/autoignore.h" #include "notifylist/notifylist.h" |