[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.16,1.17
cras at procontrol.fi
cras at procontrol.fi
Thu Oct 24 04:15:41 EEST 2002
Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv28234/lib-storage
Modified Files:
mail-storage.h
Log Message:
Fixes to timezone handling which were handling quite badly. added
ioloop_timezone which gets updated with ioloop_time. Changed some GMT
references to UTC. Timezone offsets are in minutes now everywhere instead of
seconds. Fixes for unsigned time_t.
Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mail-storage.h 19 Oct 2002 23:09:56 -0000 1.16
+++ mail-storage.h 24 Oct 2002 00:15:39 -0000 1.17
@@ -158,9 +158,12 @@
int (*search)(Mailbox *box, MailSearchArg *args,
OBuffer *outbuf, int uid_result);
- /* Save a new mail into mailbox. */
+ /* Save a new mail into mailbox. timezone_offset specifies the
+ timezone in minutes which internal_date was originally given
+ with. */
int (*save)(Mailbox *box, MailFlags flags, const char *custom_flags[],
- time_t internal_date, IBuffer *data, uoff_t data_size);
+ time_t internal_date, int timezone_offset,
+ IBuffer *data, uoff_t data_size);
/* Returns TRUE if mailbox is now in inconsistent state, meaning that
the message IDs etc. may have changed - only way to recover this
More information about the dovecot-cvs
mailing list