view src/lib-storage/index/mbox/mbox-file.h @ 2955:d5ee1bbd15f0 HEAD

Fixed mbox corruption in certain situations. Added more asserts to catch similiar problems if there still happens to be any.
author Timo Sirainen <tss@iki.fi>
date Tue, 07 Dec 2004 22:26:00 +0200
parents 710e0bf25bf8
children b698ae839a18
line wrap: on
line source

#ifndef __MBOX_FILE_H
#define __MBOX_FILE_H

int mbox_file_open(struct index_mailbox *ibox);
void mbox_file_close(struct index_mailbox *ibox);

int mbox_file_open_stream(struct index_mailbox *ibox);
void mbox_file_close_stream(struct index_mailbox *ibox);

int mbox_file_seek(struct index_mailbox *ibox, struct mail_index_view *view,
		   uint32_t seq, int *deleted_r);

#endif