Lines Matching defs:src_file
13 sdbox_file_copy_attachments(struct sdbox_file *src_file,
16 struct dbox_storage *src_storage = src_file->file.storage;
41 if ((ret = sdbox_file_get_attachments(&src_file->file,
50 src_file->file.cur_path, extrefs_line);
63 sdbox_file_attachment_relpath(src_file, extref->path));
98 struct dbox_file *src_file, *dest_file;
109 src_file = sdbox_file_init(src_mbox, mail->uid);
114 src_path = src_file->primary_path;
117 if (ret < 0 && errno == ENOENT && src_file->alt_path != NULL) {
118 src_path = src_file->alt_path;
137 dbox_file_unref(&src_file);
142 ret = sdbox_file_copy_attachments((struct sdbox_file *)src_file,
146 dbox_file_unref(&src_file);
157 dbox_file_unref(&src_file);