Revision ae455377
Von aquamaniac vor etwa 21 Jahren hinzugefügt
src/os/posix/gwentime.c | ||
---|---|---|
|
||
|
||
|
||
double GWEN_Time_Milliseconds(GWEN_TIME *t){
|
||
assert(t);
|
||
return (double)((t->tv.tv_sec*1000)+(t->tv.tv_usec/1000));
|
||
}
|
||
|
||
|
||
|
||
GWEN_TYPE_UINT32 GWEN_Time_Seconds(GWEN_TIME *t){
|
||
assert(t);
|
||
return t->tv.tv_sec;
|
Auch abrufbar als: Unified diff
- os/gwentime: added function to retrieve the time in milliseconds
- base/idlist: fixed two severe bugs
- crypt/ossl/nettransportssl: added functions to retrieve the peer certificate
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@386 70169cfe-8b10-0410-8925-dcb4b91034d8