annotate src/timeconv.h @ 85:582e927756d3
stable-0-6-15
Patch from Robert Simpson for file handle leak in error case.
Fix for missing length on lz decompression, bug found by Chris White.
author |
Carl Byington <carl@five-ten-sg.com> |
date |
Wed, 30 Jul 2008 22:01:52 -0700 |
parents |
c508ee15dfca |
children |
0f1492b7fe8b |
rev |
line source |
16
|
1 #ifndef __TIMECONV_H
|
|
2 #define __TIMECONV_H
|
|
3
|
|
4 #include "common.h"
|
|
5
|
|
6 #include <time.h>
|
|
7
|
|
8 #ifdef __cplusplus
|
|
9 extern "C" {
|
|
10 #endif
|
|
11 time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder );
|
|
12
|
|
13 char * fileTimeToAscii (const FILETIME *filetime);
|
|
14
|
|
15 struct tm * fileTimeToStructTM (const FILETIME *filetime);
|
|
16
|
|
17 #ifdef __cplusplus
|
|
18 }
|
|
19 #endif
|
|
20
|
|
21 #endif
|