diff options
author | Timo Sirainen <cras@irssi.org> | 2004-03-23 22:06:41 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-03-23 22:06:41 +0000 |
commit | af4bcb70f2634b8917166e948e9d631ad3b5cccd (patch) | |
tree | 28cfa9891aedd97ac1f73c1a2501cccba643bd20 /src/irc/dcc/dcc.h | |
parent | 2a12dfb9d00a6196e071c1e9a965e6e11aa46471 (diff) | |
download | irssi-af4bcb70f2634b8917166e948e9d631ad3b5cccd.zip |
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
Diffstat (limited to 'src/irc/dcc/dcc.h')
-rw-r--r-- | src/irc/dcc/dcc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/dcc/dcc.h b/src/irc/dcc/dcc.h index 5a4c9e23..10639207 100644 --- a/src/irc/dcc/dcc.h +++ b/src/irc/dcc/dcc.h @@ -24,6 +24,10 @@ typedef struct { #define dcc_is_waiting_user(dcc) \ ((dcc)->handle == NULL) +/* passive DCC */ +#define dcc_is_passive(dcc) \ + ((dcc)->pasv_id >= 0) + extern GSList *dcc_conns; void dcc_register_type(const char *type); |