Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

timeconv.c File Reference

#include "define.h"

Include dependency graph for timeconv.c:

Include dependency graph

Go to the source code of this file.

Functions

char * pst_fileTimeToAscii (const FILETIME *filetime, char *result)
 Convert a FILETIME to ascii printable local time.
void pst_fileTimeToStructTM (const FILETIME *filetime, struct tm *result)
 Convert a FILETIME to unix struct tm.
time_t pst_fileTimeToUnixTime (const FILETIME *filetime)
 Convert a FILETIME to unix time_t value.


Function Documentation

char* pst_fileTimeToAscii const FILETIME filetime,
char *  result
 

Convert a FILETIME to ascii printable local time.

Parameters:
[in] filetime time structure to be converted
[out] result pointer to output buffer, must be at least 30 bytes.
Returns:
result pointer to the output buffer

Definition at line 5 of file timeconv.c.

References pst_fileTimeToUnixTime().

Here is the call graph for this function:

void pst_fileTimeToStructTM const FILETIME filetime,
struct tm *  result
 

Convert a FILETIME to unix struct tm.

Parameters:
[in] filetime time structure to be converted
[out] result pointer to output struct tm

Definition at line 12 of file timeconv.c.

References pst_fileTimeToUnixTime().

Here is the call graph for this function:

time_t pst_fileTimeToUnixTime const FILETIME filetime  ) 
 

Convert a FILETIME to unix time_t value.

Parameters:
[in] filetime time structure to be converted
Returns:
result time_t value

Definition at line 19 of file timeconv.c.

References FILETIME::dwHighDateTime, and FILETIME::dwLowDateTime.

Referenced by pst_fileTimeToAscii(), pst_fileTimeToStructTM(), and write_normal_email().


Generated on Mon Sep 13 14:52:00 2010 for 'LibPst' by  doxygen 1.3.9.1