mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Passive DCC support by Francesco Fracassi (francesco.f at openssl.it)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3236 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2a12dfb9d0
commit
af4bcb70f2
11 changed files with 424 additions and 108 deletions
|
|
@ -14,6 +14,7 @@ typedef struct {
|
|||
char *servertag;
|
||||
char *nick;
|
||||
char *file;
|
||||
int passive; /* for passive DCCs */
|
||||
} DCC_QUEUE_REC;
|
||||
|
||||
/* create a new queue. returns it's designation number (int) */
|
||||
|
|
@ -28,6 +29,9 @@ int dcc_queue_old(const char *nick, const char *servertag);
|
|||
/* adds nick/fname/servertag triplet into queue */
|
||||
void dcc_queue_add(int queue, int mode, const char *nick, const char *fname,
|
||||
const char *servertag, CHAT_DCC_REC *chat);
|
||||
void dcc_queue_add_passive(int queue, int mode, const char *nick,
|
||||
const char *fname, const char *servertag,
|
||||
CHAT_DCC_REC *chat);
|
||||
|
||||
int dcc_queue_remove_head(int queue);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue