sdbox-mail.c revision d665e2948cb6fe8016706752a9e4940d64f4a61d
/* Copyright (c) 2007-2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "istream.h"
#include "str.h"
#include "index-mail.h"
#include "dbox-mail.h"
#include "sdbox-storage.h"
#include "sdbox-file.h"
#include <stdlib.h>
{
return;
}
}
{
bool deleted;
int ret;
/* already set */
return FALSE;
return FALSE;
} else {
/* mail is being saved in this transaction */
/* it doesn't have input stream yet */
return TRUE;
}
}
{
bool deleted;
return -1;
}
if (!sdbox_mail_file_set(mail)) {
return -1;
if (deleted) {
return -1;
}
}
*offset_r = 0;
return 0;
}
struct mail_vfuncs sdbox_mail_vfuncs = {
NULL,
};