comparison src/ft.h @ 6263:3565ee7a5dd3

[gaim-migrate @ 6760] Renamed gaim_xfer_init() to gaim_xfers_init(), and added a function for returning the system's local IP address. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 22 Jul 2003 03:26:33 +0000
parents 9ce44a7f9ae7
children 084e1f6610a8
comparison
equal deleted inserted replaced
6262:4fcfe659568a 6263:3565ee7a5dd3
460 * @param who The user on the other end of the transfer. 460 * @param who The user on the other end of the transfer.
461 * @param msg The message to display. 461 * @param msg The message to display.
462 */ 462 */
463 void gaim_xfer_error(GaimXferType type, const char *who, const char *msg); 463 void gaim_xfer_error(GaimXferType type, const char *who, const char *msg);
464 464
465 /*@}*/
466
467 /**************************************************************************/
468 /** @name File Transfer Subsystem API */
469 /**************************************************************************/
470 /*@{*/
471
472 /**
473 * Returns the IP address of the local system.
474 *
475 * @note The returned IP address must be g_free()'d when no longer
476 * in use.
477 *
478 * @return The local IP address.
479 */
480 char *gaim_xfers_get_local_ip(void);
481
465 /** 482 /**
466 * Initializes the file transfer subsystem. 483 * Initializes the file transfer subsystem.
467 */ 484 */
468 void gaim_xfer_init(void); 485 void gaim_xfers_init(void);
469 486
470 /*@}*/ 487 /*@}*/
471 488
472 /**************************************************************************/ 489 /**************************************************************************/
473 /** @name UI Registration Functions */ 490 /** @name UI Registration Functions */