mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 19:46:45 +02:00
add ability to cancel file transfers
This commit is contained in:
@ -33,10 +33,12 @@ struct FileReceiver {
|
||||
char filenames[MAX_FILES][MAX_STR_SIZE];
|
||||
FILE *files[MAX_FILES];
|
||||
bool pending[MAX_FILES];
|
||||
bool active[MAX_FILES];
|
||||
uint64_t size[MAX_FILES];
|
||||
double bps[MAX_FILES];
|
||||
uint64_t last_progress[MAX_FILES];
|
||||
uint32_t line_id[MAX_FILES];
|
||||
int filenums[MAX_FILES];
|
||||
};
|
||||
|
||||
struct LastOnline {
|
||||
|
Reference in New Issue
Block a user