summaryrefslogtreecommitdiff
path: root/src/process_url.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-10 14:15:00 +0800
committerMole Shang <[email protected]>2023-08-10 14:15:00 +0800
commit6cbcaba2a80c47714e8aa45d021bdcd4965780b1 (patch)
tree0adcb9b088997689e18fad20a463ea681e4f50b7 /src/process_url.h
parentef4918ffeb326751fa17c2c8335963be4e43254f (diff)
downloadhinata-6cbcaba2a80c47714e8aa45d021bdcd4965780b1.tar.gz
hinata-6cbcaba2a80c47714e8aa45d021bdcd4965780b1.tar.bz2
hinata-6cbcaba2a80c47714e8aa45d021bdcd4965780b1.zip
ui: show progress while remuxing
Diffstat (limited to 'src/process_url.h')
-rw-r--r--src/process_url.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/process_url.h b/src/process_url.h
index 8a5e59c..a98d05a 100644
--- a/src/process_url.h
+++ b/src/process_url.h
@@ -7,6 +7,7 @@
#include "constants.h"
#include "utils/utils.h"
+#include "status.h"
#define ERRTOSTRING(err) curl_easy_strerror(err)
#define logerr(X) \
@@ -33,12 +34,6 @@ typedef struct thrd_info {
char range[UCHAR_MAX];
} thrd_info_t;
-typedef struct status {
- curl_off_t cur;
- curl_off_t total;
- bool is_done;
-} status_t;
-
typedef struct str_data {
char *string;
size_t len;