This commit is contained in:
twinaphex 2017-05-13 18:10:26 +02:00
parent 72bd83b8d1
commit 72fe4a1e3c
1 changed files with 7 additions and 4 deletions

View File

@ -35,13 +35,13 @@ enum http_status_enum
HTTP_STATUS_TRANSFER_PARSE_FREE HTTP_STATUS_TRANSFER_PARSE_FREE
}; };
typedef struct http_transfer_info struct http_transfer_info
{ {
char url[255]; char url[255];
int progress; int progress;
} http_transfer_info_t; };
typedef struct http_handle struct http_handle
{ {
struct struct
{ {
@ -54,7 +54,10 @@ typedef struct http_handle
transfer_cb_t cb; transfer_cb_t cb;
unsigned status; unsigned status;
bool error; bool error;
} http_handle_t; };
typedef struct http_transfer_info http_transfer_info_t;
typedef struct http_handle http_handle_t;
static int task_http_con_iterate_transfer(http_handle_t *http) static int task_http_con_iterate_transfer(http_handle_t *http)
{ {