Mercurial > dovecot > core-2.2
view src/doveadm/dsync/dsync-mailbox.h @ 14584:b2076acc3715
Initial version of dsync rewrite.
* doveadm backup not implemented at all yet
* syncing mailbox renames is somewhat broken (at least renaming \noselect
mailboxes)
* saving/restoring "state" is implemented by dsync brain, but not by
doveadm. this should be easy to do, just need to figure out how the
replication code wants it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 22 May 2012 23:17:31 +0300 |
parents | |
children | 5d90e2aa1ba8 |
line wrap: on
line source
#ifndef DSYNC_MAILBOX_H #define DSYNC_MAILBOX_H #include "mail-storage.h" /* Mailbox that is going to be synced. Its name was already sent in the mailbox tree. */ struct dsync_mailbox { guid_128_t mailbox_guid; bool mailbox_lost; uint32_t uid_validity, uid_next, messages_count, first_recent_uid; uint64_t highest_modseq; ARRAY_TYPE(mailbox_cache_field) cache_fields; }; #endif