mail-namespace.h revision c58906589cafc32df4c04ffbef933baadd3f2276
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainen /* FIXME: we should support multiple storages in one namespace */
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenint mail_namespaces_init(pool_t pool, const char *user,
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenstruct mail_namespace *mail_namespaces_init_empty(pool_t pool);
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenvoid mail_namespaces_deinit(struct mail_namespace **namespaces);
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenconst char *mail_namespace_fix_sep(struct mail_namespace *ns, const char *name);
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenmail_namespace_find(struct mail_namespace *namespaces, const char **mailbox);
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenmail_namespace_find_visible(struct mail_namespace *namespaces,
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainen const char **mailbox);
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainenmail_namespace_find_prefix(struct mail_namespace *namespaces,
f877ee033a0737100c2f661a7ca4c559ea2ddb8aTimo Sirainen const char *prefix);