Lines Matching defs:root
108 const char *root, *src;
110 root = mailbox_list_get_root_forced(ctx->ctx.list,
112 src = t_strconcat(root, "/", storage_name, NULL);
117 str_append(dest, root);
129 /* regular root */
132 /* full_filesystem_access=yes "/" root */
244 const char *root, *path = storage_name;
249 b) mailbox is under our mail root, we changed
256 /* non-absolute path. add the mailbox root dir as prefix. */
261 if (!mailbox_list_get_root_path(ctx->ctx.list, type, &root))
265 /* append "mailboxes/" to the index root */
266 root = t_strconcat(root, "/",
269 path = *path == '\0' ? root :
270 t_strconcat(root, "/", path, NULL);
288 /* no mailbox root dir */
295 /* root) user gave invalid hierarchy, ignore
404 const char *p, *last, *root, *prefix_vname;
410 /* get the root dirs for all the patterns */
417 we'll use root="" for this.
420 where we could optimize with root=prefix, but
437 root = "/";
445 root = "";
455 root=INBOX. (e.g. LIST "" shared/user/box has to
458 root = "";
460 root = mailbox_list_get_storage_name(ctx->ctx.list,
464 if (*root == '/') {
467 } else if (*root == '~') {
474 root = p_strdup(ctx->ctx.pool, root);
475 array_append(&ctx->roots, &root, 1);
477 /* sort the root dirs so that /foo is before /foo/bar */