Lines Matching refs:change
89 struct dsync_mailbox_tree_sync_change *change;
96 change = array_append_space(&ctx->changes);
97 change->type = type;
98 change->ns = node->ns;
99 change->full_name = p_strdup(ctx->pool, name);
106 struct dsync_mailbox_tree_sync_change *change;
110 change = array_append_space(&ctx->changes);
111 change->type = DSYNC_MAILBOX_TREE_SYNC_TYPE_CREATE_BOX;
112 change->ns = node->ns;
113 change->full_name = p_strdup(ctx->pool, name);
114 memcpy(change->mailbox_guid, node->mailbox_guid,
115 sizeof(change->mailbox_guid));
116 change->uid_validity = node->uid_validity;
157 struct dsync_mailbox_tree_sync_change *change;
172 change = array_append_space(&ctx->changes);
173 change->type = DSYNC_MAILBOX_TREE_SYNC_TYPE_DELETE_BOX;
174 change->ns = node->ns;
176 change->full_name = p_strdup(ctx->pool, name);
177 memcpy(change->mailbox_guid, node->mailbox_guid,
178 sizeof(change->mailbox_guid));
389 struct dsync_mailbox_tree_sync_change *change;
429 /* we're modifying a local tree. remember this change. */
434 change = array_append_space(&ctx->changes);
435 change->type = DSYNC_MAILBOX_TREE_SYNC_TYPE_RENAME;
436 change->ns = node->ns;
437 change->full_name = p_strdup(ctx->pool, old_name);
438 change->rename_dest_name = p_strdup(ctx->pool, new_name);
460 struct dsync_mailbox_tree_sync_change *change;
495 /* change node's parent if necessary. in any case detach+reattach it
501 /* we're modifying a local tree. remember this change. */
506 change = array_append_space(&ctx->changes);
507 change->type = DSYNC_MAILBOX_TREE_SYNC_TYPE_RENAME;
508 change->ns = node->ns;
509 change->full_name = p_strdup(ctx->pool, name);
510 change->rename_dest_name = p_strdup(ctx->pool, other_name);
788 we'll merge these mailboxes together later and change their
1242 INBOX). we'll just change the GUID for one of