raw-mail.c revision ea4f28398a0e4fb46be074307d512925c1fe7fc1
/* Copyright (c) 2007-2008 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 -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;
default:
}
}
struct mail_vfuncs raw_mail_vfuncs = {
};