cydir-storage.c revision 857c471c13ca215f4be9dd4b336b742b8d434e31
/* Copyright (c) 2007-2016 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "mail-copy.h"
#include "index-mail.h"
#include "mailbox-list-private.h"
#include "cydir-sync.h"
#include "cydir-storage.h"
extern struct mail_storage cydir_storage;
extern struct mailbox cydir_mailbox;
static struct mail_storage *cydir_storage_alloc(void)
{
struct cydir_storage *storage;
}
static void
struct mailbox_list_settings *set)
{
}
static struct mailbox *
{
struct cydir_mailbox *mbox;
/* cydir can't work without index files */
}
{
/* exists, open it */
return -1;
return -1;
} else {
box_path);
return -1;
}
return -1;
return 0;
}
static int
bool directory)
{
int ret;
return ret;
}
{
else
}
struct mail_storage cydir_storage = {
.v = {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
};
struct mailbox cydir_mailbox = {
.v = {
NULL,
NULL,
NULL,
}
};