2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch/* Copyright (c) 2006-2018 Dovecot authors, see the included COPYING file */
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Boschnode_lookup_guid(struct mailbox_list_index_sync_context *ctx,
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch const struct mailbox_list_index_node *node, guid_128_t guid_r)
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch char ns_sep = mailbox_list_get_hierarchy_sep(ctx->list);
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch mailbox_list_index_node_get_path(node, ns_sep, str);
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch vname = mailbox_list_get_vname(ctx->list, str_c(str));
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch if (mailbox_get_metadata(box, MAILBOX_METADATA_GUID, &metadata) == 0)
3f64825cfa1b6e8f7cf917e00d939da3124d98bbStephan Boschnode_add_to_index(struct mailbox_list_index_sync_context *ctx,
3f64825cfa1b6e8f7cf917e00d939da3124d98bbStephan Bosch const struct mailbox_list_index_node *node, uint32_t *seq_r)
} T_END;
static struct mailbox_list_index_node *
return node;
const char *name,
bool *created_r)
&seq);
return seq;
sizeof(struct mailbox_list_index_record),
sizeof(uint32_t));
&seq))
goto retry;
flags = 0;
} T_END;
T_BEGIN {
} T_END;
bool success)
if (success) {
if (success) {
return ret;
} else if (refresh ||
if (delete_selectable) {