diff src/ft.h @ 4594:a2c95c0d7333

[gaim-migrate @ 4879] I need the ack thing so Gaim will be able to exchange files with MacAIM clizients. I think. The other changes makes gaim call gaim_xfer_end after reading in the # of bytes in the file. Previously it only called gaim_xfer_end when the other end closed the socket. I could write an oscar_xfer_read function that does this, but I would basically be duplicating all of gaim_xfer_read, and I thought this was a little clean. Chipster can lay the smack down on me if this is too ugly. I figured some of this will have to change if multiple files per transfer is ever supported. Gaim doesn't provide support for that [insert "support" related joke here]. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 20 Feb 2003 21:08:46 +0000
parents 05476ef20d58
children 63c022ca157c
line wrap: on
line diff
--- a/src/ft.h	Thu Feb 20 12:03:08 2003 +0000
+++ b/src/ft.h	Thu Feb 20 21:08:46 2003 +0000
@@ -96,7 +96,8 @@
 		size_t (*read)(char **buffer, struct gaim_xfer *xfer);
 		size_t (*write)(const char *buffer, size_t size,
 						struct gaim_xfer *xfer);
-		void (*ack)(struct gaim_xfer *xfer);
+		void (*ack)(struct gaim_xfer *xfer, const char *buffer, 
+						size_t size);
 
 	} ops;