comparison src/lib-mail/message-date.h @ 903:fd8888f6f037 HEAD

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt.
author Timo Sirainen <tss@iki.fi>
date Sun, 05 Jan 2003 15:09:51 +0200
parents
children 8028c4dcf38f
comparison
equal deleted inserted replaced
902:5043e48c022f 903:fd8888f6f037
1 #ifndef __MESSAGE_DATE
2 #define __MESSAGE_DATE
3
4 /* Parses RFC2822 date/time string. timezone_offset is filled with the
5 timezone's difference to UTC in minutes. */
6 int message_date_parse(const char *data, time_t *time, int *timezone_offset);
7
8 /* Create RFC2822 date/time string from given time in local timezone. */
9 const char *message_date_create(time_t time);
10
11 #endif