annotate 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 |
rev |
line source |
14584
|
1 #ifndef DSYNC_MAILBOX_H
|
|
2 #define DSYNC_MAILBOX_H
|
|
3
|
|
4 #include "mail-storage.h"
|
|
5
|
|
6 /* Mailbox that is going to be synced. Its name was already sent in the
|
|
7 mailbox tree. */
|
|
8 struct dsync_mailbox {
|
|
9 guid_128_t mailbox_guid;
|
|
10 bool mailbox_lost;
|
|
11
|
|
12 uint32_t uid_validity, uid_next, messages_count, first_recent_uid;
|
|
13 uint64_t highest_modseq;
|
|
14 ARRAY_TYPE(mailbox_cache_field) cache_fields;
|
|
15 };
|
|
16
|
|
17 #endif
|