aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/ft.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ft.h')
-rw-r--r--protocols/ft.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/ft.h b/protocols/ft.h
index 1155f06f..159f16f2 100644
--- a/protocols/ft.h
+++ b/protocols/ft.h
@@ -106,6 +106,7 @@ typedef struct file_transfer {
* IM-protocol specific data associated with this file transfer.
*/
gpointer data;
+ struct im_connection *ic;
/*
* Private data.
@@ -167,9 +168,9 @@ file_transfer_t *imcb_file_send_start( struct im_connection *ic, char *user_nick
* This should be called by a protocol when the transfer is canceled. Note that
* the canceled() and free() callbacks given in file will be called by this function.
*/
-void imcb_file_canceled( file_transfer_t *file, char *reason );
+void imcb_file_canceled( struct im_connection *ic, file_transfer_t *file, char *reason );
-gboolean imcb_file_recv_start( file_transfer_t *ft );
+gboolean imcb_file_recv_start( struct im_connection *ic, file_transfer_t *ft );
-void imcb_file_finished( file_transfer_t *file );
+void imcb_file_finished( struct im_connection *ic, file_transfer_t *file );
#endif