view src/timeconv.h @ 59:7d5c637aaafb

General cleanup and code fixes. Use autoscan to cleanup our autoconf system. Use autoconf to detect when we need to use our XGetopt files and other header files. Decode BCC field. Fix missing LE32_CPU byte swapping for FILETIME types.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 14 Feb 2008 14:55:32 -0800
parents c508ee15dfca
children 0f1492b7fe8b
line wrap: on
line source

#ifndef __TIMECONV_H
#define __TIMECONV_H

#include "common.h"

#include <time.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