diff options
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r-- | protocols/nogaim.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h index bdd8bae2..68d5bc90 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -131,6 +131,25 @@ struct buddy { struct im_connection *ic; /* the connection it belongs to */ }; +struct ft +{ + const char *filename; + + /* Total number of bytes in file */ + size_t total_bytes; + + /* Current number of bytes received */ + size_t cur_bytes; +}; + +struct ft_request +{ + const char *filename; + struct gaim_connection *gc; +}; + +typedef void (*ft_recv_handler) (struct ft *, void *data, size_t len); + struct prpl { int options; /* You should set this to the name of your protocol. |