mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 05:46:35 +01:00
put file senders in a round-robin queue so multiple transfers upload at a uniform pace
This commit is contained in:
@@ -45,9 +45,11 @@ typedef struct {
|
||||
double bps;
|
||||
uint64_t size;
|
||||
uint32_t line_id;
|
||||
uint8_t queue_pos;
|
||||
} FileSender;
|
||||
|
||||
/* creates progress line that will be updated during file transfer. */
|
||||
/* creates initial progress line that will be updated during file transfer.
|
||||
Assumes progline is of size MAX_STR_SIZE */
|
||||
void prep_prog_line(char *progline);
|
||||
|
||||
/* prints a progress bar for file transfers.
|
||||
|
||||
Reference in New Issue
Block a user