1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

DCC updated

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1163 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-28 16:15:55 +00:00 committed by cras
parent 3927ef9713
commit e76aafff31
2 changed files with 37 additions and 3 deletions

View File

@ -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

View File

@ -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"