Mercurial > pidgin
changeset 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 | 599d350fce4e |
files | src/ft.c src/ft.h |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ft.c Tue Feb 04 17:56:17 2003 +0000 +++ b/src/ft.c Tue Feb 04 18:28:47 2003 +0000 @@ -336,7 +336,7 @@ void gaim_xfer_set_read_fnc(struct gaim_xfer *xfer, - size_t (*fnc)(char **, const struct gaim_xfer *)) + size_t (*fnc)(char **, struct gaim_xfer *)) { if (xfer == NULL) return; @@ -347,7 +347,7 @@ void gaim_xfer_set_write_fnc(struct gaim_xfer *xfer, size_t (*fnc)(const char *, size_t, - const struct gaim_xfer *)) + struct gaim_xfer *)) { if (xfer == NULL) return;
--- a/src/ft.h Tue Feb 04 17:56:17 2003 +0000 +++ b/src/ft.h Tue Feb 04 18:28:47 2003 +0000 @@ -91,9 +91,9 @@ void (*start)(struct gaim_xfer *xfer); void (*end)(struct gaim_xfer *xfer); void (*cancel)(struct gaim_xfer *xfer); - size_t (*read)(char **buffer, const struct gaim_xfer *xfer); + size_t (*read)(char **buffer, struct gaim_xfer *xfer); size_t (*write)(const char *buffer, size_t size, - const struct gaim_xfer *xfer); + struct gaim_xfer *xfer); void (*ack)(struct gaim_xfer *xfer); } ops; @@ -300,7 +300,7 @@ * @param fnc The read function. */ void gaim_xfer_set_read_fnc(struct gaim_xfer *xfer, - size_t (*fnc)(char **, const struct gaim_xfer *)); + size_t (*fnc)(char **, struct gaim_xfer *)); /** * Sets the write function for the file transfer. @@ -309,7 +309,7 @@ * @param fnc The write function. */ void gaim_xfer_set_write_fnc(struct gaim_xfer *xfer, - size_t (*fnc)(const char *, size_t, const struct gaim_xfer *)); + size_t (*fnc)(const char *, size_t, struct gaim_xfer *)); /** * Sets the acknowledge function for the file transfer.