Defines | Enumerations | Functions
progress.h File Reference
#include "timeval.h"
Include dependency graph for progress.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LEAST_SIZE_PROGRESS   BUFSIZE
#define PGRS_DL_SIZE_KNOWN   (1<<6)
#define PGRS_DONE_DL   (1<<2)
#define PGRS_DONE_UL   (1<<3)
#define PGRS_HEADERS_OUT   (1<<7) /* set when the headers have been written */
#define PGRS_HIDE   (1<<4)
#define PGRS_SHOW_DL   (1<<0)
#define PGRS_SHOW_UL   (1<<1)
#define PGRS_UL_SIZE_KNOWN   (1<<5)
#define PROGRESS_DOWN_AND_UP   (PROGRESS_UPLOAD | PROGRESS_DOWNLOAD)
#define PROGRESS_DOWNLOAD   (1<<0)
#define PROGRESS_UPLOAD   (1<<1)

Enumerations

enum  timerid {
  TIMER_NONE, TIMER_STARTOP, TIMER_STARTSINGLE, TIMER_NAMELOOKUP,
  TIMER_CONNECT, TIMER_APPCONNECT, TIMER_PRETRANSFER, TIMER_STARTTRANSFER,
  TIMER_POSTRANSFER, TIMER_STARTACCEPT, TIMER_REDIRECT, TIMER_LAST
}

Functions

int Curl_pgrsDone (struct connectdata *)
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 *)

Define Documentation

Definition at line 59 of file progress.h.

#define PGRS_DL_SIZE_KNOWN   (1<<6)

Definition at line 71 of file progress.h.

#define PGRS_DONE_DL   (1<<2)

Definition at line 67 of file progress.h.

#define PGRS_DONE_UL   (1<<3)

Definition at line 68 of file progress.h.

#define PGRS_HEADERS_OUT   (1<<7) /* set when the headers have been written */

Definition at line 73 of file progress.h.

#define PGRS_HIDE   (1<<4)

Definition at line 69 of file progress.h.

#define PGRS_SHOW_DL   (1<<0)

Definition at line 65 of file progress.h.

#define PGRS_SHOW_UL   (1<<1)

Definition at line 66 of file progress.h.

#define PGRS_UL_SIZE_KNOWN   (1<<5)

Definition at line 70 of file progress.h.

Definition at line 63 of file progress.h.

#define PROGRESS_DOWNLOAD   (1<<0)

Definition at line 61 of file progress.h.

#define PROGRESS_UPLOAD   (1<<1)

Definition at line 62 of file progress.h.


Enumeration Type Documentation

enum timerid
Enumerator:
TIMER_NONE 
TIMER_STARTOP 
TIMER_STARTSINGLE 
TIMER_NAMELOOKUP 
TIMER_CONNECT 
TIMER_APPCONNECT 
TIMER_PRETRANSFER 
TIMER_STARTTRANSFER 
TIMER_POSTRANSFER 
TIMER_STARTACCEPT 
TIMER_REDIRECT 
TIMER_LAST 

Definition at line 28 of file progress.h.


Function Documentation

int Curl_pgrsDone ( struct connectdata )

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 )

Definition at line 338 of file progress.c.



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