comparison libpurple/ft.h @ 22216:b99d6d21cd79

Add accessor and update finch to not touch the internals of PurpleXfer.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 26 Jan 2008 21:58:51 +0000
parents 4511d15a8f80
children 4a4e9d309fc0 3882d419e628
comparison
equal deleted inserted replaced
22215:07c2b8fa7bb4 22216:b99d6d21cd79
356 * @return The port number on the other end. 356 * @return The port number on the other end.
357 */ 357 */
358 unsigned int purple_xfer_get_remote_port(const PurpleXfer *xfer); 358 unsigned int purple_xfer_get_remote_port(const PurpleXfer *xfer);
359 359
360 /** 360 /**
361 * Returns the time the transfer of a file started.
362 *
363 * @param xfer The file transfer.
364 *
365 * @return The time when the transfer started.
366 * @since 2.4.0
367 */
368 time_t purple_xfer_get_start_time(const PurpleXfer *xfer);
369
370 /**
371 * Returns the time the transfer of a file ended.
372 *
373 * @param xfer The file transfer.
374 *
375 * @return The time when the transfer ended.
376 * @since 2.4.0
377 */
378 time_t purple_xfer_get_end_time(const PurpleXfer *xfer);
379
380 /**
361 * Sets the completed state for the file transfer. 381 * Sets the completed state for the file transfer.
362 * 382 *
363 * @param xfer The file transfer. 383 * @param xfer The file transfer.
364 * @param completed The completed state. 384 * @param completed The completed state.
365 */ 385 */