Lines Matching defs:dest_file
14 struct sdbox_file *dest_file)
17 struct dbox_storage *dest_storage = dest_file->file.storage;
48 mailbox_set_critical(&dest_file->mbox->box,
55 dest_file->attachment_pool =
57 p_array_init(&dest_file->attachment_paths, dest_file->attachment_pool,
64 dest_relpath = p_strconcat(dest_file->attachment_pool,
78 mailbox_set_critical(&dest_file->mbox->box, "%s",
82 array_append(&dest_file->attachment_paths,
98 struct dbox_file *src_file, *dest_file;
110 dest_file = sdbox_file_init(dest_mbox, 0);
115 dest_path = dest_file->primary_path;
119 if (dest_file->alt_path != NULL) {
120 dest_path = dest_file->cur_path = dest_file->alt_path;
138 dbox_file_unref(&dest_file);
143 (struct sdbox_file *)dest_file);
145 (void)sdbox_file_unlink_aborted_save((struct sdbox_file *)dest_file);
147 dbox_file_unref(&dest_file);
150 ((struct sdbox_file *)dest_file)->written_to_disk = TRUE;
155 sdbox_save_add_file(_ctx, dest_file);