Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/src/ft.h Tue Jul 22 00:37:49 2003 +0000 +++ b/src/ft.h Tue Jul 22 03:26:33 2003 +0000 @@ -462,10 +462,27 @@ */ void gaim_xfer_error(GaimXferType type, const char *who, const char *msg); +/*@}*/ + +/**************************************************************************/ +/** @name File Transfer Subsystem API */ +/**************************************************************************/ +/*@{*/ + +/** + * Returns the IP address of the local system. + * + * @note The returned IP address must be g_free()'d when no longer + * in use. + * + * @return The local IP address. + */ +char *gaim_xfers_get_local_ip(void); + /** * Initializes the file transfer subsystem. */ -void gaim_xfer_init(void); +void gaim_xfers_init(void); /*@}*/