comparison src/ft.c @ 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 a2b2cce63fb8
children dda0fbba1c46
comparison
equal deleted inserted replaced
4517:a2b2cce63fb8 4518:a6be92358df3
334 } 334 }
335 335
336 336
337 void 337 void
338 gaim_xfer_set_read_fnc(struct gaim_xfer *xfer, 338 gaim_xfer_set_read_fnc(struct gaim_xfer *xfer,
339 size_t (*fnc)(char **, const struct gaim_xfer *)) 339 size_t (*fnc)(char **, struct gaim_xfer *))
340 { 340 {
341 if (xfer == NULL) 341 if (xfer == NULL)
342 return; 342 return;
343 343
344 xfer->ops.read = fnc; 344 xfer->ops.read = fnc;
345 } 345 }
346 346
347 void 347 void
348 gaim_xfer_set_write_fnc(struct gaim_xfer *xfer, 348 gaim_xfer_set_write_fnc(struct gaim_xfer *xfer,
349 size_t (*fnc)(const char *, size_t, 349 size_t (*fnc)(const char *, size_t,
350 const struct gaim_xfer *)) 350 struct gaim_xfer *))
351 { 351 {
352 if (xfer == NULL) 352 if (xfer == NULL)
353 return; 353 return;
354 354
355 xfer->ops.write = fnc; 355 xfer->ops.write = fnc;