Mercurial > libpst
annotate src/timeconv.h @ 170:0e1e048716e4
fix bug where we failed to pickup the last extended attribute.
patch from Emmanuel Andry to fix potential security bug in pst2dii with printf(err).
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 22 Mar 2009 14:34:26 -0700 |
parents | 5e4d6faada34 |
children | 6954d315aaa8 |
rev | line source |
---|---|
16 | 1 #ifndef __TIMECONV_H |
2 #define __TIMECONV_H | |
3 | |
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
120
diff
changeset
|
4 #include "common.h" |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
120
diff
changeset
|
5 |
16 | 6 #ifdef __cplusplus |
7 extern "C" { | |
8 #endif | |
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
120
diff
changeset
|
9 time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder ); |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
120
diff
changeset
|
10 char * fileTimeToAscii (const FILETIME *filetime); |
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
120
diff
changeset
|
11 struct tm * fileTimeToStructTM (const FILETIME *filetime); |
16 | 12 #ifdef __cplusplus |
13 } | |
14 #endif | |
15 | |
16 #endif |