#include "curl_setup.h"
#include "urldata.h"
#include "sendf.h"
#include "progress.h"
#include "curl_printf.h"
Go to the source code of this file.
Macros | |
#define | ONE_GIGABYTE (CURL_OFF_T_C(1024) * ONE_MEGABYTE) |
#define | ONE_KILOBYTE CURL_OFF_T_C(1024) |
#define | ONE_MEGABYTE (CURL_OFF_T_C(1024) * ONE_KILOBYTE) |
#define | ONE_PETABYTE (CURL_OFF_T_C(1024) * ONE_TERABYTE) |
#define | ONE_TERABYTE (CURL_OFF_T_C(1024) * ONE_GIGABYTE) |
Functions | |
int | Curl_pgrsDone (struct connectdata *conn) |
long | Curl_pgrsLimitWaitTime (curl_off_t cursize, curl_off_t startsize, curl_off_t limit, struct curltime start, struct curltime now) |
void | Curl_pgrsResetTransferSizes (struct Curl_easy *data) |
void | Curl_pgrsSetDownloadCounter (struct Curl_easy *data, curl_off_t size) |
void | Curl_pgrsSetDownloadSize (struct Curl_easy *data, curl_off_t size) |
void | Curl_pgrsSetUploadCounter (struct Curl_easy *data, curl_off_t size) |
void | Curl_pgrsSetUploadSize (struct Curl_easy *data, curl_off_t size) |
void | Curl_pgrsStartNow (struct Curl_easy *data) |
void | Curl_pgrsTime (struct Curl_easy *data, timerid timer) |
int | Curl_pgrsUpdate (struct connectdata *conn) |
static char * | max5data (curl_off_t bytes, char *max5) |
static void | time2str (char *r, curl_off_t seconds) |
#define ONE_GIGABYTE (CURL_OFF_T_C(1024) * ONE_MEGABYTE) |
#define ONE_KILOBYTE CURL_OFF_T_C(1024) |
#define ONE_MEGABYTE (CURL_OFF_T_C(1024) * ONE_KILOBYTE) |
#define ONE_PETABYTE (CURL_OFF_T_C(1024) * ONE_TERABYTE) |
#define ONE_TERABYTE (CURL_OFF_T_C(1024) * ONE_GIGABYTE) |
int Curl_pgrsDone | ( | struct connectdata * | conn | ) |
Definition at line 133 of file progress.c.
long Curl_pgrsLimitWaitTime | ( | curl_off_t | cursize, |
curl_off_t | startsize, | ||
curl_off_t | limit, | ||
struct curltime | start, | ||
struct curltime | now | ||
) |
Definition at line 258 of file progress.c.
void Curl_pgrsResetTransferSizes | ( | struct Curl_easy * | data | ) |
Definition at line 153 of file progress.c.
void Curl_pgrsSetDownloadCounter | ( | struct Curl_easy * | data, |
curl_off_t | size | ||
) |
Definition at line 286 of file progress.c.
void Curl_pgrsSetDownloadSize | ( | struct Curl_easy * | data, |
curl_off_t | size | ||
) |
Definition at line 322 of file progress.c.
void Curl_pgrsSetUploadCounter | ( | struct Curl_easy * | data, |
curl_off_t | size | ||
) |
Definition at line 304 of file progress.c.
void Curl_pgrsSetUploadSize | ( | struct Curl_easy * | data, |
curl_off_t | size | ||
) |
Definition at line 334 of file progress.c.
void Curl_pgrsStartNow | ( | struct Curl_easy * | data | ) |
Definition at line 226 of file progress.c.
Definition at line 162 of file progress.c.
int Curl_pgrsUpdate | ( | struct connectdata * | conn | ) |
Definition at line 350 of file progress.c.
|
static |
Definition at line 62 of file progress.c.
|
static |
Definition at line 32 of file progress.c.