summaryrefslogtreecommitdiff
path: root/src/irc/irc.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-09-08 21:48:45 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-09-08 21:48:45 +0000
commit9759d72d3d98377469c6560ec9ec49defccf2727 (patch)
treeb867d2876e4984a71a6839cb52252047470e06f9 /src/irc/irc.h
parent92eb995917d43a7e4fe9afeb8516424ba7e72fc7 (diff)
downloadweechat-9759d72d3d98377469c6560ec9ec49defccf2727.zip
Incoming DCC file
Diffstat (limited to 'src/irc/irc.h')
-rw-r--r--src/irc/irc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irc/irc.h b/src/irc/irc.h
index 905e87952..fb0f03b56 100644
--- a/src/irc/irc.h
+++ b/src/irc/irc.h
@@ -186,7 +186,8 @@ struct t_dcc
char *nick; /* remote nick */
int sock; /* socket for connection */
int file; /* local file (for reading or writing) */
- char *filename; /* local filename */
+ char *filename; /* filename */
+ char *local_filename; /* local filename */
unsigned long size; /* file size */
unsigned long pos; /* number of bytes received/sent */
t_dcc *next_dcc; /* link to next dcc file/chat */
@@ -245,6 +246,8 @@ extern int nick_get_max_length (t_irc_channel *);
extern void dcc_send ();
extern t_dcc *dcc_add (t_irc_server *, int, unsigned long, int, char *, char *,
unsigned int);
+extern void dcc_handle ();
+extern void dcc_end ();
/* IRC display (irc-diplay.c) */