Searched defs:new_ns (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/imap/
H A Dcmd-rename.c9 struct mail_namespace *old_ns, *new_ns; local
21 new_ns = client_find_namespace(cmd, &newname);
22 if (new_ns == NULL)
25 if (old_ns == new_ns) {
39 new_box = mailbox_alloc(new_ns->list, newname, 0);
/dovecot/src/plugins/acl/
H A Dacl-shared-storage.c38 struct mail_namespace *new_ns = ns; local
63 if (shared_storage_get_namespace(&new_ns, &mailbox) < 0)
67 iter = mailbox_list_iter_init(new_ns->list, "*",
73 if (info == NULL && !acl_ns_prefix_exists(new_ns)) {
75 mail_namespace_destroy(new_ns);
/dovecot/src/lib-storage/index/shared/
H A Dshared-list.c254 struct mail_namespace *old_ns = oldlist->ns, *new_ns = newlist->ns; local
257 shared_storage_get_namespace(&new_ns, newname) < 0)
259 if (old_ns != new_ns) {
H A Dshared-storage.c140 struct mail_namespace *new_ns, *ns = *_ns; local
290 new_ns = i_new(struct mail_namespace, 1);
291 new_ns->refcount = 1;
292 new_ns->type = MAIL_NAMESPACE_TYPE_SHARED;
293 new_ns->user = user;
294 new_ns->prefix = i_strdup(str_c(prefix));
295 new_ns->owner = owner;
296 new_ns->flags = (NAMESPACE_FLAG_SUBSCRIPTIONS & ns->flags) |
299 new_ns->user_set = user->set;
300 new_ns
[all...]

Completed in 1558 milliseconds