Lines Matching refs:ns
112 struct mail_namespace *ns)
117 if (notify_ns->ns == ns)
122 notify_ns->ns = ns;
148 struct mail_namespace *ns, const char *name,
157 char ns_sep = mail_namespace_get_sep(ns);
159 if ((ns->flags & NAMESPACE_FLAG_INBOX_USER) != 0 &&
168 notify_ns = imap_notify_namespace_get(ctx, ns);
208 struct mail_namespace *ns;
210 for (ns = ctx->client->user->namespaces; ns != NULL; ns = ns->next) {
211 if (ns->type == MAIL_NAMESPACE_TYPE_PRIVATE) {
212 cmd_notify_add_mailbox(ctx, ns, "",
223 struct mail_namespace *ns;
229 for (ns = ctx->client->user->namespaces; ns != NULL; ns = ns->next) {
230 iter = mailbox_list_iter_init(ns->list, "*", MAILBOX_LIST_ITER_SELECT_SUBSCRIBED);
233 client_send_list_error(cmd, ns->list);
243 struct mail_namespace *ns;
246 for (ns = ctx->client->user->namespaces; ns != NULL; ns = ns->next) {
247 cmd_notify_add_mailbox(ctx, ns, "",
258 struct mail_namespace *ns;
260 ns = mail_namespace_find(ctx->client->user->namespaces, name);
261 cmd_notify_add_mailbox(ctx, ns, name, type, events);
426 mailbox_equals(cmd->client->mailbox, info->ns, info->vname))
438 box = mailbox_alloc(info->ns->list, info->vname, MAILBOX_FLAG_READONLY);
443 if (imap_status_get(cmd, info->ns, info->vname, &items, &result) < 0) {
485 iter = mailbox_list_iter_init(notify_ns->ns->list, "*",