00001 #ifndef __PST_TIMECONV_H 00002 #define __PST_TIMECONV_H 00003 00004 #include "common.h" 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00014 char* pst_fileTimeToAscii (const FILETIME* filetime, char* result); 00015 00020 void pst_fileTimeToStructTM (const FILETIME* filetime, struct tm *result); 00021 00026 time_t pst_fileTimeToUnixTime( const FILETIME* filetime); 00027 00034 size_t pst_fileTimeToString( const FILETIME* filetime, const char* date_format, char* result); 00035 #ifdef __cplusplus 00036 } 00037 #endif 00038 00039 #endif