diff src/ft.h @ 4538:009e206f260c

[gaim-migrate @ 4817] Jabber can receive files again. I'm sure everyone was losing as much sleep over this as I was. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 06 Feb 2003 04:32:54 +0000
parents a6be92358df3
children 05476ef20d58
line wrap: on
line diff
--- a/src/ft.h	Wed Feb 05 23:54:11 2003 +0000
+++ b/src/ft.h	Thu Feb 06 04:32:54 2003 +0000
@@ -84,6 +84,8 @@
 	size_t bytes_sent;            /**< The number of bytes sent.           */
 	size_t bytes_remaining;       /**< The number of bytes remaining.      */
 
+	gboolean completed;           /**< File Transfer is completed.         */
+
 	/* I/O operations. */
 	struct
 	{
@@ -261,6 +263,14 @@
 unsigned int gaim_xfer_get_remote_port(const struct gaim_xfer *xfer);
 
 /**
+ * Sets the completed state for the file transfer.
+ *
+ * @param xfer      The file transfer.
+ * @param completed The completed state.
+ */
+void gaim_xfer_set_completed(struct gaim_xfer *xfer, gboolean completed);
+
+/**
  * Sets the filename for the file transfer.
  *
  * @param xfer     The file transfer.