pop3c-mail.c revision 9f0a996c22ebe39dcfe5cb84c8fd2f22ef5ce9d8
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2011-2012 Dovecot authors, see the included COPYING file */
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainenstatic int pop3c_mail_get_received_date(struct mail *_mail, time_t *date_r)
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen mail_storage_set_error(_mail->box->storage, MAIL_ERROR_NOTPOSSIBLE,
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen "POP3 has no received date");
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainenstatic int pop3c_mail_get_save_date(struct mail *_mail, time_t *date_r)
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen mail_storage_set_error(_mail->box->storage, MAIL_ERROR_NOTPOSSIBLE,
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen "POP3 has no save date");
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainenstatic int pop3c_mail_get_physical_size(struct mail *_mail, uoff_t *size_r)
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen struct index_mail *mail = (struct index_mail *)_mail;
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen struct pop3c_mailbox *mbox = (struct pop3c_mailbox *)_mail->box;
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen /* virtual size is already known. it's the same as our
66bcc2a2f65576211f2f55edbe61130b96287fcdTimo Sirainen (correct) physical size */
unsigned int cache_idx;
const char **value_r)
switch (field) {
case MAIL_FETCH_UIDL_BACKEND:
NULL,