comparison src/timeconv.h @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents c508ee15dfca
children 6395ced2b8b2
comparison
equal deleted inserted replaced
117:0a3d854b53f6 118:0f1492b7fe8b
1 #ifndef __TIMECONV_H 1 #ifndef __TIMECONV_H
2 #define __TIMECONV_H 2 #define __TIMECONV_H
3
4 #include "common.h"
5 3
6 #include <time.h> 4 #include <time.h>
7 5
8 #ifdef __cplusplus 6 #ifdef __cplusplus
9 extern "C" { 7 extern "C" {
11 time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder ); 9 time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder );
12 10
13 char * fileTimeToAscii (const FILETIME *filetime); 11 char * fileTimeToAscii (const FILETIME *filetime);
14 12
15 struct tm * fileTimeToStructTM (const FILETIME *filetime); 13 struct tm * fileTimeToStructTM (const FILETIME *filetime);
16 14
17 #ifdef __cplusplus 15 #ifdef __cplusplus
18 } 16 }
19 #endif 17 #endif
20 18
21 #endif 19 #endif