Lines Matching defs:list
4 #include "mailbox-list-fs.h"
15 list_is_maildir_mailbox(struct mailbox_list *list, const char *dir,
68 mailbox_files = (list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) != 0;
75 maildir_path = t_strconcat(path, "/", list->set.maildir_name, NULL);
97 is_inbox_file(struct mailbox_list *list, const char *path, const char *fname)
104 if (mailbox_list_get_path(list, "INBOX",
111 int fs_list_get_mailbox_flags(struct mailbox_list *list,
121 if (*list->set.maildir_name != '\0' && !list->set.iter_from_index_dir) {
129 return list_is_maildir_mailbox(list, dir, fname, type, flags_r);
139 if (!list->set.iter_from_index_dir &&
140 list->v.is_internal_name != NULL &&
141 list->v.is_internal_name(list, fname)) {
151 if ((list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) != 0) {
160 if ((list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) == 0) {
182 mailbox_list_set_critical(list, "stat(%s) failed: %m",
195 if ((list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) == 0) {
200 if (is_inbox_file(list, path, fname) &&
218 if ((list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) != 0) {
227 if (list->v.is_internal_name == NULL || list->set.iter_from_index_dir) {