D:/opendownloadmanager/ODM-1.x/InetFile/cURL_lib/timeval.h File Reference

#include "setup.h"

Go to the source code of this file.

Defines

#define Curl_tvnow()   curlx_tvnow()
#define Curl_tvdiff(x, y)   curlx_tvdiff(x,y)
#define Curl_tvdiff_secs(x, y)   curlx_tvdiff_secs(x,y)

Functions

struct timeval curlx_tvnow (void)
long curlx_tvdiff (struct timeval t1, struct timeval t2)
double curlx_tvdiff_secs (struct timeval t1, struct timeval t2)
long Curl_tvlong (struct timeval t1)


Define Documentation

#define Curl_tvdiff ( x,
 )     curlx_tvdiff(x,y)

#define Curl_tvdiff_secs ( x,
 )     curlx_tvdiff_secs(x,y)

Definition at line 20 of file timeval.h.

Referenced by Curl_pgrsTime().

 
#define Curl_tvnow (  )     curlx_tvnow()


Function Documentation

long Curl_tvlong ( struct timeval  t1  ) 

Definition at line 113 of file timeval.c.

References timeval::tv_sec.

Referenced by Curl_speedcheck().

long curlx_tvdiff ( struct timeval  t1,
struct timeval  t2 
)

Definition at line 95 of file timeval.c.

References timeval::tv_sec, and timeval::tv_usec.

Referenced by Curl_expire().

double curlx_tvdiff_secs ( struct timeval  t1,
struct timeval  t2 
)

Definition at line 106 of file timeval.c.

References timeval::tv_sec, and timeval::tv_usec.

struct timeval curlx_tvnow ( void   )  [read]

Definition at line 82 of file timeval.c.

References gettimeofday(), and NULL.

Referenced by Curl_poll(), Curl_socket_ready(), and wait_ms().


Generated on Sun May 25 00:20:10 2008 by  doxygen 1.5.6