Mercurial > dovecot > core-2.2
view src/lib-storage/index/maildir/maildir-storage.h @ 988:8028c4dcf38f HEAD
mail-storage.h interface changes, affects pretty much everything.
FETCH, SEARCH, SORT and THREAD handling were pretty much moved from
lib-storage/ to imap/ so adding non-index storages would be much easier now.
Also POP3 server can now be easily implemented with lib-storage.
Not too well tested, and at least one major problem: partial fetching is
_slow_.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 20 Jan 2003 16:52:51 +0200 |
parents | 411006be3c66 |
children | 40a327d356de |
line wrap: on
line source
#ifndef __MAILDIR_STORAGE_H #define __MAILDIR_STORAGE_H #include "index-storage.h" int maildir_storage_copy(struct mailbox *box, struct mailbox *destbox, const char *messageset, int uidset); int maildir_storage_save(struct mailbox *box, const struct mail_full_flags *flags, time_t internal_date, int timezone_offset, struct istream *data, uoff_t data_size); int maildir_find_mailboxes(struct mail_storage *storage, const char *mask, mailbox_list_callback_t callback, void *context); int maildir_find_subscribed(struct mail_storage *storage, const char *mask, mailbox_list_callback_t callback, void *context); int maildir_expunge_locked(struct index_mailbox *ibox, int notify); /* Return new filename base to save into tmp/ */ const char *maildir_generate_tmp_filename(void); #endif