acl-shared-storage.c revision c19f0dd4d274c15ef7b592dcc9d8c2c8c1e22abe
/* Copyright (c) 2008-2010 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"
static void
{
static struct var_expand_table static_tab[] = {
};
struct var_expand_table *tab;
struct mailbox_list_iterate_context *iter;
const struct mailbox_info *info;
const char *p, *mailbox;
/* skip ourself */
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 */
}
}
{
struct acl_lookup_dict_iter *iter;
const char *name;
/* already added, don't bother rechecking */
return 0;
}
T_BEGIN {
} T_END;
}
return acl_lookup_dict_iterate_visible_deinit(&iter);
}