/* Copyright (c) 2008-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "ioloop.h"
#include "str.h"
#include "var-expand.h"
#include "acl-plugin.h"
#include "acl-lookup-dict.h"
#include "acl-shared-storage.h"
#include "index/shared/shared-storage.h"
{
const char *vname;
bool ret;
return FALSE;
mailbox_free(&box);
return ret;
}
static void
{
/* skip ourself */
return;
}
};
i_error("Failed to expand namespace prefix %s: %s",
return;
}
return;
/* check if there are any mailboxes really visible to us */
break;
(void)mailbox_list_iter_deinit(&iter);
/* no visible mailboxes, remove the namespace */
}
}
{
const char *name;
/* already added, don't bother rechecking */
return 0;
}
T_BEGIN {
} T_END;
}
return acl_lookup_dict_iterate_visible_deinit(&iter);
}