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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
1 #ifndef __TIMECONV_H
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
2 #define __TIMECONV_H
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
3
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
4 #include "common.h"
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
5
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
6 #include <time.h>
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
7
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
8 #ifdef __cplusplus
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
9 extern "C" {
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
10 #endif
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
11 time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder );
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
12
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
13 char * fileTimeToAscii (const FILETIME *filetime);
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
14
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
15 struct tm * fileTimeToStructTM (const FILETIME *filetime);
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
17 #ifdef __cplusplus
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
18 }
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
19 #endif
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
20
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
21 #endif