/* Copyright (c) 2007-2018 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 -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
struct message_size *hdr_size,
{
/* 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;
case MAIL_FETCH_STORAGE_ID:
return 0;
default:
}
}
NULL,
};