virtual-storage.c revision ce930f99c6a78f2c74b00df1ad2337095978a9db
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/* Copyright (c) 2008-2014 Dovecot authors, see the included COPYING file */
eb5ea3f4513ff2999892b8d904551f58b74f65f9Timo Sirainenextern struct virtual_mailbox_vfuncs virtual_mailbox_vfuncs;
90b50df264b57e0f63cd8cc6aea1ce3bb7cf5f64Timo Sirainenstruct virtual_storage_module virtual_storage_module =
90b50df264b57e0f63cd8cc6aea1ce3bb7cf5f64Timo Sirainen MODULE_CONTEXT_INIT(&mail_storage_module_register);
90b50df264b57e0f63cd8cc6aea1ce3bb7cf5f64Timo Sirainenstatic bool ns_is_visible(struct mail_namespace *ns)
const char **error_r)
const char *value;
struct virtual_backend_box *
unsigned int i, count;
for (i = 0; i < count; i++) {
return bboxes[i];
return NULL;
struct virtual_backend_box *
unsigned int i, count;
if (mailbox_id == 0)
return NULL;
for (i = 0; i < count; i++) {
return bboxes[i];
return NULL;
const char *name)
const char *const *names;
unsigned int i, count;
for (i = 0; i < count; i++) {
return TRUE;
return FALSE;
const char *str;
const char *mailbox;
unsigned int i, count;
int ret;
for (i = 0; i < count; ) {
if (ret <= 0) {
if (ret < 0)
if (i == count)
static struct mailbox *
return FALSE;
return FALSE;
return TRUE;
return TRUE;
return TRUE;
return FALSE;
unsigned int i, count;
for (i = 0; i < count; i++) {
int ret = 0;
if (ret == 0) {
if (ret < 0) {
sizeof(struct virtual_mail_index_record),
sizeof(uint32_t));
unsigned int i, count;
bool opened;
for (i = 0; i < count; i++) {
/* FIXME: if mailbox_list_index=yes, use mailbox-list-notify.h API
unsigned int n, i, count;
unsigned int n, i, count;
bool only_with_msgs)
unsigned int i, count;
for (i = 0; i < count; i++) {
return TRUE;
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,