view src/timeconv.h @ 142:2189a6b8134e

improve character set handling - don't try to convert utf-8 to single byte for fields that were not originally unicode. if the conversion fails, leave the data in utf-8.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Feb 2009 20:40:51 -0800
parents 5e4d6faada34
children 6954d315aaa8
line wrap: on
line source

#ifndef __TIMECONV_H
#define __TIMECONV_H

#include "common.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