Mercurial > pidgin
comparison libpurple/ft.h @ 31958:d61170e263b4
Introduce API purple_xfer_get_protocol_data() and purple_xfer_set_protocol_data().
author | andrew.victor@mxit.com |
---|---|
date | Fri, 26 Aug 2011 17:59:08 +0000 |
parents | 44f53d3fc54f |
children | 5b5fd57ff3ae |
comparison
equal
deleted
inserted
replaced
31956:e46321099396 | 31958:d61170e263b4 |
---|---|
735 * the protocols can use for thumbnails. | 735 * the protocols can use for thumbnails. |
736 * @since 2.7.0 | 736 * @since 2.7.0 |
737 */ | 737 */ |
738 void purple_xfer_prepare_thumbnail(PurpleXfer *xfer, const gchar *formats); | 738 void purple_xfer_prepare_thumbnail(PurpleXfer *xfer, const gchar *formats); |
739 | 739 |
740 /** | |
741 * Sets the protocol data for a file transfer. | |
742 * | |
743 * @param xfer The file transfer. | |
744 * @param protol_data The protocol data to set for the file transfer. | |
745 * | |
746 * @since 3.0.0 | |
747 */ | |
748 void purple_xfer_set_protocol_data(PurpleXfer *xfer, void *proto_data); | |
749 | |
750 /** | |
751 * Gets the protocol data for a file transfer. | |
752 * | |
753 * @param xfer The file transfer. | |
754 * | |
755 * @return The protocol data for the file transfer. | |
756 * | |
757 * @since 3.0.0 | |
758 */ | |
759 void *purple_xfer_get_protocol_data(PurpleXfer *xfer); | |
740 | 760 |
741 /*@}*/ | 761 /*@}*/ |
742 | 762 |
743 /**************************************************************************/ | 763 /**************************************************************************/ |
744 /** @name UI Registration Functions */ | 764 /** @name UI Registration Functions */ |