This commit is contained in:
twinaphex 2017-05-13 18:10:26 +02:00
parent 72bd83b8d1
commit 72fe4a1e3c

View File

@ -35,13 +35,13 @@ enum http_status_enum
HTTP_STATUS_TRANSFER_PARSE_FREE
};
typedef struct http_transfer_info
struct http_transfer_info
{
char url[255];
int progress;
} http_transfer_info_t;
};
typedef struct http_handle
struct http_handle
{
struct
{
@ -54,7 +54,10 @@ typedef struct http_handle
transfer_cb_t cb;
unsigned status;
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)
{