(trunk libT) simplify the evtimer / struct timeval code a little

This commit is contained in:
Charles Kerr
2009-06-15 03:24:40 +00:00
parent 0380906aa6
commit 1be7f51b3d
7 changed files with 23 additions and 29 deletions

View File

@@ -244,6 +244,10 @@ void tr_timevalMsec( uint64_t milliseconds, struct timeval * setme );
void tr_timevalSet( struct timeval * setme, int seconds, int microseconds );
struct event;
void tr_timerAdd( struct event * timer, int seconds, int milliseconds );
/** @brief return the current date in milliseconds */
uint64_t tr_date( void );