Mercurial > dovecot > core-2.2
view src/lib-mail/message-date.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | 55df57c028d4 |
children | 1a58b18652a6 |
line wrap: on
line source
#ifndef MESSAGE_DATE_H #define MESSAGE_DATE_H /* Parses RFC2822 date/time string. timezone_offset is filled with the timezone's difference to UTC in minutes. */ bool message_date_parse(const unsigned char *data, size_t size, time_t *time, int *timezone_offset); /* Create RFC2822 date/time string from given time in local timezone. */ const char *message_date_create(time_t time); #endif