/* Copyright (c) 2006-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "imap-match.h"
#include "mailbox-list-private.h"
struct noop_list_iterate_context {
};
extern struct mailbox_list none_mailbox_list;
{
return list;
}
{
}
{
return '/';
}
static int
const char *name ATTR_UNUSED,
const char **path_r ATTR_UNUSED)
{
return 0;
}
static const char *
bool global ATTR_UNUSED)
{
return GLOBAL_TEMP_PREFIX;
}
static int
{
return 0;
}
const char *name ATTR_UNUSED,
bool set ATTR_UNUSED)
{
return -1;
}
const char *name ATTR_UNUSED)
{
return -1;
}
const char *name ATTR_UNUSED)
{
return -1;
}
static int
const char *oldname ATTR_UNUSED,
const char *newname ATTR_UNUSED)
{
"Not supported");
return -1;
}
static struct mailbox_list_iterate_context *
const char *const *patterns,
enum mailbox_list_iter_flags flags)
{
}
}
static int
{
return 0;
}
static const struct mailbox_info *
{
(struct noop_list_iterate_context *)_ctx;
if (ctx->list_inbox) {
return &ctx->inbox_info;
}
return NULL;
}
static int
const char *dir ATTR_UNUSED,
const char *fname ATTR_UNUSED,
enum mailbox_info_flags *flags)
{
return 0;
}
.v = {
.alloc = none_list_alloc,
}
};