7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen/* Mailbox that is going to be synced. Its name was already sent in the
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen mailbox tree. */
d1e843e77f4760e303c53d9fce10123fc8d230a1Timo Sirainen bool have_guids, have_save_guids, have_only_guid128;
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen uint32_t uid_validity, uid_next, messages_count, first_recent_uid;
41e51b972f02e8b16c19fab9160294ea0a07c343Timo Sirainen /* if both values are NULL = not looked up yet / deleted */
55d33f807765482eb47374aaaced1fe714e0b256Timo Sirainen bool deleted; /* attribute is known to have been deleted */
55d33f807765482eb47374aaaced1fe714e0b256Timo Sirainen bool exported; /* internally used by exporting */
41e51b972f02e8b16c19fab9160294ea0a07c343Timo Sirainen ((attr)->value != NULL || (attr)->value_stream != NULL)
c864fdd520b0c3f10a4b9bc5373368f4ae8faaffTimo Sirainenint dsync_mailbox_lock(struct dsync_brain *brain, struct mailbox *box,