raw-mail.c revision 225e82df5dd1e765f4e52b80c954558f00e5a7df
/* Copyright (c) 2007-2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream.h"
#include "index-mail.h"
#include "raw-storage.h"
#include <fcntl.h>
#include <unistd.h>
{
return mail_set_aborted(mail);
p->stats_fstat_lookup_count++;
return -1;
}
return 0;
}
{
if (raw_mail_stat(_mail) < 0)
return -1;
}
return 0;
}
{
if (raw_mail_stat(_mail) < 0)
return -1;
}
return 0;
}
{
if (raw_mail_stat(_mail) < 0)
return -1;
}
return 0;
}
static int
{
/* we can't just reference mbox->input, because
index_mail_close() expects to be able to free the stream */
}
}
static int
const char **value_r)
{
switch (field) {
case MAIL_FETCH_FROM_ENVELOPE:
return 0;
return 0;
default:
}
}
struct mail_vfuncs raw_mail_vfuncs = {
NULL,
};