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

#include "timeval.h"

Go to the source code of this file.

Functions

static int gettimeofday (struct timeval *tp, void *nothing)
struct timeval curlx_tvnow (void)
long curlx_tvdiff (struct timeval newer, struct timeval older)
double curlx_tvdiff_secs (struct timeval newer, struct timeval older)
long Curl_tvlong (struct timeval t1)


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  newer,
struct timeval  older 
)

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  newer,
struct timeval  older 
)

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().

static int gettimeofday ( struct timeval tp,
void *  nothing 
) [static]

Definition at line 71 of file timeval.c.

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

Referenced by curlx_tvnow().


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