Changeset 500a1b6 for protocols


Ignore:
Timestamp:
2005-11-29T01:02:09Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
019c031
Parents:
ac55e50
Message:

Remove references to file transfers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    rac55e50 r500a1b6  
    159159        irc_t *irc;
    160160};
    161 
    162 struct ft
    163 {
    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_request
    174 {
    175         const char *filename;
    176         struct gaim_connection *gc;
    177 };
    178 
    179 typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len);
    180161
    181162struct prpl {
     
    234215        void (* group_buddy)    (struct gaim_connection *, char *who, char *old_group, char *new_group);
    235216
    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 
    241217        void (* buddy_free)     (struct buddy *);
    242218
     
    326302G_MODULE_EXPORT void info_string_append(GString *str, char *newline, char *name, char *value);
    327303
    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 
    334304/* prefs.c */
    335305G_MODULE_EXPORT void build_block_list();
Note: See TracChangeset for help on using the changeset viewer.