diff src/ft.h @ 9933:cee849d17167

[gaim-migrate @ 10825] Another patch from Dave West. This makes the file transfer message show up when someone sends you an AIM file transfer. It also attempts to decode the message to UTF-8. The chat invitation messages also benefit from this attempted conversion. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 02 Sep 2004 03:46:53 +0000
parents 3ed6001d5de8
children f2e86683cafc
line wrap: on
line diff
--- a/src/ft.h	Thu Sep 02 02:49:00 2004 +0000
+++ b/src/ft.h	Thu Sep 02 03:46:53 2004 +0000
@@ -87,6 +87,7 @@
 	char *who;                    /**< The person on the other end of the
 	                                   transfer.                           */
 
+	char *message;                /**< A message sent with the request     */
 	char *filename;               /**< The name sent over the network.     */
 	char *local_filename;         /**< The name on the local hard drive.   */
 	size_t size;                  /**< The size of the file.               */
@@ -336,6 +337,14 @@
  * Sets the filename for the file transfer.
  *
  * @param xfer     The file transfer.
+ * @param message The message.
+ */
+void gaim_xfer_set_message(GaimXfer *xfer, const char *message);
+
+/**
+ * Sets the filename for the file transfer.
+ *
+ * @param xfer     The file transfer.
  * @param filename The filename.
  */
 void gaim_xfer_set_filename(GaimXfer *xfer, const char *filename);