view src/timeconv.h @ 110:7133b39975f7 stable-0-6-22

patch from David Cuadrado to process emails with type PST_TYPE_OTHER base64_encode_multiple() may insert newline, needs larger malloc subject lines shorter than 2 bytes could segfault
author Carl Byington <carl@five-ten-sg.com>
date Fri, 28 Nov 2008 11:36:53 -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