view src/timeconv.h @ 129:fc11b1d1ad34

fix initial from header in mbox format. start moving to PST_LE_GET* rather than LE*_CPU macros so we can eventually remove the pragma packing.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 05 Feb 2009 12:09:04 -0800
parents 6395ced2b8b2
children 5e4d6faada34
line wrap: on
line source

#ifndef __TIMECONV_H
#define __TIMECONV_H

#ifdef __cplusplus
extern "C" {
#endif
  time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder );

  char * fileTimeToAscii (const FILETIME *filetime);

  struct tm * fileTimeToStructTM (const FILETIME *filetime);

#ifdef __cplusplus
}
#endif

#endif