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