Changeset 17a6ee9 for dcc.h


Ignore:
Timestamp:
2010-04-11T14:37:06Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a87e6ba
Parents:
1f92a58
Message:

Including DCC stuff again, with a wonderful extra layer of abstraction.
Some hooks are missing so sending files doesn't work yet. Receiving also
still seems to have some issues. On the plus side, at least the MSN/Jabber
modules work again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dcc.h

    r1f92a58 r17a6ee9  
    9595} dcc_file_transfer_t;
    9696
    97 file_transfer_t *dccs_send_start( struct im_connection *ic, char *user_nick, char *file_name, size_t file_size );
     97file_transfer_t *dccs_send_start( struct im_connection *ic, irc_user_t *iu, const char *file_name, size_t file_size );
     98void dcc_canceled( file_transfer_t *file, char *reason );
     99gboolean dccs_send_write( file_transfer_t *file, char *data, unsigned int data_size );
     100file_transfer_t *dcc_request( struct im_connection *ic, char *line );
     101void dcc_finish( file_transfer_t *file );
     102void dcc_close( file_transfer_t *file );
     103gboolean dccs_recv_start( file_transfer_t *ft );
    98104
    99 void dcc_canceled( file_transfer_t *file, char *reason );
    100 
    101 gboolean dccs_send_write( file_transfer_t *file, char *data, unsigned int data_size );
    102 
    103 file_transfer_t *dcc_request( struct im_connection *ic, char *line );
    104105#endif
Note: See TracChangeset for help on using the changeset viewer.