dbox-storage.c revision dca6d617a23e3f93af3b8df59acb46478179fe55
/* Copyright (c) 2007-2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "mkdir-parents.h"
#include "unlink-old-files.h"
#include "mailbox-uidvalidity.h"
#include "mailbox-list-private.h"
#include "index-storage.h"
#include "dbox-storage.h"
#include <stdio.h>
struct mailbox_list_settings *set)
{
}
{
const char *path;
}
{
else {
}
}
static bool
{
return FALSE;
/* check once in a while if there are temp files to clean up */
/* there haven't been any changes to this directory since we
last checked it. */
/* time to scan */
const char *prefix =
}
return TRUE;
}
const struct mailbox_update *update)
{
const char *origin;
/* create indexes immediately with the dbox header */
return -1;
return -1;
}
return -1;
}
return 0;
}
{
/* INBOX always exists, create it */
return -1;
}
return -1;
return -1;
} else {
return -1;
}
}
{
if (directory &&
return 0;
return -1;
return -1;
return 0;
}