Changeset 500a1b6
- Timestamp:
- 2005-11-29T01:02:09Z (19 years ago)
- Branches:
- master
- Children:
- 019c031
- Parents:
- ac55e50
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
rac55e50 r500a1b6 159 159 irc_t *irc; 160 160 }; 161 162 struct ft163 {164 const char *filename;165 166 /* Total number of bytes in file */167 size_t total_bytes;168 169 /* Current number of bytes received */170 size_t cur_bytes;171 };172 173 struct ft_request174 {175 const char *filename;176 struct gaim_connection *gc;177 };178 179 typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len);180 161 181 162 struct prpl { … … 234 215 void (* group_buddy) (struct gaim_connection *, char *who, char *old_group, char *new_group); 235 216 236 /* file transfers */237 struct ft_send_req *(* req_send_file) (struct gaim_connection *, const char *file);238 void (* send_file_part) (struct gaim_connection *, struct ft*, void *data, size_t length);239 void (* accept_recv_file) (struct gaim_connection *, struct ft*, ft_recv_handler);240 241 217 void (* buddy_free) (struct buddy *); 242 218 … … 326 302 G_MODULE_EXPORT void info_string_append(GString *str, char *newline, char *name, char *value); 327 303 328 /* file transfers */329 G_MODULE_EXPORT void ft_progress( struct ft *, int);330 G_MODULE_EXPORT void ft_incoming( struct ft_request * );331 G_MODULE_EXPORT void ft_accepted( struct ft_request *, struct ft *);332 G_MODULE_EXPORT void ft_denied( struct ft_request *, const char *reason);333 334 304 /* prefs.c */ 335 305 G_MODULE_EXPORT void build_block_list();
Note: See TracChangeset
for help on using the changeset viewer.