view src/lib-storage/index/mbox/mbox-storage.h @ 13:bb294faf7379 HEAD

"Critical errors" aren't displayed to users anymore, ie. anything that is not a predefined human readable error message is written into log file and user gets only "Internal error [timestamp]".
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Aug 2002 17:50:16 +0300
parents 82b7de533f98
children 4223b9ed0c80
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, IOBuffer *data, size_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,
			MailExpungeFunc expunge_func, void *context);

#endif