comparison src/ft.h @ 5495:5b678994929b

[gaim-migrate @ 5891] gaim_xfer ft_read and ft_write back to read and write. Bracketing these funcs will avoid the macro expansion. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Thu, 22 May 2003 23:59:01 +0000
parents d557a53e35c5
children c8afb821df3e
comparison
equal deleted inserted replaced
5494:d557a53e35c5 5495:5b678994929b
94 void (*init)(struct gaim_xfer *xfer); 94 void (*init)(struct gaim_xfer *xfer);
95 void (*start)(struct gaim_xfer *xfer); 95 void (*start)(struct gaim_xfer *xfer);
96 void (*end)(struct gaim_xfer *xfer); 96 void (*end)(struct gaim_xfer *xfer);
97 void (*cancel_send)(struct gaim_xfer *xfer); 97 void (*cancel_send)(struct gaim_xfer *xfer);
98 void (*cancel_recv)(struct gaim_xfer *xfer); 98 void (*cancel_recv)(struct gaim_xfer *xfer);
99 size_t (*ft_read)(char **buffer, struct gaim_xfer *xfer); 99 size_t (*read)(char **buffer, struct gaim_xfer *xfer);
100 size_t (*ft_write)(const char *buffer, size_t size, 100 size_t (*write)(const char *buffer, size_t size,
101 struct gaim_xfer *xfer); 101 struct gaim_xfer *xfer);
102 void (*ack)(struct gaim_xfer *xfer, const char *buffer, 102 void (*ack)(struct gaim_xfer *xfer, const char *buffer,
103 size_t size); 103 size_t size);
104 104
105 } ops; 105 } ops;