Mercurial > pidgin
comparison libpurple/ft.h @ 27901:c93ed4d7cabe
merge of 'abdecd59fbf18da0d4f391df390910b525356ffb'
and 'f005961acc673854916055d8bc491c28f9fb63f0'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 13 Aug 2009 03:28:38 +0000 |
parents | dad4cb8f81df |
children | 583a2f6ae576 52cb819c6668 |
comparison
equal
deleted
inserted
replaced
27900:32a707746454 | 27901:c93ed4d7cabe |
---|---|
87 * | 87 * |
88 * @return size if the write was successful, or a value between 0 and | 88 * @return size if the write was successful, or a value between 0 and |
89 * size on error. | 89 * size on error. |
90 * @since 2.6.0 | 90 * @since 2.6.0 |
91 */ | 91 */ |
92 gssize (*write)(PurpleXfer *xfer, const guchar *buffer, gssize size); | 92 gssize (*ui_write)(PurpleXfer *xfer, const guchar *buffer, gssize size); |
93 | 93 |
94 /** | 94 /** |
95 * UI op to read data to send to the prpl for a file transfer. | 95 * UI op to read data to send to the prpl for a file transfer. |
96 * | 96 * |
97 * @param xfer The file transfer structure | 97 * @param xfer The file transfer structure |
102 * @returns The amount of data in the buffer, 0 if nothing is available, | 102 * @returns The amount of data in the buffer, 0 if nothing is available, |
103 * and a negative value if an error occurred and the transfer | 103 * and a negative value if an error occurred and the transfer |
104 * should be cancelled (libpurple will cancel). | 104 * should be cancelled (libpurple will cancel). |
105 * @since 2.6.0 | 105 * @since 2.6.0 |
106 */ | 106 */ |
107 gssize (*read)(PurpleXfer *xfer, guchar **buffer, gssize size); | 107 gssize (*ui_read)(PurpleXfer *xfer, guchar **buffer, gssize size); |
108 | 108 |
109 /** | 109 /** |
110 * Op to notify the UI that not all the data read in was written. The UI | 110 * Op to notify the UI that not all the data read in was written. The UI |
111 * should re-enqueue this data and return it the next time read is called. | 111 * should re-enqueue this data and return it the next time read is called. |
112 * | 112 * |