Searched refs:alt_path (Results 1 - 8 of 8) sorted by relevance
/dovecot/src/lib-storage/index/dbox-common/ |
H A D | dbox-storage.c | 33 dbox_alt_path_has_changed(const char *root_dir, const char *alt_path, argument 40 return alt_path != NULL; 45 if (alt_path == NULL) { 49 } else if (strcmp(linkpath, alt_path) != 0) { 58 "but currently ALT=%s", root_dir, linkpath, alt_path); 66 const char *root_dir, *alt_symlink_path, *alt_path, *alt_path2; local 72 &alt_path); 75 if (!dbox_alt_path_has_changed(root_dir, alt_path, alt_path2, 81 if (alt_path != NULL) { 82 int ret = symlink(alt_path, alt_symlink_pat 320 const char *alt_path; local 383 const char *alt_path; local [all...] |
H A D | dbox-file.h | 106 char *primary_path, *alt_path; member in struct:dbox_file 135 #define dbox_file_is_in_alt(file) ((file)->cur_path == (file)->alt_path)
|
H A D | dbox-file.c | 80 i_free(file->alt_path); 190 if (file->alt_path == NULL || alt || !try_altpath) { 196 path = file->alt_path; 266 if (file->alt_path == NULL || alt) { 272 path = file->alt_path; 785 if (file->alt_path == NULL || alt) { 791 path = file->alt_path;
|
/dovecot/src/lib-storage/index/dbox-single/ |
H A D | sdbox-sync-rebuild.c | 89 file->cur_path = file->alt_path; 153 const char *path, *alt_path; local 158 &alt_path) < 0) 165 } else if (alt_path != NULL) { 166 if (sdbox_sync_index_rebuild_dir(ctx, alt_path, FALSE) < 0) { 169 alt_path);
|
H A D | sdbox-file.h | 38 int sdbox_file_move(struct dbox_file *file, bool alt_path);
|
H A D | sdbox-file.c | 21 const char *alt_path; local 24 i_free(file->file.alt_path); 30 &alt_path) > 0) 31 file->file.alt_path = i_strdup_printf("%s/%s", alt_path, fname); 290 int sdbox_file_move(struct dbox_file *file, bool alt_path) argument 302 if (dbox_file_is_in_alt(file) == alt_path) 304 if (file->alt_path == NULL) 312 dest_path = !alt_path ? file->primary_path : file->alt_path; [all...] |
H A D | sdbox-copy.c | 117 if (ret < 0 && errno == ENOENT && src_file->alt_path != NULL) { 118 src_path = src_file->alt_path; 119 if (dest_file->alt_path != NULL) { 120 dest_path = dest_file->cur_path = dest_file->alt_path;
|
/dovecot/src/lib-storage/index/dbox-multi/ |
H A D | mdbox-file.c | 90 i_free(file->file.alt_path); 94 file->file.alt_path = 99 file->file.alt_path; 166 file->file.cur_path = file->file.alt_path; 318 path != file->alt_path ?
|
Completed in 21 milliseconds