comparison 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
comparison
equal deleted inserted replaced
9932:3fa121db91d0 9933:cee849d17167
85 GaimAccount *account; /**< The account. */ 85 GaimAccount *account; /**< The account. */
86 86
87 char *who; /**< The person on the other end of the 87 char *who; /**< The person on the other end of the
88 transfer. */ 88 transfer. */
89 89
90 char *message; /**< A message sent with the request */
90 char *filename; /**< The name sent over the network. */ 91 char *filename; /**< The name sent over the network. */
91 char *local_filename; /**< The name on the local hard drive. */ 92 char *local_filename; /**< The name on the local hard drive. */
92 size_t size; /**< The size of the file. */ 93 size_t size; /**< The size of the file. */
93 94
94 FILE *dest_fp; /**< The destination file pointer. */ 95 FILE *dest_fp; /**< The destination file pointer. */
334 335
335 /** 336 /**
336 * Sets the filename for the file transfer. 337 * Sets the filename for the file transfer.
337 * 338 *
338 * @param xfer The file transfer. 339 * @param xfer The file transfer.
340 * @param message The message.
341 */
342 void gaim_xfer_set_message(GaimXfer *xfer, const char *message);
343
344 /**
345 * Sets the filename for the file transfer.
346 *
347 * @param xfer The file transfer.
339 * @param filename The filename. 348 * @param filename The filename.
340 */ 349 */
341 void gaim_xfer_set_filename(GaimXfer *xfer, const char *filename); 350 void gaim_xfer_set_filename(GaimXfer *xfer, const char *filename);
342 351
343 /** 352 /**