Navit SVN

/work/compile/navit/src/navit/support/libc/timeutil.h

00001 #ifndef __TIMEUTIL_H
00002 #define __TIMEUTIL_H
00003 
00004 #include <windows.h>
00005 #include <sys/time.h>
00006 #include <_mingw.h>
00007 
00008 #define _onesec_in100ns 10000000LL
00009 
00010 extern long long __FILETIME_to_ll (const FILETIME *f);
00011 extern void __ll_to_FILETIME (long long t, FILETIME* f);
00012 extern void __tm_to_SYSTEMTIME (struct tm *, SYSTEMTIME *);
00013 extern void __SYSTEMTIME_to_tm (SYSTEMTIME *, struct tm *);
00014 extern time_t __FILETIME_to_time_t (const FILETIME *);
00015 extern void __time_t_to_FILETIME (time_t, FILETIME *);
00016 
00017 #endif