Defines | Functions
progress.c File Reference
#include "curl_setup.h"
#include "urldata.h"
#include "sendf.h"
#include "progress.h"
#include "curl_printf.h"
Include dependency graph for progress.c:

Go to the source code of this file.

Defines

#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 timeval start, struct timeval now)
void Curl_pgrsResetTimesSizes (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 Documentation

#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)

Function Documentation

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 timeval  start,
struct timeval  now 
)

Definition at line 246 of file progress.c.

void Curl_pgrsResetTimesSizes ( 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 274 of file progress.c.

void Curl_pgrsSetDownloadSize ( struct Curl_easy data,
curl_off_t  size 
)

Definition at line 310 of file progress.c.

void Curl_pgrsSetUploadCounter ( struct Curl_easy data,
curl_off_t  size 
)

Definition at line 292 of file progress.c.

void Curl_pgrsSetUploadSize ( struct Curl_easy data,
curl_off_t  size 
)

Definition at line 322 of file progress.c.

void Curl_pgrsStartNow ( struct Curl_easy data)

Definition at line 215 of file progress.c.

void Curl_pgrsTime ( struct Curl_easy data,
timerid  timer 
)

Definition at line 164 of file progress.c.

int Curl_pgrsUpdate ( struct connectdata conn)

Definition at line 338 of file progress.c.

static char* max5data ( curl_off_t  bytes,
char *  max5 
) [static]

Definition at line 62 of file progress.c.

static void time2str ( char *  r,
curl_off_t  seconds 
) [static]

Definition at line 32 of file progress.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09