view src/timeconv.h @ 164:ab384fed78c5

Compensate for iconv conversion to utf-7 that produces strings that are not null terminated. Don't produce empty attachment files in separate mode.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Mar 2009 18:31:39 -0700
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