Functions | Variables
unit1399.c File Reference
#include "curlcheck.h"
#include "urldata.h"
#include "progress.h"
Include dependency graph for unit1399.c:

Go to the source code of this file.

Functions

static void expect_timer_seconds (struct Curl_easy *data, int seconds)
 
static void fake_t_startsingle_time (struct Curl_easy *data, struct curltime fake_now, int seconds_offset)
 
static bool unit_setup (void)
 
static void unit_stop (void)
 
static bool usec_matches_seconds (time_t time_usec, int expected_seconds)
 

Variables

UNITTEST_START struct Curl_easy data
 
struct curltime now = Curl_tvnow()
 
data progress t_appconnect = 0
 
data progress t_connect = 0
 
data progress t_nslookup = 0
 
data progress t_pretransfer = 0
 
data progress t_redirect = 0
 
data progress t_starttransfer = 0
 
data progress start tv_sec = now.tv_sec - 2
 
data progress start tv_usec = now.tv_usec
 
static int usec_magnitude = 1000000
 

Function Documentation

static void expect_timer_seconds ( struct Curl_easy data,
int  seconds 
)
static

Definition at line 63 of file unit1399.c.

static void fake_t_startsingle_time ( struct Curl_easy data,
struct curltime  fake_now,
int  seconds_offset 
)
static

Definition at line 44 of file unit1399.c.

static bool unit_setup ( void  )
static

Definition at line 29 of file unit1399.c.

static void unit_stop ( void  )
static

Definition at line 34 of file unit1399.c.

static bool usec_matches_seconds ( time_t  time_usec,
int  expected_seconds 
)
static

Definition at line 53 of file unit1399.c.

Variable Documentation

Definition at line 82 of file unit1399.c.

struct curltime now = Curl_tvnow()

Definition at line 83 of file unit1399.c.

data progress t_appconnect = 0

Definition at line 87 of file unit1399.c.

data progress t_connect = 0

Definition at line 86 of file unit1399.c.

data progress t_nslookup = 0

Definition at line 85 of file unit1399.c.

data progress t_pretransfer = 0

Definition at line 88 of file unit1399.c.

data progress t_redirect = 0

Definition at line 90 of file unit1399.c.

data progress t_starttransfer = 0

Definition at line 89 of file unit1399.c.

data progress start tv_sec = now.tv_sec - 2

Definition at line 91 of file unit1399.c.

data progress start tv_usec = now.tv_usec

Definition at line 92 of file unit1399.c.

int usec_magnitude = 1000000
static

Definition at line 27 of file unit1399.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17