shared-storage.c revision 3e0bae44b65f5c46989fcef3d1e07203f496327e
1c633f71ec2060e5bfa500a97f34cd881a958ecdTimo Sirainen/* Copyright (c) 2008-2012 Dovecot authors, see the included COPYING file */
009217abb57a24a4076092e8e4e165545747839eStephan Boschstatic struct mail_storage *shared_storage_alloc(void)
1c633f71ec2060e5bfa500a97f34cd881a958ecdTimo Sirainen pool = pool_alloconly_create("shared storage", 1024);
1c633f71ec2060e5bfa500a97f34cd881a958ecdTimo Sirainenshared_storage_create(struct mail_storage *_storage, struct mail_namespace *ns,
const char **error_r)
const char *driver, *p;
bool have_username;
if (p == NULL) {
if (!have_username) {
NAMESPACE_FLAG_LIST_CHILDREN)) != 0) {
const char *path;
return TRUE;
const char **_name)
int ret;
if (*p != *name)
p++; name++;
i_unreached();
domain++;
if (ret > 0)
NULL,
NULL,
NULL,
NULL,