Mercurial > pidgin.yaz
comparison src/ft.h @ 4518:a6be92358df3
[gaim-migrate @ 4796]
Removed the last of the consts from the I/O functions.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 04 Feb 2003 18:28:47 +0000 |
parents | 7521e29658bc |
children | 009e206f260c |
comparison
equal
deleted
inserted
replaced
4517:a2b2cce63fb8 | 4518:a6be92358df3 |
---|---|
89 { | 89 { |
90 void (*init)(struct gaim_xfer *xfer); | 90 void (*init)(struct gaim_xfer *xfer); |
91 void (*start)(struct gaim_xfer *xfer); | 91 void (*start)(struct gaim_xfer *xfer); |
92 void (*end)(struct gaim_xfer *xfer); | 92 void (*end)(struct gaim_xfer *xfer); |
93 void (*cancel)(struct gaim_xfer *xfer); | 93 void (*cancel)(struct gaim_xfer *xfer); |
94 size_t (*read)(char **buffer, const struct gaim_xfer *xfer); | 94 size_t (*read)(char **buffer, struct gaim_xfer *xfer); |
95 size_t (*write)(const char *buffer, size_t size, | 95 size_t (*write)(const char *buffer, size_t size, |
96 const struct gaim_xfer *xfer); | 96 struct gaim_xfer *xfer); |
97 void (*ack)(struct gaim_xfer *xfer); | 97 void (*ack)(struct gaim_xfer *xfer); |
98 | 98 |
99 } ops; | 99 } ops; |
100 | 100 |
101 struct gaim_xfer_ui_ops *ui_ops; /**< UI-specific operations. */ | 101 struct gaim_xfer_ui_ops *ui_ops; /**< UI-specific operations. */ |
298 * | 298 * |
299 * @param xfer The file transfer. | 299 * @param xfer The file transfer. |
300 * @param fnc The read function. | 300 * @param fnc The read function. |
301 */ | 301 */ |
302 void gaim_xfer_set_read_fnc(struct gaim_xfer *xfer, | 302 void gaim_xfer_set_read_fnc(struct gaim_xfer *xfer, |
303 size_t (*fnc)(char **, const struct gaim_xfer *)); | 303 size_t (*fnc)(char **, struct gaim_xfer *)); |
304 | 304 |
305 /** | 305 /** |
306 * Sets the write function for the file transfer. | 306 * Sets the write function for the file transfer. |
307 * | 307 * |
308 * @param xfer The file transfer. | 308 * @param xfer The file transfer. |
309 * @param fnc The write function. | 309 * @param fnc The write function. |
310 */ | 310 */ |
311 void gaim_xfer_set_write_fnc(struct gaim_xfer *xfer, | 311 void gaim_xfer_set_write_fnc(struct gaim_xfer *xfer, |
312 size_t (*fnc)(const char *, size_t, const struct gaim_xfer *)); | 312 size_t (*fnc)(const char *, size_t, struct gaim_xfer *)); |
313 | 313 |
314 /** | 314 /** |
315 * Sets the acknowledge function for the file transfer. | 315 * Sets the acknowledge function for the file transfer. |
316 * | 316 * |
317 * @param xfer The file transfer. | 317 * @param xfer The file transfer. |