view src/lib-storage/index/index-pop3-uidl.h @ 21604:fb8ef6e2c2fe

lib-storage: Add mail_sort_max_read_count setting. This controls how many slow mail accesses sorting can perform before it fails: a NO [LIMIT] Requested sort would have taken too long The SORT reply is still returned, but it's likely not correct.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 17 Feb 2017 19:07:53 +0200
parents 53ba3feb039a
children
line wrap: on
line source

#ifndef INDEX_POP3_H
#define INDEX_POP3_H

struct mail_index_transaction;
struct mail;
struct mailbox;
struct mailbox_transaction_context;

void index_pop3_uidl_set_max_uid(struct mailbox *box,
				 struct mail_index_transaction *trans,
				 uint32_t uid);
bool index_pop3_uidl_can_exist(struct mail *mail);
void index_pop3_uidl_update_exists(struct mail *mail, bool exists);
void index_pop3_uidl_update_exists_finish(struct mailbox_transaction_context *trans);

#endif