raw-storage.c revision 34e9dfbce01a2807df8e2050b1cd7ae2cf014cd5
/* Copyright (c) 2007-2011 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "istream.h"
#include "index-mail.h"
#include "mail-copy.h"
#include "mailbox-list-private.h"
#include "raw-sync.h"
#include "raw-storage.h"
extern struct mail_storage raw_storage;
extern struct mailbox raw_mailbox;
struct mail_user *
const struct mail_user_settings *set)
{
struct mail_namespace *ns;
struct mail_namespace_settings *ns_set;
const char *error;
return user;
}
static struct mail_storage *raw_storage_alloc(void)
{
struct raw_storage *storage;
}
static void
struct mailbox_list_settings *set)
{
}
static struct mailbox *
{
struct raw_mailbox *mbox;
}
{
const char *path;
int fd;
}
if (fd == -1) {
"open(%s) failed: %m", path);
}
return -1;
}
}
static int
bool directory ATTR_UNUSED)
{
"Raw mailbox creation isn't supported");
return -1;
}
static int
{
"Raw mailbox update isn't supported");
return -1;
}
{
}
struct mail_storage raw_storage = {
.name = RAW_STORAGE_NAME,
.v = {
NULL,
NULL,
NULL,
NULL,
NULL,
}
};
struct mailbox raw_mailbox = {
.v = {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
};