aboutsummaryrefslogtreecommitdiffstats
path: root/dcc.h
diff options
context:
space:
mode:
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 );