CLeanups
This commit is contained in:
parent
72bd83b8d1
commit
72fe4a1e3c
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue