mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
Sending files through botnet works.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@253 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9747762593
commit
ed14019530
10 changed files with 177 additions and 30 deletions
|
|
@ -48,6 +48,8 @@ typedef struct {
|
|||
int read_tag;
|
||||
void *buffer;
|
||||
|
||||
int file_handle; /* if bot is sending a file to us */
|
||||
|
||||
GSList *ircnets;
|
||||
} BOT_REC;
|
||||
|
||||
|
|
@ -104,6 +106,8 @@ void botnet_broadcast(BOTNET_REC *botnet, BOT_REC *except_bot,
|
|||
void botnet_send_cmd(BOTNET_REC *botnet, const char *source,
|
||||
const char *target, const char *data);
|
||||
|
||||
int botnet_send_file(BOTNET_REC *botnet, const char *target, const char *fname);
|
||||
|
||||
BOT_REC *botnet_find_master(BOTNET_REC *botnet, BOT_REC *old_master);
|
||||
void botnet_set_master(BOTNET_REC *botnet, BOT_REC *bot);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue