/usr/include/libpst-4/libpst/timeconv.h is in libpst-dev 0.6.59-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #ifndef __PST_TIMECONV_H
#define __PST_TIMECONV_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Convert a FILETIME to ascii printable local time.
@param[in] filetime time structure to be converted
@param[out] result pointer to output buffer, must be at least 30 bytes.
@return result pointer to the output buffer
*/
char* pst_fileTimeToAscii (const FILETIME* filetime, char* result);
/** Convert a FILETIME to unix struct tm.
@param[in] filetime time structure to be converted
@param[out] result pointer to output struct tm
*/
void pst_fileTimeToStructTM (const FILETIME* filetime, struct tm *result);
/** Convert a FILETIME to unix time_t value.
@param[in] filetime time structure to be converted
@return result time_t value
*/
time_t pst_fileTimeToUnixTime( const FILETIME* filetime);
#ifdef __cplusplus
}
#endif
#endif
|