e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainenint mailbox_list_index_sync_begin(struct mailbox_list *list,
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen struct mailbox_list_index_sync_context **sync_ctx_r);
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainenint mailbox_list_index_sync_end(struct mailbox_list_index_sync_context **_sync_ctx,
4fc372faccaa5ee46ebf61e4ec8954ae44a39d62Timo Sirainenint mailbox_list_index_sync(struct mailbox_list *list, bool refresh);
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen/* Add name to index, return seq in index. */
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainenuint32_t mailbox_list_index_sync_name(struct mailbox_list_index_sync_context *ctx,