view src/lib-storage/index/mbox/mbox-storage.h @ 492:efa46e28a0d7 HEAD

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.
author Timo Sirainen <tss@iki.fi>
date Thu, 24 Oct 2002 03:15:38 +0300
parents 925d6eb5f8be
children 83da62e0675a
line wrap: on
line source

#ifndef __MBOX_STORAGE_H
#define __MBOX_STORAGE_H

#include "index-storage.h"

int mbox_storage_copy(Mailbox *box, Mailbox *destbox,
		      const char *messageset, int uidset);
int mbox_storage_save(Mailbox *box, MailFlags flags, const char *custom_flags[],
		      time_t internal_date, int timezone_offset,
		      IBuffer *data, uoff_t data_size);

int mbox_find_mailboxes(MailStorage *storage, const char *mask,
			MailboxFunc func, void *context);
int mbox_find_subscribed(MailStorage *storage, const char *mask,
			 MailboxFunc func, void *context);

int mbox_expunge_locked(IndexMailbox *ibox, int notify);

#endif