aboutsummaryrefslogtreecommitdiffstats
path: root/dcc.h
diff options
context:
space:
mode:
authorulim <a.sporto+bee@gmail.com>2008-08-04 16:21:49 +0200
committerulim <a.sporto+bee@gmail.com>2008-08-04 16:21:49 +0200
commit4ac647dbcef152bebde7209f7c9cbbf8a5e0fc37 (patch)
treed845669fadf79af229e72230369078389b16cad8 /dcc.h
parent8a90001ab2cde971abc64b8d5e4174dc4c4b0ae2 (diff)
moved some stuff around in preperation for MSN merge.
* both ends (proto&dcc) need to finish a transfer now for it to be finished * moved throughput calc. and some messages to dcc (no need to implement in protocols)
Diffstat (limited to 'dcc.h')
-rw-r--r--dcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dcc.h b/dcc.h
index de24dac0..4be5a338 100644
--- a/dcc.h
+++ b/dcc.h
@@ -82,6 +82,10 @@ typedef struct dcc_file_transfer {
/* if we're receiving, this is the sender's socket address */
struct sockaddr_storage saddr;
+ /* set to true if the protocol has finished
+ * (i.e. called imcb_file_finished)
+ */
+ int proto_finished;
} dcc_file_transfer_t;
file_transfer_t *dccs_send_start( struct im_connection *ic, char *user_nick, char *file_name, size_t file_size );