blob: 529a2e0f4fec04232e137de12ad554ac02a44534 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef MBOX_FILE_H
#define MBOX_FILE_H
int mbox_file_open(struct mbox_mailbox *mbox);
void mbox_file_close(struct mbox_mailbox *mbox);
int mbox_file_open_stream(struct mbox_mailbox *mbox);
void mbox_file_close_stream(struct mbox_mailbox *mbox);
int mbox_file_lookup_offset(struct mbox_mailbox *mbox,
struct mail_index_view *view,
uint32_t seq, uoff_t *offset_r);
int mbox_file_seek(struct mbox_mailbox *mbox, struct mail_index_view *view,
uint32_t seq, bool *deleted_r);
#endif
|